Ubuntu Manpages

    use Graph::Directed;
    my $g = Graph::Directed->new;
    # Or alternatively:
    use Graph;
    my $g = Graph->new(directed => 1);
    my $g = Graph->new(undirected => 0);

Graph::Directed allows you to create directed graphs.

For the available methods, see Graph.

Graph, Graph::Undirected

Jarkko Hietaniemi jhi@iki.fi

This module is licensed under the same terms as Perl itself.