Closed stevage closed 8 years ago
The unexpected token could be the use of jsx, i havent tested it yet. But what it means is that those 3 scripts tag won't be taken into account in the graph because the character "<" break the code.
As for the error, its my fault, i think it was a console.log that i forgot when i was debuging last week, was out.svg created ?
No, there's no output file (same with --png etc).
The failed parsing isn't really a problem yet, but just for info, the files that fail start like this:
<script type="text/html" id="catalog">
<tr>
That is, they're HTML snippets rather than full HTML documents.
Ok, i tested it on ubuntu 14.10 not trusty. Id recommend using graphviz 3.38, the problem must be the ubuntu trusty using an old graphviz with different parameters. Also im not using dot, im using sfdp and if it fails it tries with circo. I know that sfdp in 14.04 did not work for me because they did not add the triangulation library in that version.
Have I installed GraphViz incorrectly perhaps? The instructions are a little unclear on how to install it.
This is Ubuntu Trusty 64.