| 1 | initial version |
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()]))
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.