Skip to main content

Module graph

Module graph 

Source
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.
GraphEdge
A compiled edge.
GraphNode
A compiled node.
Scope
One scope: the root graph or a container body.

Enums§

GraphError
Graph construction / validation error.

Constants§

FAIL_BRANCH
Handle taken when a node with the fail-branch strategy 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.