dot2tex
dot2tex copied to clipboard
arrows sometimes point to the wrong direction
Please try the following example code as "direction.dot":
digraph { "a" -> "b"[len="0.3"]; "c" -> "a"[len="0.8"]; }
I rendered it like this:
neato -Txdot direction.dot | dot2tex -ftikz > direction.tex && pdflatex direction.tex
Now, the arrow from "c" to "a" correctly points to the "a" node from outside. But the arrow from "a" to "b" gets rendered incorrectly, making it point from inside of the "b" node to the edge between "a" and "b".