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
Currently, when using add_edge(["b_2", "c"], "d") to define that node d should only run after bothb_2 and c complete, the visual representation shows two independent arrows: b_2 → d and c → d.
This creates confusion because it visually resembles two independent triggers (OR behavior), suggesting that d might run after eitherb_2 or c, even though the actual behavior is correct (AND-join).
Why it matters
This can easily mislead users who rely on the diagram to understand execution logic.
It is especially problematic when explaining workflows to teams, debugging or onboarding new engineers.
Visuals should match execution semantics.
Suggestion
Consider one of the following enhancements:
Visual join indicator:
Use an intermediate visual "join" node or a converging edge to show that d depends on both parents together.
Annotated labels:
Allow an option to render small notes like d (waits for: b_2, c) directly in the graph.
Strict mode drawing:
Introduce a flag in graph.get_graph().draw() or draw_ascii() like strict=True, which shows compound dependencies more clearly.
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.
-
Problem
Currently, when using
add_edge(["b_2", "c"], "d")
to define that noded
should only run after bothb_2
andc
complete, the visual representation shows two independent arrows:b_2 → d
andc → d
.This creates confusion because it visually resembles two independent triggers (OR behavior), suggesting that
d
might run after eitherb_2
orc
, even though the actual behavior is correct (AND-join).Why it matters
Suggestion
Consider one of the following enhancements:
Visual join indicator:
Use an intermediate visual "join" node or a converging edge to show that
d
depends on both parents together.Annotated labels:
Allow an option to render small notes like
d (waits for: b_2, c)
directly in the graph.Strict mode drawing:
Introduce a flag in
graph.get_graph().draw()
ordraw_ascii()
likestrict=True
, which shows compound dependencies more clearly.Example
Given:
Beta Was this translation helpful? Give feedback.
All reactions