Skip to main content

๐Ÿ‘ Define conditional edges

Edges in a LangGraph graph can be fixed or conditional. For conditional edges, we need a routing function to conditionally route the workflow to different nodes.

Run the cells under the Step 8: Define conditional edges section in the notebook to define the routing function for the one conditional edge in the graph.