Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > getAllEdgesFor

JsPlumbToolkit.getAllEdgesFor() method#

Gets all edges for the given Node, Port or Group.

Signature:

getAllEdgesFor(obj: Vertex, filter?: (e: Edge) => boolean): Array<Edge>;

Parameters#

ParameterTypeDescription
objVertexObject to retrieve edges for.
filter(e: Edge) => booleanOptional filter function for edge selection.

Returns:

Array<Edge>