# dgl.DGLGraph.number_of_nodes¶

DGLGraph.number_of_nodes()

Return the number of nodes in the graph.

Returns: The number of nodes int