Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > eachVertex

JsPlumbToolkit.eachVertex() method#

Combines eachNode and eachGroup into one method.

Signature:

eachVertex(fn: (idx: number, vertex: Vertex) => void): void;

Parameters#

ParameterTypeDescription
fn(idx: number, vertex: Vertex) => void

Returns:

void