Skip to main content

VertexMoveEndParams

Payload for the node:move:end event that is fired when a node/group has just been moved.

Event Payload​

Context​

element-dragging

Type Parameters​

E​

E

Properties​

dragGroup​

dragGroup: object[]

The list of vertices that were dragged. This array will always contain at the very least information about a vertex that was dragged. If the vertex was in a drag group then all of the members of that drag group will be in this array too.

el​

el: E

element​

element: ViewportElement<E>

originalPos​

originalPos: PointXY

pos​

pos: PointXY

vertex​

vertex: Node | Group