dgl.DGLGraph.line_graphΒΆ

DGLGraph.line_graph(backtracking=True, shared=False)[source]ΒΆ

Return the line graph of this graph.

See line_graph().