Skip to content

ReasoningTree

stable

Collapsible tree of reasoning steps with depth indicators

ReasoningInteractive/Storybook ↗
import { ReasoningTree } from "@danagraph/design-system/patterns"
Loading demo…

Props

nodesrequired
Type ReasoningNode[]Default —

Tree of reasoning nodes ({ id, source, action, resultSummary, relevance, durationMs, status, children? })

title
Type stringDefault —

Optional title above the tree

collapsed
Type booleanDefault —

Start with all nodes collapsed

onNodeSelect
Type (id: string) => voidDefault —

Callback when a node is clicked

treeSeal
Type stringDefault —

Integrity seal hash for the tree

semantictypebordersurface
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?