Skip to main content

Home > @jsplumbtoolkit/core > Path > getVertexCount

Path.getVertexCount() method#

Counts the number of vertices in the Path (including the start and end nodes/groups). Note that for the purposes of this calculation, a Port is considered a vertex, as is a Group.

Signature:

getVertexCount(): number;

Returns:

number