---
name: "Graph::Undirected"
section: "3pm"
platform: "linux"
package: "libgraph-perl"
version: "1:0.9735-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Graph::Undirected"
---

# Graph::Undirected(3pm)

undirected graphs

## NAME

Graph::Undirected - undirected graphs

## SYNOPSIS

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

## DESCRIPTION

Graph::Undirected allows you to create undirected graphs.

For the available methods, see Graph.

## SEE ALSO

Graph, Graph::Directed

## AUTHOR AND COPYRIGHT

Jarkko Hietaniemi *jhi@iki.fi*

## LICENSE

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