NetworkX

Previous topic

networkx.MultiGraph.selfloop_edges

Next topic

networkx.MultiGraph.number_of_nodes

networkx.MultiGraph.order

MultiGraph.order()

Return the number of nodes in the graph.

Returns:

nnodes : int

The number of nodes in the graph.