Modules§
- frozen 🔒
- stable_
graph StableGraphkeeps indices stable across removals.
Structs§
- Edge
- The graph’s edge type.
- Edge
Index - Edge identifier.
- Edge
Indices - Iterator over the edge indices of a graph.
- Edge
Reference - Reference to a
Graphedge. - Edge
References - Iterator over all edges of a graph.
- Edge
Weights Mut - Iterator yielding mutable access to all edge weights.
- Edges
- Iterator over the edges of from or to a node
- Edges
Walker 🔒Mut - Externals
- An iterator over either the nodes without edges to them or from them.
- Frozen
Frozenis a graph wrapper.- Graph
Graph<N, E, Ty, Ix>is a graph datastructure using an adjacency list representation.- Neighbors
- Iterator over the neighbors of a node.
- Node
- The graph’s node type.
- Node
Index - Node identifier.
- Node
Indices - Iterator over the node indices of a graph.
- Node
References - Iterator over all nodes of a graph.
- Node
Weights Mut - Iterator yielding mutable access to all node weights.
- Walk
Neighbors - A “walker” object that can be used to step through the edge list of a node.
Enums§
- Pair 🔒
Constants§
Traits§
- Graph
Index - A
GraphIndexis a node or edge index. - Index
Type - Trait for the unsigned integer type used for node and edge indices.
Functions§
- edge_
index - Short version of
EdgeIndex::new - edges_
walker_ 🔒mut - index_
twice 🔒 - Get mutable references at index
aandb. - node_
index - Short version of
NodeIndex::new - swap_
pair 🔒