The pdf file that you quote says (2.3 on P9) that:
"In order to allow a richer collection of attributes at a finer
granularity, dot accepts
HTML-like labels using HTML syntax. These are specified using strings that
are
delimited by < . . . > rather than double-quotes."
So, I think that my files are valid.

Furthermore, if you add double-quote around HTML labels, the HTML are not
recognized by graphviz tools such as fdp or neato and the files generated
by these tools use the default labels and not the HTML ones.

Thanks again for your time.
Johan


2014-06-12 22:58 GMT+09:00 Tiago de Paula Peixoto <[email protected]>:

> 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]>
>
>
> _______________________________________________
> graph-tool mailing list
> [email protected]
> http://lists.skewed.de/mailman/listinfo/graph-tool
>
>
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to