Skip to content

Commit 6c040bc

Browse files
fix(graph): skip inward convergence during drag to preserve bounded follower pull
applyGalaxyInwardConvergence runs after applyDraggedNodeGravity and projects all community centers radially toward the black hole. This overwhelms the bounded ≤2-unit drag displacement on follower nodes, causing unlinked bodies to move away from the drag direction. During a drag gesture (120ms), convergence is imperceptible and should not compete with the user's intentional pointer movement.
1 parent 132b30f commit 6c040bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engraphis/dashboard_assets/engraphis-graph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5679,7 +5679,7 @@
56795679
undo the monotone black-hole fall during the same slice. Pointer-owned systems remain
56805680
excluded by applyGalaxyInwardConvergence, and all strict painted boundaries still close
56815681
after this translation. */
5682-
const convergence = convergenceAnchor
5682+
const convergence = convergenceAnchor && !opts.dragSource
56835683
? applyGalaxyInwardConvergence(bodies, convergenceAnchor, initialRadii, opts)
56845684
: { applied: 0, outwardCandidates: 0, overrides: 0, factor: 1 };
56855685
/* Resolve at the carrier-frame level after local/link/convergence corrections. One

0 commit comments

Comments
 (0)