Expand description
Graph definition โ StateGraph<S> builder and validation.
A StateGraph defines the topology: nodes (async functions) and edges
(fixed or conditional transitions). Call compile() to validate the
structure and produce a CompiledGraph ready for execution.
Structsยง
- State
Graph - Declarative graph definition with typed nodes and edges.