Type Alias petgraph::graph_impl::stable_graph::StableUnGraph
source · pub type StableUnGraph<N, E, Ix = DefaultIx> = StableGraph<N, E, Undirected, Ix>;
Expand description
A StableGraph
with undirected edges.
For example, an edge between 1 and 2 is equivalent to an edge between 2 and 1.
Aliased Type§
struct StableUnGraph<N, E, Ix = DefaultIx> {
g: Graph<Option<N>, Option<E>, Undirected, Ix>,
node_count: usize,
edge_count: usize,
free_node: NodeIndex<Ix>,
free_edge: EdgeIndex<Ix>,
}
Fields§
§g: Graph<Option<N>, Option<E>, Undirected, Ix>
§node_count: usize
§edge_count: usize
§free_node: NodeIndex<Ix>
§free_edge: EdgeIndex<Ix>