TopologyDiagram.number_of_edges

TopologyDiagram.number_of_edges()[source]

Compute the number of edges of the graph.

Returns:

int – The number of edges.