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
fix: collapse chaining for multiple collapsed diagrams
Fixed bug where A.collapse() + B.collapse() + C.collapse() only collapsed
the last diagram. The issue was:
1. _apply_collapse returned early when _explicit_nodes was empty
2. Combined diagrams lost track of which nodes came from collapsed sources
Changes:
- Remove early return when _explicit_nodes is empty
- Track explicit nodes properly through chained + operations
- Fresh non-collapsed diagrams add all nodes to explicit
- Combined diagrams only add their existing explicit nodes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments