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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
langgraph 0.2.16
Summary of Changes
Improved subgraph detection in nested graphs, allowing visualization to work correctly for more complex graph structures
Detailed Changes
langgraph.graph.graph.Graph
Enhanced the get_graph method to more efficiently handle nested subgraphs when the xray parameter is used
Pre-computed subgraphs at the beginning of the method instead of dynamically fetching them during edge creation, resulting in more accurate graph visualization for complex nested structures
langgraph.pregel.Pregel
Significantly improved the get_subgraphs method to detect Pregel instances in more complex configurations
Added support for discovering nested Pregel instances inside:
RunnableSequence steps
RunnableLambda dependencies
RunnableCallable function nonlocals
The improved detection allows for better visualization of complex graphs with deeply nested components