Commit 80ce3bc8 authored by Emden R. Gansner's avatar Emden R. Gansner

Fix unterminated <EM> 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.
parent 8027b06f
......@@ -1079,6 +1079,13 @@ of the layout programs.
If a node's <A HREF=#d:shape>shape</A> is record, then the label can
have a <A HREF=shapes.html#record>special format</A>
which describes the record layout.
<P>
Note that a node's default label is "&#92;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 <a href="shapes.html#html">HTML-like label</a>. 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.
<DT><A NAME=d:labelURL HREF=#a:labelURL><STRONG>labelURL</STRONG></A>
<DD> If <B>labelURL</B> is defined, this is the link used for the label
......
......@@ -454,14 +454,12 @@ the markup for strike-through (<TT>&lt;S&gt;</TT>) 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 </EM>(<TT>&lt;HR&gt;</TT> and <TT>&lt;VR&gt;</TT>)
<EM>are only available in versions
later than 8 July 2011.
</EM>
<EM>are only available in versions later than 8 July 2011.</EM>
<P>
<B>NOTE:</B><EM>For releases later than 9 September 2014, one can use <TT>shape=plain</TT> so that the size
<B>NOTE:</B><EM>For releases later than 9 September 2014, one can use </EM><TT>shape=plain</TT> <EM>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, <TT>shape=plain</TT> is shorthand
for <TT>shape=none width=0 height=0 margin=0</TT>.
node to be larger, so that edges are clipped away from the label. In effect, </EM><TT>shape=plain</TT> <EM>is shorthand
for </EM> <TT>shape=none width=0 height=0 margin=0</TT>.
<P>
If the value of a label attribute
(<A HREF=attrs.html#d:label><TT>label</TT></A> for nodes, edges, clusters, and
......
......@@ -561,6 +561,13 @@ Text label attached to objects.
If a node's <A HREF=#d:shape>shape</A> is record, then the label can
have a <A HREF=shapes.html#record>special format</A>
which describes the record layout.
<P>
Note that a node's default label is "\&#92;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 <a href="shapes.html#html">HTML-like label</a>. 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 <B>labelURL</B> is defined, this is the link used for the label
of an edge. This value overrides any <A HREF=#d:URL>URL</A>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment