Expand description
Node definition for LangGraph
Nodes are the execution units in a graph. Each node receives the current state and returns a state update.
Structs§
- Async
Node - AsyncNode - Simple async node wrapper
- Function
Node - Function-based node implementation
- Interruptible
Node - Resume-aware node (LangGraph-style interrupt).
- Node
Config - Node configuration
- Sentinel
Node - Placeholder node for entry/exit points
- Sync
Node - Simple sync node wrapper
Constants§
- INTERRUPT_
RESUME_ KEY - Metadata key the compiled graph uses to inject the human’s decision into a
node that is being resumed after a runtime
crate::errors::GraphError::InterruptRequest. A resume-aware node reads the value under this key from itsNodeConfig.metadata.
Traits§
Type Aliases§
- Async
Node Fn - Async node function type (boxed future)
- Node
Result - Node execution result (alias for clarity)