Sets the shape of node. Possible values can be, among others:
'none'
'point'
'rect'
'square'
'star'
etc …
Returns the dot-text that represents the node on which it was called.
Called by GraphViz::Graph's write_dot().
write_dot()
$node->port() is needed to connect from or to ports with edges.
$node->port()
my $nd_one = $graph->node(); my $nd_two = $graph->node(); $nd_two->label({html=>"<table> <tr><td port='port_f'>f</td><td>g</td></tr> </table>"}); $graph->edge($nd_one, $nd_two->port('port_f')):
To install GraphViz::Graph, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GraphViz::Graph
CPAN shell
perl -MCPAN -e shell install GraphViz::Graph
For more information on module installation, please visit the detailed CPAN module installation guide.