DraggingActionState
since v0.8.0State tracking a drag operation in progress.
Properties
Section titled “Properties”accumulatedDeltas
Section titled “accumulatedDeltas”accumulatedDeltas:
Map<string,Point>
Accumulated deltas per node that haven’t yet resulted in a snap movement. Key is node ID, value is the accumulated delta that hasn’t been applied due to snapping.
modifiers
Section titled “modifiers”modifiers:
InputModifiers
Input modifiers (e.g., Ctrl, Shift) active during the drag.
movementStarted
Section titled “movementStarted”movementStarted:
boolean
Whether the pointer has moved beyond the move threshold, indicating an actual drag.
false when the drag state is first created (on pointer down), true once movement exceeds the threshold.
nodeIds
Section titled “nodeIds”nodeIds:
string[]
IDs of all nodes participating in the drag (selected + children, filtered by draggable).