Skip to main content

Module node

Module node 

Source
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§

AsyncNode
AsyncNode - Simple async node wrapper
FunctionNode
Function-based node implementation
NodeConfig
Node configuration
SentinelNode
Placeholder node for entry/exit points
SyncNode
Simple sync node wrapper

Traits§

AsyncFn
AsyncFn trait for simpler async node creation
GraphNode
Graph Node trait

Type Aliases§

AsyncNodeFn
Async node function type (boxed future)
NodeResult
Node execution result (alias for clarity)