Core ApiUIDragConstrainFunctionOn this pageDragConstrainFunction DragConstrainFunction<E> = (desiredLoc, dragEl, modelObject, size, currentLoc, e) => PointXY Defines a function that can constrain drag. Type Parameters E E Parameters desiredLoc PointXY dragEl E modelObject Node | Group size Size currentLoc PointXY e MouseEvent Returns PointXY