]> granicus.if.org Git - graphviz/commitdiff
Add info on new packmodes
authorerg <devnull@localhost>
Thu, 28 May 2009 23:05:30 +0000 (23:05 +0000)
committererg <devnull@localhost>
Thu, 28 May 2009 23:05:30 +0000 (23:05 +0000)
doc/info/attrs.html
doc/infosrc/attrs
doc/infosrc/types

index 9ed6ab29ac29e74f3dfcc1f5e5bd5ec02f15b7dd..3704f8e983c535e75e86d1c4e34aa861c6d2b069 100644 (file)
@@ -409,6 +409,8 @@ This field indicates which graph component uses the attribute.
  <TR><TD><A NAME=a:smoothing HREF=#d:smoothing>smoothing</A>
 </TD><TD>G</TD><TD><A HREF=#k:smoothType>smoothType</A>
 </TD><TD ALIGN="CENTER">"none"</TD><TD></TD><TD>sfdp only</TD> </TR>
+ <TR><TD><A NAME=a:sortv HREF=#d:sortv>sortv</A>
+</TD><TD>GCN</TD><TD>int</TD><TD ALIGN="CENTER">0</TD><TD>0</TD><TD></TD> </TR>
  <TR><TD><A NAME=a:splines HREF=#d:splines>splines</A>
 </TD><TD>G</TD><TD><A HREF=#k:bool>bool</A>
 <BR>string</TD><TD ALIGN="CENTER"></TD><TD></TD><TD></TD> </TR>
@@ -1546,6 +1548,11 @@ This field indicates which graph component uses the attribute.
 <DD>  Specifies a post-processing step used to smooth out an uneven distribution 
   of nodes.
 
+<DT><A NAME=d:sortv HREF=#a:sortv><STRONG>sortv</STRONG></A>
+<DD>  If <A HREF="#d:packmode">packmode</A> indicates an array packing, 
+  this attribute specifies an
+  insertion order among the components, with smaller values inserted first.
+
 <DT><A NAME=d:splines HREF=#a:splines><STRONG>splines</STRONG></A>
 <DD>  Controls how, and if, edges are represented. If true, edges are drawn as
   splines routed around nodes; if false, edges are drawn as line segments.
@@ -1890,6 +1897,14 @@ the given types.
   Thus, the mode "array_c4" indicates array packing, with 4 rows,
   starting in the upper left and going down the first column, then
   down the second column, etc., until all components are used.
+  <P>
+  If the optional flags contains "u", this causes the insertion
+  order of elements in the array to be determined by user-supplied
+  values. Each component can specify its sort value by a 
+  non-negative integer using the <A HREF="#d:sortv">sortv</A> attribute. 
+  Components are
+  inserted in order, starting with the one with the smallest
+  sort value. If no sort value is specified, zero is used.
 
 <DT><A NAME=k:pagedir><STRONG>pagedir</STRONG></A>
 <DD>"BL", "BR", "TL", "TR", "RB", "RT", "LB", "LT".
index ece45e981aa49cd0c3ba03b82e19469adf7984a0..a0b03291218bb1092bf3083bc804e0d3ba4a4335 100644 (file)
@@ -996,6 +996,10 @@ skew top of polygon to right; negative to left.
 :smoothing:G:smoothType:"none";  sfdp
 Specifies a post-processing step used to smooth out an uneven distribution 
 of nodes.
+:sortv:GCN:int:0:0;
+If <A HREF="#d:packmode">packmode</A> indicates an array packing, 
+this attribute specifies an
+insertion order among the components, with smaller values inserted first.
 :splines:G:bool/string;
 Controls how, and if, edges are represented. If true, edges are drawn as
 splines routed around nodes; if false, edges are drawn as line segments.
index e7cd2816cb73515b61b1d2d14de12998c4a6cbb9..88c8348c9f3683adb28d87fdb85017abe66a00d8 100644 (file)
@@ -187,6 +187,14 @@ columns for row-major or the number of rows for column-major.
 Thus, the mode "array_c4" indicates array packing, with 4 rows,
 starting in the upper left and going down the first column, then
 down the second column, etc., until all components are used.
+<P>
+If the optional flags contains "u", this causes the insertion
+order of elements in the array to be determined by user-supplied
+values. Each component can specify its sort value by a 
+non-negative integer using the <A HREF="#d:sortv">sortv</A> attribute. 
+Components are
+inserted in order, starting with the one with the smallest
+sort value. If no sort value is specified, zero is used.
 :pagedir
 "BL", "BR", "TL", "TR", "RB", "RT", "LB", "LT".
 These specify the 8 row or column major orders for traversing a