dgl.DGLGraph.number_of_nodes

DGLGraph.number_of_nodes(ntype=None)[source]

Alias of num_nodes()