nodeCount property

int get nodeCount

Gets the total number of nodes in the graph.

Implementation

int get nodeCount => _nodes.length;