Skip to main content

SurfaceVertexAddedParams

Payload for a node:added or group:added event from the Surface.

Extended by​

Properties​

el​

el: BrowserElement

DOM element representing the vertex


id​

id: string

ID of the vertex that was added


pos?​

optional pos: PointXY

Optional position the vertex was added at.


size?​

optional size: Size

can be set if not currently bulk loading.


vertex​

vertex: Node | Group

Vertex that was added