Positioning vertex locations

33 views
Skip to first unread message

Moon Hwang

unread,
Jan 20, 2011, 1:04:00 PM1/20/11
to ruby-graphviz
Hi,

I am wondering if there is a way to specify the location of the center
of each node.
I would explain Traveling Salesmen Problem (TSP) in which node
representation cities and each city are positioned in their x,y
location.
Before giving a tour which is a sequence of visiting all of cities,
there is no arc in this graph.

After computing a tour, we can draw the sequence of visits using
directed arcs but the node location should be still the same as
before.

Can we draw two cases: before solving, and after solve this TSP
instance?

Moon
Reply all
Reply to author
Forward
0 new messages