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
Right now (langgraph 0.2.50), if I draw a graph with a subgraph that has conditional edges (that iterates back to the entry node of the subgraph), I get an image where __start__ and __end__ nodes of the subgraph are explicitly drawn. While I understand that there are cases where this is useful for clarity, I think it might be useful to have the option to not draw these nodes, similar to how it's currently drawn if the subgraph does not contain such conditional edges.
I want to be able to draw the graph on the right hand side without the circled nodes similar to the one on the left.
For reproducibility, the following code produces the graph in the right:
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
-
Right now (langgraph 0.2.50), if I draw a graph with a subgraph that has conditional edges (that iterates back to the entry node of the subgraph), I get an image where
__start__
and__end__
nodes of the subgraph are explicitly drawn. While I understand that there are cases where this is useful for clarity, I think it might be useful to have the option to not draw these nodes, similar to how it's currently drawn if the subgraph does not contain such conditional edges.I want to be able to draw the graph on the right hand side without the circled nodes similar to the one on the left.
For reproducibility, the following code produces the graph in the right:
If we replace
with:
in the above code, we get the graph on the left.
Beta Was this translation helpful? Give feedback.
All reactions