getEdgeCount method
Returns the edge count of the graph.
Implementation
int getEdgeCount() {
int count = 0;
for ( final edges in _edges.values ) {
count += edges.length;
}
return count;
}
Returns the edge count of the graph.
int getEdgeCount() {
int count = 0;
for ( final edges in _edges.values ) {
count += edges.length;
}
return count;
}