NAME

String::Eertree::ToDot - Draw the Eertree graph using graphviz

VERSION

Version 0.02

SYNOPSIS

This class behaves exactly the same as String::Eertree, but it adds a new method to_dot.

my $tree = 'String::Eertree::ToDot(string => 'eertree');
print $tree->to_dot;

The method returns a list of lines you can send to graphviz to draw the graph.