pub type UnGraphMap<N, E, S = RandomState> = GraphMap<N, E, Undirected, S>;Expand description
A GraphMap with undirected edges.
For example, an edge between 1 and 2 is equivalent to an edge between 2 and 1.
Aliased Type§
pub struct UnGraphMap<N, E, S = RandomState> {
nodes: IndexMap<N, Vec<(N, CompactDirection)>, S>,
edges: IndexMap<(N, N), E, S>,
ty: PhantomData<Undirected>,
}Fields§
§nodes: IndexMap<N, Vec<(N, CompactDirection)>, S>§edges: IndexMap<(N, N), E, S>§ty: PhantomData<Undirected>