Skip to main content

Home > @jsplumbtoolkit/core > Vertex > getEdges

Vertex.getEdges() method#

Gets all Edges where this Vertex is either the source or the target of the Edge. Note that this does *not* retrieve Edges on any Ports associated with this Vertex - for that,

Signature:

getEdges(params?: {        filter: (e: Edge) => boolean;    }): Array<Edge>;

Parameters#

ParameterTypeDescription
params{ filter: (e: Edge) => boolean; }

Returns:

Array<Edge>

List of matching edges.