From bd32418d40d7fd18d92f8e6f41e86600bcf1ff56 Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Thu, 14 Feb 2013 13:42:03 -0500 Subject: [PATCH] Fix misspelling; add note on serially colored edges --- doc/info/attrs.html | 11 ++++++++--- doc/info/colorlist.gif | Bin 1960 -> 3521 bytes doc/infosrc/attrs | 11 ++++++++--- doc/infosrc/colorlist.dot | 3 ++- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/doc/info/attrs.html b/doc/info/attrs.html index bca3689c5..6c180c646 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -646,15 +646,20 @@ This field indicates which graph component uses the attribute.

For edges, the value can either be a single color or a colorList. - In the latter case, the edge is drawn using parallel splines or lines, + In the latter case, if colorList has no fractions, + the edge is drawn using parallel splines or lines, one for each color in the list, in the order given. The head arrow, if any, is drawn using the first color in the list, and the tail arrow, if any, the second color. This supports the common case of drawing opposing edges, but using parallel splines instead of - separately routed multiedges. For example, the graph + separately routed multiedges. + If any fraction is used, the colors are drawn in series, with each color + being given roughly its specified fraction of the edge. + For example, the graph

   digraph G {
     a -> b [dir=both color="red:blue"]
+    c -> d [dir=none color="green:red;0.25:blue"]
   }
   
yields
@@ -946,7 +951,7 @@ This field indicates which graph component uses the attribute.
id
Allows the graph author to provide an id for graph objects which is to be included in the output. Normal "N", "E", "G" substitutions are applied. - If provided, it is the reponsiblity of the provider to keep + If provided, it is the responsiblity of the provider to keep its values sufficiently unique for its intended downstream use. Note, in particular, that "E" does not provide a unique id for multi-edges. If no id attribute is provided, then a unique internal id is used. However, diff --git a/doc/info/colorlist.gif b/doc/info/colorlist.gif index 6d39810b691c30b5e7a3f2fd5febef58998bf4c2..461e91ee293e22b0000f6a21248cd0c7f4797523 100644 GIT binary patch literal 3521 zcmeH|`#;l*AICqtxZn0+E-`FOjU+L0*x6yx`$#^dsKZg5vmA^i25Rp_Y9b>KK-HBHq^s}jv=qKV8@rH(nppsHis|ddpuVfHu44Ps|5f{JN4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@`cL(_RumRY>=$-2Qv#20nGohkuw)A3^7Cr zB@CfP4?@TB^B`b=!37IbEL}*`Pe&~^(@sNuHP%&cEeO?GdkwbLTaWEE7iNo{HQ86E zUG~~%yWKY2YIj|C*l*jNH{NsW-8bJkgFyrlBaA@A7=sh>!_O0N;P~T@7x42ET|f?b z2S0aU`QtuFy~pMptRQt7pnD;;7nXOy!`69Ne!#A z3fDH>d=t(%<(!jFksi4NPdeyjQqMj4L@AL!01*g541y4aNW>v0=txQ^ViAn+LL(fZ zpF}_c0Fk7kBqtHfN?P)gn9M{nHo=Kbc;XWX1?5JRD9TYzw3MbiB`Q<-kX7&k39WD? zUSKJWBgmpY7^TI3i)hP?_$8O&EW$1{_11Pvdc=)lH z#wg-3J-kE=&cP7Ms0uT;*&;tUb0|ZACXEsyO(ITnAyj~e3Q8!$9UO=X+0e!|ya3M@ za$tiK93f7d@C|T;lSa#=g#pB24kDZbM?oAQA-u3oBC`G?!ArD95HSD%k5Vz7@|>rV zT%Z8}Mudv@#AiO)cmV)L0s|#vgFpTO5HE6o1_Ceu1}K2nBo@@52W?D3n>vJrLZ%@O zd8lF`Vr3#q)JA)yNSG}WreQ;=U2gsg${@%nqwtP uP0Vr@w4ybwYF#T^+X|AmtN<=?kxLe3NY}dB^$V`ES@o(|&1zl(0RTHE`Ae$+ diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index 2ddeef1db..206eb0b5e 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -163,15 +163,20 @@ Basic drawing color for graphics, not text. For the latter, use the

For edges, the value can either be a single color or a colorList. -In the latter case, the edge is drawn using parallel splines or lines, +In the latter case, if colorList has no fractions, +the edge is drawn using parallel splines or lines, one for each color in the list, in the order given. The head arrow, if any, is drawn using the first color in the list, and the tail arrow, if any, the second color. This supports the common case of drawing opposing edges, but using parallel splines instead of -separately routed multiedges. For example, the graph +separately routed multiedges. +If any fraction is used, the colors are drawn in series, with each color +being given roughly its specified fraction of the edge. +For example, the graph

 digraph G {
   a -> b [dir=both color="red:blue"]
+  c -> d [dir=none color="green:red;0.25:blue"]
 }
 
yields
@@ -423,7 +428,7 @@ Synonym for URL. :id:GNE:escString:""; map,ps,svg Allows the graph author to provide an id for graph objects which is to be included in the output. Normal "\N", "\E", "\G" substitutions are applied. -If provided, it is the reponsiblity of the provider to keep +If provided, it is the responsiblity of the provider to keep its values sufficiently unique for its intended downstream use. Note, in particular, that "\E" does not provide a unique id for multi-edges. If no id attribute is provided, then a unique internal id is used. However, diff --git a/doc/infosrc/colorlist.dot b/doc/infosrc/colorlist.dot index e4b8126bc..ff41e21cb 100644 --- a/doc/infosrc/colorlist.dot +++ b/doc/infosrc/colorlist.dot @@ -1,3 +1,4 @@ digraph G { a -> b [dir=both color="red:blue"] -} + c -> d [dir=none color="green:red;0.25:blue"] +} -- 2.50.1