graphscope.nx.classes.function.number_of_nodes

graphscope.nx.classes.function.number_of_nodes(G)[source]

Returns the number of nodes in the graph.