dgl.DGLGraph.number_of_edges

DGLGraph.number_of_edges()[source]

Return the number of edges in the graph.

Returns:The number of edges
Return type:int