screenToGraph property
Converts a screen position to graph coordinates.
When provided, enables absolute positioning mode where the element position is calculated directly from the pointer's graph position. This prevents offset accumulation issues that can occur with delta-based positioning.
Example:
screenToGraph: (screenPos) => controller.screenToGraph(screenPos).offset,
Implementation
final Offset Function(Offset screenPosition)? screenToGraph;