dgl.DGLGraph.add_edge

DGLGraph.add_edge(u, v, data=None, etype=None)

Add one edge to the graph.

DEPRECATED: please use add_edges.