1Graph::Easy::As_txt(3)User Contributed Perl DocumentationGraph::Easy::As_txt(3)
2
3
4

NAME

6       Graph::Easy::As_txt - Generate textual description from graph object
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               print $graph->as_txt();
23
24               # prints something like:
25
26               # [ Bonn ] -> [ Berlin ]
27

DESCRIPTION

29       "Graph::Easy::As_txt" contains just the code for converting a
30       Graph::Easy object to a human-readable textual description.
31

EXPORT

33       Exports nothing.
34

SEE ALSO

36       Graph::Easy.
37

AUTHOR

39       Copyright (C) 2004 - 2007 by Tels <http://bloodgate.com>
40
41       See the LICENSE file for information.
42
43
44
45perl v5.36.0                      2022-07-22            Graph::Easy::As_txt(3)
Impressum