Skip to main content

Module edge

Module edge 

Source
Expand description

Edge definition for LangGraph

Edges define transitions between nodes. They can be fixed (always go to the same target) or conditional (route based on state).

Structs§

AsyncFunctionRouter
Async function-based conditional router
FunctionRouter
Function-based conditional router

Enums§

EdgeTarget
Edge target specification
GraphEdge
Graph Edge enum

Constants§

ROUTE_CONTINUE
Common routing keys
ROUTE_END
Routing key meaning “end execution”.
ROUTE_ERROR
Routing key meaning “error occurred”.

Traits§

ConditionalEdge
Conditional routing function trait