Graph::Simple::As_svg - Output graph as Scalable Vector Graphics



NAME

Graph::Simple::As_svg - Output graph as Scalable Vector Graphics (SVG)


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);
        print $graph->as_svg();
        # prints something like:


DESCRIPTION

Graph::Simple::As_svg contains just the code for converting a Graph::Simple object to a SVG text.


EXPORT

Exports nothing.


SEE ALSO

the Graph::Simple manpage.


AUTHOR

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

See the LICENSE file for information.