In my Dash api I automatically generate plots with shapes like rectangles, lines and paths. And I need the user to readjust the shapes if necessary, so there is an edit button that makes them editable. My problem is that the minimum 8px drag distance defined in the MINDRAG constant does not allow the user to adjust the shape near the original node because it skips the minimum distance. Therefore, I would need to disable this function to check if the drag distance is less than MINDRAG, or to be able to reduce that distance to 1px, because 8px is too much distance to get a correct adjustment.
Attached GIF of example of the jump of the minimum distance.