answered 11 years ago
How about assigning the vertex itself as the position?
G=graphs.GridGraph([8,12]) G.show(pos=dict([(v,v) for v in G.vertices()]))