Langgraph – Edges

Langgraph – Edges

Edges define how the logic is routed and how the graph decides to stop. This is a big part of how your agents work and how different nodes communicate with each other. There are a few key types of edges:

  • Normal Edges: Go directly from one node to the next
  • Conditional Edges: Call a function to determine which node(s) to go to next
  • Entry Point: Which node to call first when user input arrives
  • Conditional Entry Point: Call a function to determine which node(s) to call first when user input arrives

A node can have MULTIPLE outgoing edges. If a node has multiple out-going nodes, all of those destination nodes will be executed in parallel as a part of the next superstep.

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다