NetworkX

Previous topic

networkx.MultiDiGraph.has_edge

Next topic

networkx.MultiDiGraph.number_of_nodes

networkx.MultiDiGraph.order

MultiDiGraph.order()

Return the number of nodes in the graph.

Returns:

nnodes : int

The number of nodes in the graph.