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.
Properties
Section titled “Properties”flowId
Section titled “flowId”flowId:
string
Defined in: packages/core/src/v1/graph.ts:58
The sub-flow’s id, whether it was inlined or named by reference.
graph?
Section titled “graph?”
optionalgraph:FlowGraph
Defined in: packages/core/src/v1/graph.ts:62
The sub-flow drawn in place. Absent exactly when opaque says why.
opaque?
Section titled “opaque?”
optionalopaque:"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.
repeat?
Section titled “repeat?”
optionalrepeat:Expr
Defined in: packages/core/src/v1/graph.ts:60
Present with repeat: the group runs once per item in this expression.