SurfaceEdgeAddedParams
Payload for an edge:added event from a surface.
Properties
addedByMouse
addedByMouse:
boolean
True if the edge was added via the mouse (or touch events), false if added programmatically
connection
connection:
Connection<BrowserElement>
Connection representing the edge in the UI
edge
edge:
Edge
The edge that was added
geometry
geometry:
Geometry
Associated geometry, may be null
source
source:
Vertex
Source vertex for the new edge
target
target:
Vertex
Target vertex for the new edge