From: erg Date: Thu, 27 Jan 2011 00:08:07 +0000 (+0000) Subject: Update documentation to reflect changes to the id attribute, and its X-Git-Tag: LAST_LIBGRAPH~32^2~1084 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8950ebd2fa86769d230ca073adf1e65d03be18c8;p=graphviz Update documentation to reflect changes to the id attribute, and its support now in html-like labels. --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 841dd9b30..7d5cc4a8d 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -876,8 +876,13 @@ This field indicates which graph component uses the attribute. If provided, it is the reponsiblity 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 this value is unpredictable by the graph writer. + If no id attribute is provided, then a unique internal id is used. However, + this value is unpredictable by the graph writer. An externally provided id is not used internally. +

+ If the graph provides an id attribute, this will be used as a prefix for + internally generated attributes. By making these distinct, the user + can include multiple image maps in the same document.

image
Gives the name of a file containing an image to be displayed inside diff --git a/doc/info/shapes.html b/doc/info/shapes.html index 19145057b..c1f05bdcf 100644 --- a/doc/info/shapes.html +++ b/doc/info/shapes.html @@ -475,6 +475,7 @@ Attribute values must appear in double quotes. FIXEDSIZE="FALSE|TRUE" HEIGHT="value" HREF="value" + ID="value" PORT="portName" TARGET="value" TITLE="value" @@ -501,6 +502,7 @@ Attribute values must appear in double quotes. FIXEDSIZE="FALSE|TRUE" HEIGHT="value" HREF="value" + ID="value" PORT="portName" ROWSPAN="value" TARGET="value" @@ -679,7 +681,16 @@ The maximum value is 65535. attaches a URL to the object. Note that the "value" is treated as an escString similarly to the -URL attribute. +URL attribute. + + +ID="value" +
+allows the user to specify a unique ID for a table or cell. See +the id attribute for more information. +Note that the "value" is treated as an +escString similarly to the +id attribute.
POINT-SIZE="value" @@ -745,7 +756,7 @@ has one. See W3C documentation. Note that the "value" is treated as an escString similarly to the -target attribute. +target attribute. TITLE="value" @@ -754,7 +765,7 @@ sets the tooltip annotation attached to the element. This is used only if the element has a HREF attribute. Note that the "value" is treated as an escString similarly to the -tooltip attribute. +tooltip attribute. TOOLTIP="value" diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index 837cc822c..34fb03e2f 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -397,8 +397,13 @@ Normal "\N", "\E", "\G" substitutions are applied. If provided, it is the reponsiblity 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 this value is unpredictable by the graph writer. +If no id attribute is provided, then a unique internal id is used. However, +this value is unpredictable by the graph writer. An externally provided id is not used internally. +

+If the graph provides an id attribute, this will be used as a prefix for +internally generated attributes. By making these distinct, the user +can include multiple image maps in the same document. :image:N:string:""; Gives the name of a file containing an image to be displayed inside a node. The image file must be in one of the recognized diff --git a/doc/infosrc/html.2 b/doc/infosrc/html.2 index 1132b12de..3baa8dbe5 100644 --- a/doc/infosrc/html.2 +++ b/doc/infosrc/html.2 @@ -32,6 +32,7 @@ Attribute values must appear in double quotes. FIXEDSIZE="FALSE|TRUE" HEIGHT="value" HREF="value" + ID="value" PORT="portName" TARGET="value" TITLE="value" @@ -58,6 +59,7 @@ Attribute values must appear in double quotes. FIXEDSIZE="FALSE|TRUE" HEIGHT="value" HREF="value" + ID="value" PORT="portName" ROWSPAN="value" TARGET="value" @@ -239,6 +241,15 @@ Note that the "value" is treated as an URL attribute. +ID="value" +

+allows the user to specify a unique ID for a table or cell. See +the id attribute for more information. +Note that the "value" is treated as an +escString similarly to the +id attribute. +
+ POINT-SIZE="value"
sets the size of the font, in points, used within the scope of