Home > @jsplumbtoolkit/core > Path > getNodeAt
Path.getNodeAt() method
Gets the Vertex at the given index in the path.
Signature:
getNodeAt(idx: number): Vertex;
Parameters
Parameter | Type | Description |
---|---|---|
idx | number | Index of the vertex to retrieve. |
Returns:
vertex at the given index, or null if no vertex exists at the given index.