DOKK / manpages / debian 12 / libgraph-easy-perl / Graph::Easy::As_ascii.3pm.en
Graph::Easy::As_ascii(3pm) User Contributed Perl Documentation Graph::Easy::As_ascii(3pm)

Graph::Easy::As_ascii - Generate ASCII art

        use Graph::Easy;
        my $graph = Graph::Easy->new();
        $graph->add_edge('Bonn', 'Berlin');
        print $graph->as_ascii();

"Graph::Easy::As_ascii" contains the code to render Nodes/Edges as ASCII art. It is used by Graph::Easy automatically, and there should be no need to use it directly.

Exports nothing.

Graph::Easy.

Copyright (C) 2004 - 2007 by Tels <http://bloodgate.com>.

See the LICENSE file for more details.

2022-11-20 perl v5.36.0