I'm using Graphviz to draw some graphs. I'm using labels on nodes and I can put in "\n"
to force it to split the label across 2 lines. Is there some way to get Graphviz (or dot
which I'm using) to automatically see that it should split some nodes labels, and for it itself to make the best choice automagically?
Automatic multiline labels in Graphviz
graphviz
Best Answer
Yes, HTML-like labels (
<...>
) supporttag, using which you can break the lines. E.g.
These also work when embedding Graphviz in LaTeX, where
\n
would not.