| 1 | initial version |
Do not mix strings and numbers in the labels of your graph. Make all of them strings, for instance. Or use sage: G.vertices(sort=False)
['a', 1]
| 2 | No.2 Revision |
Do not mix strings and numbers in the labels of your graph. Make all of them strings, for instance. instance.
Or use use
sage: G.vertices(sort=False) ['a', 1]
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.