Skip to content

GraphNode

Defined in: packages/core/src/v1/graph.ts:39

One node of a FlowGraph: a step, a group, or the single END node, which is there only when some edge leads to it.

optional deferred: boolean

Defined in: packages/core/src/v1/graph.ts:46

The body arrives later from the host, so there is nothing to draw inside yet.


optional group: GroupNode

Defined in: packages/core/src/v1/graph.ts:52


id: string

Defined in: packages/core/src/v1/graph.ts:40


kind: "step" | "group" | "end"

Defined in: packages/core/src/v1/graph.ts:41


optional label: string

Defined in: packages/core/src/v1/graph.ts:42


optional offOrder: boolean

Defined in: packages/core/src/v1/graph.ts:51

The step is absent from a declared order, so nothing falls through to it and it is reachable only via an explicit on.next.


optional when: Expr

Defined in: packages/core/src/v1/graph.ts:44

The step’s own reachability predicate, verbatim, for the renderer to label.