$edge_one->arrow_end('normal'); $edge_two->arrow_end('none');
Sets the shape of the edge's end. Possible values. Technically, it sets the arrowhead|http://www.graphviz.org/doc/info/attrs.html#a:arrowhead attribute. But because head is confusing, the method is named arrow_end.
arrowhead|http://www.graphviz.org/doc/info/attrs.html#a:arrowhead
head
arrow_end
TODO: Even more arrow shapes
$edge_one->arrow_start('normal'); $edge_two->arrow_start('none' );
Sets the shape of the edge's start. Possible values.
Returns the dot-text that represents the edge on which it was called.
Called by GraphViz::Graph's write_dot().
write_dot()
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.