Interface SurfaceGroupAddedParams

Payload for a group:added event from the Surface.

interface SurfaceGroupAddedParams {
    el: BrowserElement;
    id: string;
    pos?: PointXY;
    vertex: Node | Group;
}

Hierarchy (view full)

Properties

Properties

DOM element representing the vertex

id: string

ID of the vertex that was added

pos?: PointXY

Optional position the vertex was added at.

vertex: Node | Group

Vertex that was added

Version :