]> granicus.if.org Git - graphviz/commitdiff
Update documentation for packing in dot and the general use of the
authorEmden R. Gansner <erg@alum.mit.edu>
Thu, 27 Mar 2014 16:55:58 +0000 (12:55 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Thu, 27 Mar 2014 16:55:58 +0000 (12:55 -0400)
scale attribute.

ChangeLog
doc/info/attrs.html
doc/infosrc/attrs

index 740bd5f41d73763d3f39dd003800892a40794366..c11e8d3b847342fb009f78054d838daa556f8f18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+March 27, 2014
+       - Enable packing for dot
+       - Allow scaling to work for all non-dot layouts
 March 9, 2014
        - Add overline text characteristic.
 March 4, 2014
index 0d3205cfad386ef5ca43862dfbe87cee215825de..800cef0251f81bb44e276b08d23f8893f94d5891 100644 (file)
@@ -356,10 +356,10 @@ of the layout programs.
 </TD><TD ALIGN="CENTER">true</TD><TD></TD><TD>prism only</TD> </TR>
  <TR><TD><A NAME=a:pack HREF=#d:pack>pack</A>
 </TD><TD>G</TD><TD><A HREF=#k:bool>bool</A>
-<BR>int</TD><TD ALIGN="CENTER">false</TD><TD></TD><TD>not dot</TD> </TR>
+<BR>int</TD><TD ALIGN="CENTER">false</TD><TD></TD><TD></TD> </TR>
  <TR><TD><A NAME=a:packmode HREF=#d:packmode>packmode</A>
 </TD><TD>G</TD><TD><A HREF=#k:packMode>packMode</A>
-</TD><TD ALIGN="CENTER">node</TD><TD></TD><TD>not dot</TD> </TR>
+</TD><TD ALIGN="CENTER">node</TD><TD></TD><TD></TD> </TR>
  <TR><TD><A NAME=a:pad HREF=#d:pad>pad</A>
 </TD><TD>G</TD><TD>double<BR><A HREF=#k:point>point</A>
 </TD><TD ALIGN="CENTER">0.0555 (4 points)</TD><TD></TD><TD></TD> </TR>
@@ -428,7 +428,7 @@ of the layout programs.
 </TD><TD>N</TD><TD>int</TD><TD ALIGN="CENTER">8(output)<BR>20(overlap and image maps)</TD><TD></TD><TD></TD> </TR>
  <TR><TD><A NAME=a:scale HREF=#d:scale>scale</A>
 </TD><TD>G</TD><TD>double<BR><A HREF=#k:point>point</A>
-</TD><TD ALIGN="CENTER"></TD><TD></TD><TD>twopi only</TD> </TR>
+</TD><TD ALIGN="CENTER"></TD><TD></TD><TD>not dot</TD> </TR>
  <TR><TD><A NAME=a:searchsize HREF=#d:searchsize>searchsize</A>
 </TD><TD>G</TD><TD>int</TD><TD ALIGN="CENTER">30</TD><TD></TD><TD>dot only</TD> </TR>
  <TR><TD><A NAME=a:sep HREF=#d:sep>sep</A>
@@ -1736,8 +1736,7 @@ of the layout programs.
   overlapping nodes, and in image maps.
 
 <DT><A NAME=d:scale HREF=#a:scale><STRONG>scale</STRONG></A>
-<DD>  If set, after the initial layout, twopi will scale the layout by the given factors.
-  The scaling uses the root node of each component as the center of the scaling.
+<DD>  If set, after the initial layout, the layout is scaled by the given factors.
   If only a single number is given, this is used for both factors.
 
 <DT><A NAME=d:searchsize HREF=#a:searchsize><STRONG>searchsize</STRONG></A>
index d1e9d8da2ca3f859796cf3e35f978c351988b454..315e2b8d3c0788fd8ea58d56e740e620a47c14c1 100644 (file)
@@ -899,7 +899,7 @@ If <TT>overlap_scaling</TT> is zero, no scaling is done.
 :overlap_shrink:G:bool:true; prism
 If true, the overlap removal algorithm will perform a compression pass to reduce the
 size of the layout.
-:pack:G:bool/int:false; notdot
+:pack:G:bool/int:false;
 This is true if the value of pack is "true" (case-insensitive) or a
 non-negative integer. If true, each connected component of the graph is
 laid out separately, and then the graphs are packed together.
@@ -912,7 +912,7 @@ The granularity and method of packing is influenced by the
 <P>
 For layouts which always do packing, such a twopi, the <B>pack</B>
 attribute is just used to set the margin.
-:packmode:G:packMode:node; notdot
+:packmode:G:packMode:node;
 This indicates how connected components should be packed
 (cf. <A HREF=#k:packMode>packMode</A>). Note that defining
 <B>packmode</B> will automatically turn on packing as though one had
@@ -1144,9 +1144,8 @@ attribute, and output is dot or xdot, this gives
 the number of points used for a node whose shape is a circle or ellipse.
 It plays the same role in neato, when adjusting the layout to avoid
 overlapping nodes, and in image maps.
-:scale:G:double/point; twopi
-If set, after the initial layout, twopi will scale the layout by the given factors.
-The scaling uses the root node of each component as the center of the scaling.
+:scale:G:double/point;  notdot
+If set, after the initial layout, the layout is scaled by the given factors.
 If only a single number is given, this is used for both factors.
 :searchsize:G:int:30; dot
 During network simplex, maximum number of edges with negative cut values