]> granicus.if.org Git - graphviz/commitdiff
Flesh out details concerning escString type.
authorEmden R. Gansner <erg@alum.mit.edu>
Mon, 6 Oct 2014 14:45:42 +0000 (10:45 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Mon, 6 Oct 2014 14:45:42 +0000 (10:45 -0400)
doc/info/attrs.html
doc/infosrc/types

index 215f590ee6be305ad250ed23c9eecdeb5812d1f0..3767ade2ed0716d617b6cdf03e80e8a43b5fe98d 100644 (file)
@@ -2230,7 +2230,7 @@ enclosed in the parentheses,  <TT>(...)+</TT> indicates 1 or more, and
    where each <I>%f</I> is a double.
 
 <DT><A NAME=k:escString><STRONG>escString</STRONG></A>
-<DD>string allowing escape sequences which are replaced according
+<DD>string allowing escape sequences which are replaced according
   to the context.
   For node attributes, the substring "&#92;N" is replaced by the name of the node,
   and the substring "&#92;G" by the name of the graph.
@@ -2251,6 +2251,9 @@ enclosed in the parentheses,  <TT>(...)+</TT> indicates 1 or more, and
   the escape sequences "&#92;n", "&#92;l" and "&#92;r"
   divide the label into lines, centered, left-justified, and right-justified,
   respectively.
+  <P>
+  Obviously, one can use "&#92;&#92;" to get a single backslash. A backslash appearing before any
+  character not listed above is ignored.
 
 <DT><A NAME=k:layerList><STRONG>layerList</STRONG></A>
 <DD>list of strings separated by characters from the
index 862183f442be12985e5af40e7eb55bed917e310c..0415f1ff0e2c50b576c38e5659f1f7b6958ee0ef 100644 (file)
@@ -148,7 +148,7 @@ interpreting "forward" and "back".
 A colon-separated list of doubles: "<I>%f</I>(:<I>%f</I>)*"
  where each <I>%f</I> is a double.
 :escString
-string allowing escape sequences which are replaced according
+string allowing escape sequences which are replaced according
 to the context.
 For node attributes, the substring "&#92;N" is replaced by the name of the node,
 and the substring "&#92;G" by the name of the graph.
@@ -169,6 +169,9 @@ In addition, if the associated attribute is
 the escape sequences "&#92;n", "&#92;l" and "&#92;r"
 divide the label into lines, centered, left-justified, and right-justified,
 respectively.
+<P>
+Obviously, one can use "&#92;&#92;" to get a single backslash. A backslash appearing before any
+character not listed above is ignored.
 :lblString
 an <A HREF=#k:escString>escString</A>
 or an <A HREF=shapes.html#html>HTML label</A>.