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

Graph::Undirected - undirected graphs

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

Graph::Undirected allows you to create undirected graphs.

For the available methods, see Graph.

Graph, Graph::Directed

Jarkko Hietaniemi jhi@iki.fi

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

2023-02-13 perl v5.36.0