Re: [graphviz-interest] How much of the HTML syntax can I use?
"Emden R. Gansner" <[email protected]>
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
On 3/2/13 8:51 PM, Stefan Petrea wrote:
> But I also tried things like <p> or <div> and those didn't work.
> What could I do to use a larger subset of the HTML syntax?
First, note that Graphviz provides just an HTML-like syntax. It adopts
the parts that
seem most useful for describing the contents of a node. It has features
that are not
in HTML and vice versa. Things like <p> don't make as much sense in
Graphviz, as to
handle paragraphs, you need to know how wide a node would be, but the
label is
what determines how wide the node is. (Obviously, if the width of the
node is fixed, then
<p> would make sense and could be implemented.)
In any case, the elements supported in Graphviz are described at
http://www.graphviz.org/content/node-shapes#html
In addition to the tabular elements, the main items relate to font control.
Emden
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest