1Graph::Easy::As_graphviUzs(e3r)Contributed Perl DocumentGartaipohn::Easy::As_graphviz(3)
2
3
4

NAME

6       Graph::Easy::As_graphviz - Generate graphviz description from graph
7       object
8

SYNOPSIS

10               use Graph::Easy;
11
12               my $graph = Graph::Easy->new();
13
14               my $bonn = Graph::Easy::Node->new(
15                       name => 'Bonn',
16               );
17               my $berlin = Graph::Easy::Node->new(
18                       name => 'Berlin',
19               );
20
21               $graph->add_edge ($bonn, $berlin);
22
23               print $graph->as_graphviz();
24
25               # prints something like:
26
27               # digraph NAME { Bonn -> Berlin }
28

DESCRIPTION

30       "Graph::Easy::As_graphviz" contains just the code for converting a
31       Graph::Easy object to a textual description suitable for feeding it to
32       Graphviz programs like "dot".
33

EXPORT

35       Exports nothing.
36

SEE ALSO

38       Graph::Easy, Graph::Easy::Parser::Graphviz.
39

AUTHOR

41       Copyright (C) 2004 - 2008 by Tels <http://bloodgate.com>
42
43       See the LICENSE file for information.
44
45
46
47perl v5.36.0                      2023-02-02       Graph::Easy::As_graphviz(3)
Impressum