Commit f2aee96
The sidebar anchors closed cycles the way the canvas always has
A maker↔reviewer pair — forward edge one way, guarded back-edge the
other — has no node without an inbound edge, and the sidebar's row tree
walked only from no-inbound roots: the whole cycle vanished from the
list while both loops ran. The canvas never had the bug, because
LoopGraph.startAnchors already anchors each cycle-only component at its
first node.
The sidebar now consumes startAnchors instead of keeping its own weaker
definition of "root", so the two views can never again disagree about
which loops exist. The graph-level behaviour was already pinned by
aClosedCycleIsAnchoredAtItsFirstNodeRatherThanNotAtAll.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 9751efd commit f2aee96
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
183 | 190 | | |
184 | | - | |
185 | | - | |
186 | | - | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
0 commit comments