1 | initial version |
You might want to adjust the spacing or label size with the figsize option:
G.show(figsize=[10,10],pos=dict([(v,v) for v in G.vertices()]))
or store the positions as a property of the graph with
G.set_pos(dict([(v,v) for v in G.vertices()]))
G.plot()