| 1 | initial version |
The range $[0,1,2]$ is obtained by range(0,3) or range(3).
Your pos_dict was too small because you wrote range(0,2) instead, which explains why only a subset of the vertices were fixed.
You can also use set_pos on the graph like this:
sage: G.set_pos(pos_dict)
sage: G.show(vertex_size=1000)

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.