Skip to main content

DropTargetInfo

DropTargetInfo = object

When a new vertex was dropped onto an existing vertex, the onVertexAdded callback is passed an object of this type to describe the vertex onto which the new vertex was dropped.

Properties​

pos​

pos: PointXY

Position the existing vertex is located at


size​

size: Size

Size of the existing vertex


vertex​

vertex: Node | Group

The vertex onto which a new vertex was dropped