NAME

Graph::Simple::Layout - Layout the graph from Graph::Simple

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);

$graph->layout();

print $graph->as_ascii( );

# prints:

# +------+     +--------+
# | Bonn | --> | Berlin |
# +------+     +--------+

DESCRIPTION

Graph::Simple::Layout contains just the actual layout code for Graph::Simple.

EXPORT

Exports nothing.

SEE ALSO

Graph::Simple.

AUTHOR

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

See the LICENSE file for information.