Expand description
Compiled, validated, immutable graph.
A Graph is built once from a Workflow document and shared (via
Arc) by every run and every container frame. Runtime state (node and
edge status) lives in the engine’s per-frame state, never in the graph, so
a graph can execute any number of runs concurrently.
Each node belongs to exactly one scope: the root scope, or the body of a container node (iteration / loop). Edges never cross scopes, and every scope must be acyclic and have exactly one entry node.
Structs§
- Graph
- An executable graph.
- Graph
Edge - A compiled edge.
- Graph
Node - A compiled node.
- Scope
- One scope: the root graph or a container body.
Enums§
- Graph
Error - Graph construction / validation error.
Constants§
- FAIL_
BRANCH - Handle taken when a node with the
fail-branchstrategy fails. - SOURCE_
HANDLE - Default edge handle for non-branch nodes.
Type Aliases§
- EdgeIx
- Index of an edge in
Graph::edges. - NodeIx
- Index of a node in
Graph::nodes.