Skip to content

AgentDecisionTree

stable

Vertical branching logic tree. Each node shows condition evaluated, agent verdict, and whether that branch was taken. Terminal nodes show final outcome.

Reasoning/Storybook ↗
import { AgentDecisionTree } from "@nodus/design-system/patterns"
Loading demo…

Props

nodesrequired
Type DecisionNode[]Default

Decision tree nodes with condition, verdict, status, and children.

showSkipped
Type booleanDefault

Render skipped branches (dimmed). Default: true.

compact
Type booleanDefault

Reduce node padding and font size.

Metadatasemanticsemantictypeborderspace
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?