Commit a1d9f28
refactor: trim cascade diagram to seed + descendants subgraph
cascade() now removes non-descendant nodes from the returned Diagram,
so the graph itself defines the delete scope. This eliminates the
redundant _cascade_restrictions membership check in delete() — it
simply walks all non-alias nodes in the trimmed graph.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 32597b7 commit a1d9f28
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
383 | 392 | | |
384 | 393 | | |
385 | 394 | | |
| |||
625 | 634 | | |
626 | 635 | | |
627 | 636 | | |
628 | | - | |
| 637 | + | |
629 | 638 | | |
630 | | - | |
| 639 | + | |
631 | 640 | | |
632 | 641 | | |
633 | 642 | | |
| |||
0 commit comments