1Graph::Easy::Layout::ScUosuetr(3C)ontributed Perl DocumeGnrtaapthi:o:nEasy::Layout::Scout(3)
2
3
4

NAME

6       Graph::Easy::Layout::Scout - Find paths in a Manhattan-style grid
7

SYNOPSIS

9               use Graph::Easy;
10
11               my $graph = Graph::Easy->new();
12
13               my $bonn = Graph::Easy::Node->new(
14                       name => 'Bonn',
15               );
16               my $berlin = Graph::Easy::Node->new(
17                       name => 'Berlin',
18               );
19
20               $graph->add_edge ($bonn, $berlin);
21
22               $graph->layout();
23
24               print $graph->as_ascii( );
25
26               # prints:
27
28               # +------+     +--------+
29               # | Bonn | --> | Berlin |
30               # +------+     +--------+
31

DESCRIPTION

33       "Graph::Easy::Layout::Scout" contains just the actual pathfinding code
34       for Graph::Easy. It should not be used directly.
35

EXPORT

37       Exports nothing.
38

METHODS

40       This package inserts a few methods into "Graph::Easy" and
41       "Graph::Easy::Node" to enable path-finding for graphs. It should not be
42       used directly.
43

SEE ALSO

45       Graph::Easy.
46

AUTHOR

48       Copyright (C) 2004 - 2007 by Tels <http://bloodgate.com>.
49
50       See the LICENSE file for information.
51
52
53
54perl v5.28.1                      2016-06-06     Graph::Easy::Layout::Scout(3)
Impressum