]> granicus.if.org Git - graphviz/commitdiff
Add a node about cluster margins to the documentation.
authorEmden Gansner <erg@research.att.com>
Wed, 8 Feb 2012 21:40:00 +0000 (16:40 -0500)
committerEmden Gansner <erg@research.att.com>
Wed, 8 Feb 2012 21:40:00 +0000 (16:40 -0500)
doc/info/attrs.html
doc/infosrc/attrs

index c081733e35a1034a10a403f67e436a0372591e74..b5845faeeef796f4b00cdfd48f34c443a2fb10ea 100644 (file)
@@ -292,7 +292,7 @@ This field indicates which graph component uses the attribute.
  <TR><TD><A NAME=a:lwidth HREF=#d:lwidth>lwidth</A>
 </TD><TD>GC</TD><TD>double</TD><TD ALIGN="CENTER"></TD><TD></TD><TD>write only</TD> </TR>
  <TR><TD><A NAME=a:margin HREF=#d:margin>margin</A>
-</TD><TD>NG</TD><TD>double<BR><A HREF=#k:point>point</A>
+</TD><TD>NCG</TD><TD>double<BR><A HREF=#k:point>point</A>
 </TD><TD ALIGN="CENTER">&#60;device-dependent&#62;</TD><TD></TD><TD></TD> </TR>
  <TR><TD><A NAME=a:maxiter HREF=#d:maxiter>maxiter</A>
 </TD><TD>G</TD><TD>int</TD><TD ALIGN="CENTER">100 * # nodes(mode == KK)<BR>200(mode == major)<BR>600(fdp)</TD><TD></TD><TD>fdp, neato only</TD> </TR>
@@ -1176,6 +1176,9 @@ This field indicates which graph component uses the attribute.
   is actually drawn in the margin. To actually extend the background of
   a drawing, see the <A HREF=#d:pad>pad</A> attribute.
   <P>
+  For clusters, this specifies the space between the nodes in the cluster and
+  the cluster bounding box. By default, this is 8 points.
+  <P>
   For nodes, this attribute specifies space left around the node's label.
   By default, the value is <TT>0.11,0.055</TT>.
 
index a1a963be0f632ac9ba9d75846831637edbd63552..9a60254b9d57e6b7555c054246444fd0677fa9e6 100644 (file)
@@ -636,7 +636,7 @@ the edge is clipped to the boundary of the cluster.
 See <A HREF=#h:undir_note>limitation</A>.
 :lwidth:GC:double; write
 Width of graph or cluster label, in inches.
-:margin:NG:double/point:<device-dependent>;
+:margin:NCG:double/point:<device-dependent>;
 For graphs, this sets x and y margins of canvas, in inches. If the margin
 is a single double, both margins are set equal to the given value.
 <P>
@@ -646,6 +646,9 @@ drawing, as would be necessary to center a drawing on a page. Nothing
 is actually drawn in the margin. To actually extend the background of
 a drawing, see the <A HREF=#d:pad>pad</A> attribute.
 <P>
+For clusters, this specifies the space between the nodes in the cluster and
+the cluster bounding box. By default, this is 8 points.
+<P>
 For nodes, this attribute specifies space left around the node's label.
 By default, the value is <TT>0.11,0.055</TT>.
 :maxiter:G:int:100 \\* # nodes(mode == KK)/200(mode == major)/600(fdp);  neato,fdp