METHODS

new

arrow_end

$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 attribute. But because head is confusing, the method is named arrow_end.

TODO: Even more arrow shapes

arrow_start

$edge_one->arrow_start('normal');
$edge_two->arrow_start('none'  );

Sets the shape of the edge's start. Possible values.

dot_text

Returns the dot-text that represents the edge on which it was called.

Called by GraphViz::Graph's write_dot().