dot2tex icon indicating copy to clipboard operation
dot2tex copied to clipboard

arrows sometimes point to the wrong direction

Open zeuner opened this issue 4 years ago • 2 comments

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".

zeuner avatar Aug 23 '19 11:08 zeuner