Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
debug dot file generator #54
Original report by Anonymous.
In short symbols like " or \ should be escaped in labels. Looks like this is trivial to fix.
The initial issue was fixed (at least it looks like so). But for some reason i still can't get correct DOT file after generation. It is attached for reference.
Original comment by Laurent Wouters (Bitbucket: 557058:675792b6-d731-4823-9f7d-c6dfcb2df2b5, ).
It looks like the document contains some BOM at the beginning, which trips some graphviz implementations. BOM won't normally appear in text editors so it can be tricky. For example, on my system:
dot -Tpng sysvcDFA.dot -o result.png
indeed gets me the error:
Removing the BOM fixes the issue. I also have tried the content of your document on some online graphviz services and unsurprisingly they all gave up due to the graph's size.
I don't know if the BOM has been inserted by Hime. I''ll look into it and fix it if that is the case.
Does removing the BOM fixes the issue on your end?