From b856813632a976a7a1228c3c4cc77103b63d5144 Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 28 Oct 2009 19:18:12 +0000 Subject: [PATCH] Address bug report 1799 --- doc/info/attrs.html | 19 +++++++++---------- doc/infosrc/attrs | 16 +++++++++------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/doc/info/attrs.html b/doc/info/attrs.html index b68e4f190..a498e06c9 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -240,9 +240,7 @@ This field indicates which graph component uses the attribute. labeljust GCstring"c" labelloc -GCstring"t"(clusters)
"b"(root graphs) - labelloc -Nstring"c"(clusters) +NGCstring"t"(clusters)
"b"(root graphs)
"c"(nodes) labeltarget EescString <none>svg, map only @@ -959,20 +957,21 @@ This field indicates which graph component uses the attribute. this value.
labelloc -
Top/bottom placement of graph and cluster labels. - If the attribute is "t", place label at the top; - if the attribute is "b", place label at the bottom. +
Vertical placement of labels for nodes, root graphs and clusters. +

+ For graphs and clusters, only "t" and "b" are allowed, corresponding + to placement at the top and bottom, respectively. By default, root graph labels go on the bottom and cluster labels go on the top. Note that a subgraph inherits attributes from its parent. Thus, if the root graph sets labelloc to "b", the subgraph inherits this value. - -

labelloc -
Vertical placement of node label. By default, if the height of a node - is larger than the height of its label, the label is vertically centered. +

+ For nodes, this attribute is used only when the height of the node + is larger than the height of its label. If labelloc is set to "t", "c", or "b", the label is aligned with the top, centered, or aligned with the bottom of the node, respectively. + In the default case, the label is vertically centered.

labeltarget
If the edge has a URL or labelURL diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index 901d25be2..77135e55e 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -475,20 +475,22 @@ else the label is centered. Note that a subgraph inherits attributes from its parent. Thus, if the root graph sets labeljust to "l", the subgraph inherits this value. -:labelloc:GC:string:"t"(clusters)/"b"(root graphs); -Top/bottom placement of graph and cluster labels. -If the attribute is "t", place label at the top; -if the attribute is "b", place label at the bottom. +:labelloc:NGC:string:"t"(clusters)/"b"(root graphs)/"c"(nodes); +Vertical placement of labels for nodes, root graphs and clusters. +

+For graphs and clusters, only "t" and "b" are allowed, corresponding +to placement at the top and bottom, respectively. By default, root graph labels go on the bottom and cluster labels go on the top. Note that a subgraph inherits attributes from its parent. Thus, if the root graph sets labelloc to "b", the subgraph inherits this value. -:labelloc:N:string:"c"(clusters); -Vertical placement of node label. By default, if the height of a node -is larger than the height of its label, the label is vertically centered. +

+For nodes, this attribute is used only when the height of the node +is larger than the height of its label. If labelloc is set to "t", "c", or "b", the label is aligned with the top, centered, or aligned with the bottom of the node, respectively. +In the default case, the label is vertically centered. :labeltarget:E:escString:; map,svg If the edge has a URL or labelURL attribute, this attribute determines which window of the -- 2.40.0