Ask Your Question

Revision history [back]

click to hide/show revision 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()]))