Type Alias DragConstraint

DragConstraint: (([x, y]: [number, number], diagram: Diagram) => [number, number])