The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

METHODS

new

loc

my $label = $graph -> label(…);
$label->loc('t'); # put label to top of graph

For graphs and clusters, only "t" (top)and "b" (bottom, default) are allowed.

Possible values for nodes seem to be "t", "b" and "c" (centered, default). The value is only used when the height of the node is larger than the height of its label.

dot_text