StaticcomputeComputes snap result and visual guides for the current interaction state.
Context including diagram access, moving nodes, and pointer deltas.
Snap result with guides, or undefined when no valid guide context exists.
StaticapplyApplies a pending snap result to the provided nodes at pointer-up.
Context containing pending snap data and mutation target nodes.
true when a snap delta was applied; otherwise false.
Stateless helpers for axis-aware nearest/snap calculations. Rendering concerns are intentionally left to views.