networkx.Graph.has_edge
networkx.Graph.number_of_nodes
Enter search terms or a module, class or function name.
Return the number of nodes in the graph.
nnodes : int
The number of nodes in the graph.
See also
number_of_nodes, __len__