Concrete
data
Component

Flow diagram

Routed node and edge diagram for agent plans, systems, memory flows, and tool pipelines.

Flow diagram is a deterministic SVG map for explainers and product inspectors. It exposes selection and local node movement without owning graph persistence.

Agent execution flow

A compact map of context, planning, tool execution, and final synthesis.

retrieveshapeexecutesynthesizePromptuser inputContextmemory + filesPlantyped stepsToolssafe actionsAnswerfinal response
contexttool pathselected
Playground

Props in the URL.

Controls update query params directly. Complex slots use curated fixtures so component states stay deterministic, linkable, and screenshot-ready.

Loading playground.
States

Rendered matrix.

Every state maps to the same component render route through the `state` query param.

Agent execution flow

A compact map of context, planning, tool execution, and final synthesis.

retrieveshapeexecutesynthesizePromptuser inputContextmemory + filesPlantyped stepsToolssafe actionsAnswerfinal response
contexttool pathselected
Default

Routed node graph with muted edges.

/render state

Agent execution flow

A compact map of context, planning, tool execution, and final synthesis.

retrieveshapeexecutesynthesizePromptuser inputContextmemory + filesPlantyped stepsToolssafe actionsAnswerfinal response
contexttool pathselected
Selected

Selected node and edge states.

/render state

Agent execution flow

A compact map of context, planning, tool execution, and final synthesis.

retrieveshapeexecutesynthesizePromptuser inputContextmemory + filesPlantyped stepsToolssafe actionsAnswerfinal response
contexttool pathselected
Interactive

Controls and draggable nodes enabled.

/render state

Agent execution flow

A compact map of context, planning, tool execution, and final synthesis.

contexttool pathselected
Empty

Empty graph state.

/render state
Props

Public contract.

NameTypeDefaultDescription
flow *FlowDiagramFlow-Validated node and edge graph.
title *string-Diagram title.
descriptionstring-Muted supporting copy.
selectedNodeIdstring-Highlights one node.
selectedEdgeIdstring-Highlights one routed edge.
controlsbooleanfalseShows zoom controls.
draggableNodesbooleanfalseAllows local node dragging.
pannablebooleanfalseReserved for product-level pan orchestration.
zoomablebooleanfalseReserved for product-level zoom orchestration.
legendreadonly DataLegendItem[][]Optional legend indicators.
widthnumber760SVG viewBox width.
heightnumber320SVG viewBox height.
onNodeSelect(nodeId: string) => void-Node click callback.
onNodeMove(nodeId: string, position: Point) => void-Drag position callback.
onViewportChange(viewport: DiagramViewport) => void-Receives pan and zoom changes.