Home > @jsplumbtoolkit/core > Path > getVertexCount
#
Path.getVertexCount() methodCounts 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