A workflow graph where steps run as data flows between them
| Name | Type | Default | Description |
|---|---|---|---|
nodes | PipelineNode[] | lead pipeline | The steps. Each node is { id, title, description?, status?, icon?, duration? }. description shows while the step waits, status replaces it once the step is done. icon is one of the built-in names or your own element. |
edges | [string, string][] | lead pipeline | Connections as [from, to] pairs of node ids. A step with several inputs waits until all of them have arrived. |
direction | "auto" | "horizontal" | "vertical" | "auto" | Auto flows left to right when there is room and top to bottom in narrow containers, where parallel steps turn into compact tiles. |
theme | "auto" | "light" | "dark" | "auto" | Auto picks light or dark nodes from the colour behind them, so it follows your site theme. |
accentColor | string | theme violet | Colour of running steps and of connections as data fills them. |
nodeColor | string | from theme | Background of the nodes. |
textColor | string | from theme | Colour of node titles and finished statuses. |
nodeWidth | number | 188 | Preferred node width in pixels. Nodes shrink to fit narrow containers. |
height | number | auto | Minimum height. The graph is centred inside it. |
radius | number | 14 | Corner radius of the nodes in pixels. |
speed | number | 1 | How fast data fills the connections between steps. |
pace | number | 1 | How long each step runs, as a multiple of its duration (1100ms unless the node sets its own). |
rest | number | 2200 | Milliseconds the finished run stays on screen before the next one starts. |
autoplay | boolean | true | Runs the pipeline while it is in view. |
loop | boolean | true | Starts a new run after each one finishes. |
beam | boolean | true | Runs a light around the border of each running step. Off shows a solid ring instead. |
grid | boolean | false | Adds a faint dot grid behind the graph, like a workflow canvas. |
interactive | boolean | true | Hovering a step highlights everything upstream and downstream of it. |
onNodeComplete | (id: string) => void | — | Called when a step finishes. |
ref | { run, play, pause } | — | Starts a fresh run or pauses the pipeline, for example from a scroll trigger. |
className | string | — | Classes for the root element. |
style | CSSProperties | — | Inline styles for the root element. |
nodesPipelineNode[]The steps. Each node is { id, title, description?, status?, icon?, duration? }. description shows while the step waits, status replaces it once the step is done. icon is one of the built-in names or your own element.
lead pipelineedges[string, string][]Connections as [from, to] pairs of node ids. A step with several inputs waits until all of them have arrived.
lead pipelinedirection"auto" | "horizontal" | "vertical"Auto flows left to right when there is room and top to bottom in narrow containers, where parallel steps turn into compact tiles.
"auto"theme"auto" | "light" | "dark"Auto picks light or dark nodes from the colour behind them, so it follows your site theme.
"auto"accentColorstringColour of running steps and of connections as data fills them.
theme violetnodeColorstringBackground of the nodes.
from themetextColorstringColour of node titles and finished statuses.
from themenodeWidthnumberPreferred node width in pixels. Nodes shrink to fit narrow containers.
188heightnumberMinimum height. The graph is centred inside it.
autoradiusnumberCorner radius of the nodes in pixels.
14speednumberHow fast data fills the connections between steps.
1pacenumberHow long each step runs, as a multiple of its duration (1100ms unless the node sets its own).
1restnumberMilliseconds the finished run stays on screen before the next one starts.
2200autoplaybooleanRuns the pipeline while it is in view.
trueloopbooleanStarts a new run after each one finishes.
truebeambooleanRuns a light around the border of each running step. Off shows a solid ring instead.
truegridbooleanAdds a faint dot grid behind the graph, like a workflow canvas.
falseinteractivebooleanHovering a step highlights everything upstream and downstream of it.
trueonNodeComplete(id: string) => voidCalled when a step finishes.
—ref{ run, play, pause }Starts a fresh run or pauses the pipeline, for example from a scroll trigger.
—classNamestringClasses for the root element.
—styleCSSPropertiesInline styles for the root element.
—