From 41fbfd881db703260bb033bfe0e64bb755f0e73c Mon Sep 17 00:00:00 2001 From: erg Date: Tue, 2 Feb 2010 18:48:00 +0000 Subject: [PATCH] Add note on how width and height are used for regular node shapes --- doc/info/attrs.html | 19 ++++++++++++++++++- doc/infosrc/attrs | 19 ++++++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 3c30e0d45..6a59a2517 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -847,6 +847,14 @@ This field indicates which graph component uses the attribute. requires more height to fit, the node's height will be increased to contain the label. Note also that, if the output format is dot, the value given to height will be the final value. +

+ If the node shape is regular, the width and height are made identical. + In this case, if either the width or the height is set explicitly, + that value is used. + In this case, if both the width or the height are set explicitly, + the maximum of the two values is used. + If neither is set explicitly, the minimum of the two default values + is used.

href
Synonym for URL. @@ -1462,7 +1470,8 @@ This field indicates which graph component uses the attribute.
Rectangles for fields of records, in points.
regular -
If true, force polygon to be regular. +
If true, force polygon to be regular, i.e., the vertices of the + polygon will lie on a circle whose center is the center of the node.
remincross
If true and there are multiple clusters, run cross @@ -1711,6 +1720,14 @@ This field indicates which graph component uses the attribute. requires more width to fit, the node's width will be increased to contain the label. Note also that, if the output format is dot, the value given to width will be the final value. +

+ If the node shape is regular, the width and height are made identical. + In this case, if either the width or the height is set explicitly, + that value is used. + In this case, if both the width or the height are set explicitly, + the maximum of the two values is used. + If neither is set explicitly, the minimum of the two default values + is used.

z
Deprecated:Use pos attribute, along diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index 234a63318..8b56c3017 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -374,6 +374,14 @@ will be the final height of the node. Otherwise, if the node label requires more height to fit, the node's height will be increased to contain the label. Note also that, if the output format is dot, the value given to height will be the final value. +

+If the node shape is regular, the width and height are made identical. +In this case, if either the width or the height is set explicitly, +that value is used. +In this case, if both the width or the height are set explicitly, +the maximum of the two values is used. +If neither is set explicitly, the minimum of the two default values +is used. :href:E:escString:""; map,ps,svg Synonym for URL. :id:GNE:lblString:""; map,ps,svg @@ -930,7 +938,8 @@ new size. This feature only works in dot. :rects:N:rect; write Rectangles for fields of records, in points. :regular:N:bool:false; -If true, force polygon to be regular. +If true, force polygon to be regular, i.e., the vertices of the +polygon will lie on a circle whose center is the center of the node. :remincross:G:bool:false; dot If true and there are multiple clusters, run cross minimization a second time. @@ -1148,6 +1157,14 @@ will be the final width of the node. Otherwise, if the node label requires more width to fit, the node's width will be increased to contain the label. Note also that, if the output format is dot, the value given to width will be the final value. +

+If the node shape is regular, the width and height are made identical. +In this case, if either the width or the height is set explicitly, +that value is used. +In this case, if both the width or the height are set explicitly, +the maximum of the two values is used. +If neither is set explicitly, the minimum of the two default values +is used. :z:N:double:0.0:-MAXFLOAT/-1000; Deprecated:Use pos attribute, along with dimen and/or dim -- 2.40.0