mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Task 13 onMove auto-expand: - Skip when event === null so React Flow's programmatic moves (fitView at layer entry, zoomTo from search) don't cascade-expand every container the moment the layer paints. - Track previous zoom; only fire when zoom actually increased. Pans and zoom-outs are now no-ops, so a user who manually collapses a container while zoomed in can keep it that way. Task 12 inflated edge ids: - Append index suffix so parallel edges with identical (source, target, type) — which the schema doesn't disallow — don't collide in React Flow's edge map. Other Task 12 concerns (per-container Stage 2 cancellation, O(K·E) edge bucket pre-pass, extent:"parent" clipping pre-Task-15) are known trade-offs documented in the plan; deferring to follow-ups. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>