Skip to main content

Home > @jsplumbtoolkit/browser-ui > Node > getDirectEdges

Node.getDirectEdges() method

Gets all Edges directly connected to this Vertex, ie. not to one of the Ports on the Vertex. This is an alias for getEdges.

Signature:

getDirectEdges(params?: {
filter: (e: Edge) => boolean;
}): Edge[];

Parameters

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

Returns:

Edge[]