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, action, status, source?, resultSummary?, relevance?, durationMs?, changedUnderstanding?, children? }). The optional fields render only when present — pass them for a research trace with real measurements; omit them for protocol reasoning that has none.

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?