Please does anyone know if there's a way to make Graphviz's dot
program (note: not neato
, although I'd also be somewhat interested in answers for that) auto-fit the width of nodes to accommodate the labels I specify? At the moment I have this
digraph
{
node [shape=record];
n [label="This is a very long caption"];
}
but the node ends up too small to accommodate the caption:
I found an option called fixedsize
, which in theory I should be able to set to false
in order to make the nodes expand to fit their labels:
http://www.graphviz.org/doc/info/attrs.html#d:fixedsize
Unfortunately, it doesn't work, as this gives me the same result:
digraph
{
node [shape=record, fixedsize=false];
n [label="This is a very long caption"];
}
Any ideas please?