Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > selectAllEdges

Surface.selectAllEdges() method

Selects a set of Edges. Parameters are the same as for selectEdges; the difference here is that when you're working with Vertices, this method will return all of the vertex's Edges as well as those of all the Ports registered on the Vertex.

Signature:

selectAllEdges(params: {
source?: string | Element | Vertex;
target?: string | Element | Vertex;
element?: string | Element | Vertex;
}): ConnectionSelection;

Parameters

ParameterTypeDescription
params{ source?: string | Element | Vertex; target?: string | Element | Vertex; element?: string | Element | Vertex; }Selection parameters

Returns:

ConnectionSelection