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]