Home > @jsplumbtoolkit/core > 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
Parameter | Type | Description |
---|---|---|
params | { filter: (e: Edge) => boolean; } | Method parameters. |
Returns:
Edge[]