On 06/12/2014 11:24 AM, Johan Mazel wrote:
> Hi
> I want to use some dot files generated for graphviz but I have some parsing 
> issues.
> I am using HTML labels and it seems to cause problems.
>
> Here is my example:
> graph G {
>   "1" [label=<foo<br/>bar>,shape=box, ];
[...]

This is not valid dot format. Labels must always be quoted. You need to
write:

    graph G {
      "1" [label="<foo<br/>bar>",shape=box];
      ...

Also, I'm not sure if these trailing commas are allowed or not.
Take a look at the format specification at:

     http://www.graphviz.org/pdf/dotguide.pdf

Best,
Tiago

-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to