height
Height of node, in inches
type: double, default: 0.5, minimum: 0.02
This is taken as the initial, minimum height of the node. If
fixedsize is true, this 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.
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:
- If both the
widthand theheightare set explicitly, the maximum of the two values is used. - If one of
widthorheightis set explicitly, that value is used for bothwidthandheight. - If neither is set explicitly, the minimum of the two default values is used.
If a value below the minimum value (0.02) is set, it will be rounded up to this minimum.
Height Example
digraph G {
"default"
"1in" [height=1]
"2in" [height=2]
}See also:
Valid on:- Nodes