Skip to main content

Home > @jsplumbtoolkit/core > Path > getEdgeCount

Path.getEdgeCount() method#

Counts the number of edges in the path. This may be zero, if the given path spec did not select a valid path in the Toolkit instance.

Signature:

getEdgeCount(): number;

Returns:

number