Skip to main content

Module graph

Module graph 

Source
Expand description

Graph module - DAG execution engine and flow semantics

Re-exports§

pub use loader::GraphLoader;
pub use loader::GraphLoaderContext;
pub use node::FunctionNode;
pub use node::LlmNode;
pub use node::Node;
pub use node::NodeState;

Modules§

loader
GraphLoader - loads graph definitions from YAML
node
Node module - units of execution in a graph
schema

Structs§

Checkpoint
Checkpoint - saved state of execution
CompiledGraph
Compiled graph - validated and ready to execute
Edge
Edge in the graph
InMemoryCheckpointStore
In-memory checkpoint store (for testing/development)
StateGraph
StateGraph - fluent builder for creating DAGs

Enums§

EdgeTarget
Target for an edge - either a specific node or END

Traits§

CheckpointStore
Checkpoint store trait