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

Graph::Directed - directed graphs

    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.

2023-02-13 perl v5.36.0