dgl.DGLGraph.number_of_src_nodes

DGLGraph.number_of_src_nodes(ntype=None)

Alias of num_src_nodes()