Francis Russell wrote: > monotone-viz uses dot to lay out its graphs. Specifically, it passes the '-q > -y -s72' options to dot, but it's > only the '-y' option that's broken. I intercepted the input of dot and > created the attached test file > dot-in.dot. Running though 'dot -y' creates a dot output file with > additional position information for the > nodes and edges. Looking at the output file (attached as dot-out.dot), the > position of the edge joining the > two nodes is nowhere near the nodes. In this case, all the y-positions are > negative while the nodes themselves > are on the other side of the x-axis. >
Hi Francis, I can't say I've ever tried the -y option, but I agree that there appears to be something odd going on here. I've confirmed that the 2.20 version on lenny does not suffer from this problem. The odd thing is, the only time the problem manifests itself is when the file is output in dot format (i.e. without a -T<format> switch). When a -T option is passed the output always seems to look OK. Here's the output of -Tplain for example: Without -y ... graph 1 4.8056 0.97222 node "1f50b586d83ff72f6ddc3768e5065e27fe730049" 2.4028 0.18056 4.8194 0.36111 "1f50b586d83ff72f6ddc3768e5065e27fe730049" solid box black lightgrey node "3fef041abc1169fdd55d05530ffb754b75a4bd73" 2.4028 0.79167 4.7778 0.36111 "3fef041abc1169fdd55d05530ffb754b75a4bd73" solid box black lightgrey edge "3fef041abc1169fdd55d05530ffb754b75a4bd73" "1f50b586d83ff72f6ddc3768e5065e27fe730049" 4 2.4028 0.60499 2.4028 0.57241 2.4028 0.5377 2.4028 0.5027 solid black stop With -y ... graph 1 4.8056 0.97222 node "1f50b586d83ff72f6ddc3768e5065e27fe730049" 2.4028 0.79167 4.8194 0.36111 "1f50b586d83ff72f6ddc3768e5065e27fe730049" solid box black lightgrey node "3fef041abc1169fdd55d05530ffb754b75a4bd73" 2.4028 0.18056 4.7778 0.36111 "3fef041abc1169fdd55d05530ffb754b75a4bd73" solid box black lightgrey edge "3fef041abc1169fdd55d05530ffb754b75a4bd73" "1f50b586d83ff72f6ddc3768e5065e27fe730049" 4 2.4028 0.36723 2.4028 0.39981 2.4028 0.43452 2.4028 0.46953 solid black stop I'm not at all familiar with monotone-viz ... does it render the resulting dot file itself rather that asking dot to do it? Anyway, I'll pass your report upstream, together with the results of my investigations. Cheers, David. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org