Skip to main content

SurfaceNodeAddedParams

Payload for a node:added event from the Surface.

Extends​

Properties​

el​

el: BrowserElement

DOM element representing the vertex

Inherited from​

SurfaceVertexAddedParams.el


id​

id: string

ID of the vertex that was added

Inherited from​

SurfaceVertexAddedParams.id


pos?​

optional pos: PointXY

Optional position the vertex was added at.

Inherited from​

SurfaceVertexAddedParams.pos


size?​

optional size: Size

can be set if not currently bulk loading.

Inherited from​

SurfaceVertexAddedParams.size


vertex​

vertex: Node | Group

Vertex that was added

Inherited from​

SurfaceVertexAddedParams.vertex