Skip to main content

Module graph

Module graph 

Source
Expand description

State Graph Traits

Defines the core graph interfaces for building and executing workflows. Inspired by LangGraph’s StateGraph API.

Structs§

StepResult
Result of a single step execution

Enums§

EdgeTarget
Edge target definition
StreamEvent
Stream event from graph execution

Constants§

END
Special node ID for the graph exit point
START
Special node ID for the graph entry point

Traits§

CompiledGraph
Compiled graph trait for execution
NodeFunc
Node function trait
StateGraph
State graph builder trait