NAME

Graph::Simple::As_txt - Generate textual description from graph object

SYNOPSIS

use Graph::Simple;

my $graph = Graph::Simple->new();

my $bonn = Graph::Simple::Node->new(
	name => 'Bonn',
);
my $berlin = Graph::Simple::Node->new(
	name => 'Berlin',
);

$graph->add_edge ($bonn, $berlin);

print $graph->as_txt();

# prints something like:

# [ Bonn ] -> [ Berlin ]

DESCRIPTION

Graph::Simple::As_txt contains just the code for converting a Graph::Simple object to a human-readable textual description.

EXPORT

Exports nothing.

SEE ALSO

Graph::Simple.

AUTHOR

Copyright (C) 2004 - 2005 by Tels http://bloodgate.com

See the LICENSE file for information.