graph_editor renumbers nodes?

10 views
Skip to first unread message

YL

unread,
Jul 26, 2016, 12:03:53 PM7/26/16
to sage-support
Hello, When I use graph_editor and save the graph it renumber the graph nodes staring at node 0. I do not like this. Is there an option, or short of renumbering each node can you increase each node number by n?  thanks YL

g = Graph({3:[4],4:[5]});g
graph_editor()
show(g)

I want 3-4-5
not
0-1-2

Reply all
Reply to author
Forward
0 new messages