From 337ccdde17bb37cc0662137f6327994949cf6ee8 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Thu, 27 Mar 2014 12:55:58 -0400 Subject: [PATCH] Update documentation for packing in dot and the general use of the scale attribute. --- ChangeLog | 3 +++ doc/info/attrs.html | 9 ++++----- doc/infosrc/attrs | 9 ++++----- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 740bd5f41..c11e8d3b8 100644 --- 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 diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 0d3205cfa..800cef025 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -356,10 +356,10 @@ of the layout programs. trueprism only pack Gbool -
intfalsenot dot +
intfalse packmode GpackMode -nodenot dot +node pad Gdouble
point 0.0555 (4 points) @@ -428,7 +428,7 @@ of the layout programs. Nint8(output)
20(overlap and image maps) scale Gdouble
point -twopi only +not dot searchsize Gint30dot only sep @@ -1736,8 +1736,7 @@ of the layout programs. overlapping nodes, and in image maps.
scale -
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. +
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 diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index d1e9d8da2..315e2b8d3 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -899,7 +899,7 @@ If overlap_scaling 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

For layouts which always do packing, such a twopi, the pack 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. packMode). Note that defining packmode 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 -- 2.40.0