pub type UnGraph<N, E, Ix = DefaultIndex> = Graph<N, E, Undirected, Ix>;Expand description
Type alias for an undirected Graph.
§Type Parameters
N- The node data type.E- The edge data type.Ix- The index type, default isDefaultIndex.
§Example
// Create an undirected graph with u32 node and edge types
let graph: UnGraph<u32, u32> = UnGraph::new();Aliased Type§
pub struct UnGraph<N, E, Ix = DefaultIndex> { /* private fields */ }