NetworkX

Previous topic

networkx.MultiDiGraph.number_of_edges

Next topic

networkx.MultiDiGraph.degree

Quick search

networkx.MultiDiGraph.number_of_selfloops

MultiDiGraph.number_of_selfloops()
Return the number of selfloop edges counting multiple edges.