DOKK / manpages / debian 12 / libgraph-easy-perl / Graph::Easy::As_graphml.3pm.en
Graph::Easy::As_graphml(3pm) User Contributed Perl Documentation Graph::Easy::As_graphml(3pm)

Graph::Easy::As_graphml - Generate a GraphML text from a Graph::Easy object

        use Graph::Easy;
        my $graph = Graph::Easy->new();
        $graph->add_edge ('Bonn', 'Berlin');
        print $graph->as_graphml();

"Graph::Easy::As_graphml" contains just the code for converting a Graph::Easy object to a GraphML text.

Attributes are output in the format that "Graph::Easy" specifies. More details about the valid attributes and their default values can be found in the Graph::Easy online manual:

<http://bloodgate.com/perl/graph/manual/>.

Exports nothing.

Graph::Easy, <http://graphml.graphdrawing.org/>.

Copyright (C) 2004 - 2008 by Tels <http://bloodgate.com>

See the LICENSE file for information.

2022-11-20 perl v5.36.0