</TD><TD ALIGN="CENTER">lightgrey(nodes)<BR>black(clusters)</TD><TD></TD><TD></TD> </TR>
<TR><TD><A NAME=a:fixedsize HREF=#d:fixedsize>fixedsize</A>
</TD><TD>N</TD><TD><A HREF=#k:bool>bool</A>
-</TD><TD ALIGN="CENTER">false</TD><TD></TD><TD></TD> </TR>
+<BR>string</TD><TD ALIGN="CENTER">false</TD><TD></TD><TD></TD> </TR>
<TR><TD><A NAME=a:fontcolor HREF=#d:fontcolor>fontcolor</A>
</TD><TD>ENGC</TD><TD><A HREF=#k:color>color</A>
</TD><TD ALIGN="CENTER">black</TD><TD></TD><TD></TD> </TR>
<B>color</B> or <B>bgcolor</B> attribute set for the cluster.
<DT><A NAME=d:fixedsize HREF=#a:fixedsize><STRONG>fixedsize</STRONG></A>
-<DD> If true, the node size is specified by the values of the
- <A HREF=#d:width><B>width</B></A>
- and <A HREF=#d:height><B>height</B></A> attributes only
+<DD> If <tt>false</tt>, the size of a node is determined by smallest width and height
+ needed to contain its label and image, if any, with a margin specified by
+ the <A HREF=#d:margin><TT>margin</TT></A> attribute. The width
+ and height must also be at least as large as the sizes specified by the
+ <A HREF=#d:width><TT>width</TT></A> and
+ <A HREF=#d:height><TT>height</TT></A> attributes, which specify
+ the minimum values for these parameters.
+ <P>
+ If <tt>true</tt>, the node size is specified by the values of the
+ <A HREF=#d:width><TT>width</TT></A>
+ and <A HREF=#d:height><TT>height</TT></A> attributes only
and is not expanded to contain the text label.
+ There will be a warning if the label (with margin)
+ cannot fit within these limits.
+ <P>
+ If the <A HREF=attrs.html#d:fixedsize><TT>fixedsize</TT></A> attribute is set
+ to <tt>shape</tt>, the <A HREF=#d:width><TT>width</TT></A> and
+ <A HREF=#d:height><TT>height</TT></A> attributes also determine the size
+ of the node shape, but the label can be much larger. Both the label and
+ shape sizes are used when avoiding node overlap, but all edges to the
+ node ignore the label and only contact the node shape. No warning is given
+ if the label is too large.
<DT><A NAME=d:fontcolor HREF=#a:fontcolor><STRONG>fontcolor</STRONG></A>
<DD> Color used for text.
<A HREF=attrs.html#d:width><TT>width</TT></A> and
<A HREF=attrs.html#d:height><TT>height</TT></A> attributes.
<P>
+Normally, the size of a node is determined by smallest width and height
+needed to contain its label and image, if any, with a margin specified by
+the <A HREF=attrs.html#d:margin><TT>margin</TT></A> attribute. The width
+and height must also be at least as large as the sizes specified by the
+<A HREF=attrs.html#d:width><TT>width</TT></A> and
+<A HREF=attrs.html#d:height><TT>height</TT></A> attributes, which specify
+the minimum values for these parameters.
+See the <A HREF=attrs.html#d:fixedsize><TT>fixedsize</TT></A> attribute
+for ways of restricting the node size.
+In particular, if <tt>fixedsize=shape</tt>, the node's shape will be fixed
+by the <A HREF=attrs.html#d:width><TT>width</TT></A> and
+<A HREF=attrs.html#d:height><TT>height</TT></A> attributes, and the shape
+is used for edge termination, but both the shape and label sizes are used
+preventing node overlap. For example, the following graph
+<XMP>
+digraph G {
+ {
+ node [margin=0 fontcolor=blue fontsize=32 width=0.5 shape=circle style=filled]
+ b [fillcolor=yellow fixedsize=true label="a very long label"]
+ d [fixedsize=shape label="an even longer label"]
+ }
+ a -> {c d}
+ b -> {c d}
+}
+</XMP>
+yields the figure<BR>
+<IMG SRC=fixed.gif>
+<P>
+Note that the label of the yellow node, with <tt>fixedsize=true</tt>, overlaps
+the other node, where there is sufficient space for the gray node with
+<tt>fixedsize=shape</tt>.
+<P>
The shapes: <TT>note</TT>, <TT>tab</TT>, <TT>folder</TT>,
<TT>box3d</TT> and <TT>component</TT> were provided by Pander.
The synthetic biology shapes:
XGIF = forward.gif back.gif both.gif nohead.gif
MGIF = constraint.gif record.gif html1.gif html2.gif fill.gif round.gif \
- mrecord.gif html3.gif html4.gif colorlist.gif record2.gif
+ mrecord.gif html3.gif html4.gif colorlist.gif record2.gif fixed.gif
MJPG = sdlshapes.jpg
Note that a cluster inherits the root graph's attributes if defined.
Thus, if the root graph has defined a <B>fillcolor</B>, this will override a
<B>color</B> or <B>bgcolor</B> attribute set for the cluster.
-:fixedsize (N_fixed):N:bool:false;
-If true, the node size is specified by the values of the
-<A HREF=#d:width><B>width</B></A>
-and <A HREF=#d:height><B>height</B></A> attributes only
+:fixedsize (N_fixed):N:bool/string:false;
+If <tt>false</tt>, the size of a node is determined by smallest width and height
+needed to contain its label and image, if any, with a margin specified by
+the <A HREF=#d:margin><TT>margin</TT></A> attribute. The width
+and height must also be at least as large as the sizes specified by the
+<A HREF=#d:width><TT>width</TT></A> and
+<A HREF=#d:height><TT>height</TT></A> attributes, which specify
+the minimum values for these parameters.
+<P>
+If <tt>true</tt>, the node size is specified by the values of the
+<A HREF=#d:width><TT>width</TT></A>
+and <A HREF=#d:height><TT>height</TT></A> attributes only
and is not expanded to contain the text label.
+There will be a warning if the label (with margin)
+cannot fit within these limits.
+<P>
+If the <A HREF=attrs.html#d:fixedsize><TT>fixedsize</TT></A> attribute is set
+to <tt>shape</tt>, the <A HREF=#d:width><TT>width</TT></A> and
+<A HREF=#d:height><TT>height</TT></A> attributes also determine the size
+of the node shape, but the label can be much larger. Both the label and
+shape sizes are used when avoiding node overlap, but all edges to the
+node ignore the label and only contact the node shape. No warning is given
+if the label is too large.
:fontcolor:ENGC:color:black;
Color used for text.
:fontnames:G:string:""; svg
<A HREF=attrs.html#d:width><TT>width</TT></A> and
<A HREF=attrs.html#d:height><TT>height</TT></A> attributes.
<P>
+Normally, the size of a node is determined by smallest width and height
+needed to contain its label and image, if any, with a margin specified by
+the <A HREF=attrs.html#d:margin><TT>margin</TT></A> attribute. The width
+and height must also be at least as large as the sizes specified by the
+<A HREF=attrs.html#d:width><TT>width</TT></A> and
+<A HREF=attrs.html#d:height><TT>height</TT></A> attributes, which specify
+the minimum values for these parameters.
+See the <A HREF=attrs.html#d:fixedsize><TT>fixedsize</TT></A> attribute
+for ways of restricting the node size.
+In particular, if <tt>fixedsize=shape</tt>, the node's shape will be fixed
+by the <A HREF=attrs.html#d:width><TT>width</TT></A> and
+<A HREF=attrs.html#d:height><TT>height</TT></A> attributes, and the shape
+is used for edge termination, but both the shape and label sizes are used
+preventing node overlap. For example, the following graph
+<XMP>
+digraph G {
+ {
+ node [margin=0 fontcolor=blue fontsize=32 width=0.5 shape=circle style=filled]
+ b [fillcolor=yellow fixedsize=true label="a very long label"]
+ d [fixedsize=shape label="an even longer label"]
+ }
+ a -> {c d}
+ b -> {c d}
+}
+</XMP>
+yields the figure<BR>
+<IMG SRC=fixed.gif>
+<P>
+Note that the label of the yellow node, with <tt>fixedsize=true</tt>, overlaps
+the other node, where there is sufficient space for the gray node with
+<tt>fixedsize=shape</tt>.
+<P>
The shapes: <TT>note</TT>, <TT>tab</TT>, <TT>folder</TT>,
<TT>box3d</TT> and <TT>component</TT> were provided by Pander.
The synthetic biology shapes: