Skip to content

GroupNode

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

What a group node carries: its sub-flow drawn as a nested graph, or why it could not be.

flowId: string

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

The sub-flow’s id, whether it was inlined or named by reference.


optional graph: FlowGraph

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

The sub-flow drawn in place. Absent exactly when opaque says why.


optional opaque: "unresolved" | "cycle" | "too-deep"

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

Why the sub-flow could not be drawn. A group with no nested graph and no reason would render as an ordinary box and read as working software, so the reason is part of the data and the renderer is expected to show it.


optional repeat: Expr

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

Present with repeat: the group runs once per item in this expression.