# dgl.DGLGraph.number_of_nodes¶

DGLGraph.number_of_nodes()[source]

Return the number of nodes in the graph.

Returns: The number of nodes int