Skip to main content

Home > @jsplumbtoolkit/core > Path > getNodeAt

Path.getNodeAt() method

Gets the Vertex at the given index in the path.

Signature:

getNodeAt(idx: number): Vertex;

Parameters

ParameterTypeDescription
idxnumberIndex of the vertex to retrieve.

Returns:

Vertex

vertex at the given index, or null if no vertex exists at the given index.