You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with LangGraph to create a graph where Node D must wait until Nodes A and C are both completed before it executes. Similarly, Node E must wait until Nodes B and C are both completed before it executes. Moreover, D and E are mutually exclusive, meaning only one can execute depending on the condition evaluated in Node C (Condition1 for D and Condition2 for E). However, in my current graph setup, both D and E are triggered prematurely without waiting for the result from Node C.
How can I implement a graph structure to enforce this dependency and mutual exclusivity in LangGraph?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with LangGraph to create a graph where Node D must wait until Nodes A and C are both completed before it executes. Similarly, Node E must wait until Nodes B and C are both completed before it executes. Moreover, D and E are mutually exclusive, meaning only one can execute depending on the condition evaluated in Node C (Condition1 for D and Condition2 for E). However, in my current graph setup, both D and E are triggered prematurely without waiting for the result from Node C.
How can I implement a graph structure to enforce this dependency and mutual exclusivity in LangGraph?

Beta Was this translation helpful? Give feedback.
All reactions