# Revision history [back]

### Line graph of a given graph

I tried this code in sage. But in the output the vertex labelling of the desired line graph gets overlapped and hece the graph is not clearly visible. Can I improve the code so that the line graph is clearly visible without overlapping.

G=graphs.EmptyGraph()

G.show()

h = G.line_graph()

h.show()

 2 None kcrisman 11857 ●36 ●119 ●237

### Line graph of a given graph

I tried this code in sage. But in the output the vertex labelling of the desired line graph gets overlapped and hece the graph is not clearly visible. Can I improve the code so that the line graph is clearly visible without overlapping.

G=graphs.EmptyGraph()

G=graphs.EmptyGraph()