]> granicus.if.org Git - graphviz/commitdiff
Fix misspelling; add note on serially colored edges
authorEmden Gansner <erg@research.att.com>
Thu, 14 Feb 2013 18:42:03 +0000 (13:42 -0500)
committerEmden Gansner <erg@research.att.com>
Thu, 14 Feb 2013 18:42:03 +0000 (13:42 -0500)
doc/info/attrs.html
doc/info/colorlist.gif
doc/infosrc/attrs
doc/infosrc/colorlist.dot

index bca3689c5df832c0882d522362e6c70f09de28c5..6c180c646971e1c7b58d0accbfb77498d967b3b7 100644 (file)
@@ -646,15 +646,20 @@ This field indicates which graph component uses the attribute.
   <P>
   For edges, the value
   can either be a single color or a <A HREF=#k:colorList>colorList</A>.
-  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
   <PRE>
   digraph G {
     a -> b [dir=both color="red:blue"]
+    c -> d [dir=none color="green:red;0.25:blue"]
   }
   </PRE>
   yields<BR>
@@ -946,7 +951,7 @@ This field indicates which graph component uses the attribute.
 <DT><A NAME=d:id HREF=#a:id><STRONG>id</STRONG></A>
 <DD>  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, 
index 6d39810b691c30b5e7a3f2fd5febef58998bf4c2..461e91ee293e22b0000f6a21248cd0c7f4797523 100644 (file)
Binary files a/doc/info/colorlist.gif and b/doc/info/colorlist.gif differ
index 2ddeef1db45912efac6889dea135f5022b350352..206eb0b5e629b67a5782c7e689aafe720e09ded5 100644 (file)
@@ -163,15 +163,20 @@ Basic drawing color for graphics, not text. For the latter, use the
 <P>
 For edges, the value
 can either be a single color or a <A HREF=#k:colorList>colorList</A>.
-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
 <PRE>
 digraph G {
   a -> b [dir=both color="red:blue"]
+  c -> d [dir=none color="green:red;0.25:blue"]
 }
 </PRE>
 yields<BR>
@@ -423,7 +428,7 @@ Synonym for <A HREF=#d:URL>URL</A>.
 :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, 
index e4b8126bc1050b369e2e5b0c83839045e7b5a694..ff41e21cbca59352641153a750f7741fc883a330 100644 (file)
@@ -1,3 +1,4 @@
 digraph G {
   a -> b [dir=both color="red:blue"]
-} 
+  c -> d [dir=none color="green:red;0.25:blue"]
+}