There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

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