petgraph::graph

Type Alias UnGraph

Source
pub type UnGraph<N, E, Ix = DefaultIx> = Graph<N, E, Undirected, Ix>;
Expand description

A Graph with undirected edges.

For example, an edge between 1 and 2 is equivalent to an edge between 2 and 1.

Aliased Typeยง

struct UnGraph<N, E, Ix = DefaultIx> { /* private fields */ }