NetworkX

Previous topic

networkx.Graph.selfloop_edges

Next topic

networkx.Graph.number_of_nodes

Quick search

networkx.Graph.order

Graph.order()

Return the number of nodes.