pointerTracking property

PointerTracking pointerTracking
final

How the element tracks the pointer during drag operations.

  • PointerTracking.free: Element tracks pointer everywhere, even outside bounds. Use for connections.
  • PointerTracking.anchored: Element anchors at boundary when pointer exits, snaps back on return. Use for nodes/annotations.

Defaults to PointerTracking.anchored.

Implementation

final PointerTracking pointerTracking;