From: Emden R. Gansner Date: Thu, 18 Sep 2014 21:47:35 +0000 (-0400) Subject: Fix unterminated in shapes.html; note that node whose name is an html string X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~159^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80ce3bc821f672e873096fab4548132ecf962242;p=graphviz Fix unterminated in shapes.html; note that node whose name is an html string and a default label will not get the label interpreted as an html-like label. --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 08d4f4e07..faadeccb3 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -1079,6 +1079,13 @@ of the layout programs. If a node's shape is record, then the label can have a special format which describes the record layout. +

+ Note that a node's default label is "\N", so the node's name or ID becomes + its label. Technically, a node's name can be an HTML string but this will not + mean that the node's label will be interpreted as an HTML-like label. This is + because the node's actual label is an ordinary string, which will be replaced + by the raw bytes stored in the node's name. + To get an HTML-like label, the label attribute value itself must be an HTML string.

labelURL
If labelURL is defined, this is the link used for the label diff --git a/doc/info/shapes.html b/doc/info/shapes.html index a1725077a..05e956166 100644 --- a/doc/info/shapes.html +++ b/doc/info/shapes.html @@ -454,14 +454,12 @@ the markup for strike-through (<S>) requires versions later than In addition, all of these markups are currently only available via the cairo and svg renderers. The horizontal and vertical rules (<HR> and <VR>) -are only available in versions -later than 8 July 2011. - +are only available in versions later than 8 July 2011.

-NOTE:For releases later than 9 September 2014, one can use shape=plain so that the size +NOTE:For releases later than 9 September 2014, one can use shape=plain so that the size of the node is totally determined by the label. Otherwise, the node's margin, width and height values may cause the -node to be larger, so that edges are clipped away from the label. In effect, shape=plain is shorthand -for shape=none width=0 height=0 margin=0. +node to be larger, so that edges are clipped away from the label. In effect, shape=plain is shorthand +for shape=none width=0 height=0 margin=0.

If the value of a label attribute (label for nodes, edges, clusters, and diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index d4b9ea790..e534a183a 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -561,6 +561,13 @@ Text label attached to objects. If a node's shape is record, then the label can have a special format which describes the record layout. +

+Note that a node's default label is "\\N", so the node's name or ID becomes +its label. Technically, a node's name can be an HTML string but this will not +mean that the node's label will be interpreted as an HTML-like label. This is +because the node's actual label is an ordinary string, which will be replaced +by the raw bytes stored in the node's name. +To get an HTML-like label, the label attribute value itself must be an HTML string. :labelURL:E:escString:""; map,svg If labelURL is defined, this is the link used for the label of an edge. This value overrides any URL