Title: neato -n2 option changes completely the pos field
Submitter: Adam Podhorski
Date: Mon Jan 31 06:52:45 2005
neato graph-bug.txt > graph-bug.dot
neato -n2 graph-bug.dot > graph-bug-out.dot
graph-bug.dot and graph-bug-out shoud be the same.dot, but they are not.
Input file: b620a.dot
Output file: b620.dot
This makes impossible to do the graphical output
after some manual retouch to the automatic layout.
[erg] There are 2 problems here. First, to maintain the correct
scale, the -s option is necessary. Second, even with -n2 -s, neato
translates the drawing towards the origin. To get back the original,
it suffices to compute the resulting translation of one node, and
apply that to all.
The -s will probably never change. Ensuring non-translation should be
added at some time.