Ask Your Question

Revision history [back]

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

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]