Expand description
StableGraph keeps indices stable across removals.
Depends on feature = "stable_graph".
Re-exports§
pub use crate::graph::edge_index;pub use crate::graph::node_index;pub use crate::graph::DefaultIx;pub use crate::graph::EdgeIndex;pub use crate::graph::GraphIndex;pub use crate::graph::IndexType;pub use crate::graph::NodeIndex;
Structs§
- Edge
Indices - Iterator over the edge indices of a graph.
- Edge
Reference - Reference to a
StableGraphedge. - Edge
References - Iterator over all edges of a graph.
- Edges
- Iterator over the edges of from or to a node
- Edges
Connecting - Iterator over the multiple directed edges connecting a source node to a target node
- Externals
- An iterator over either the nodes without edges to them or from them.
- Neighbors
- Iterator over the neighbors of a node.
- Node
Indices - Iterator over the node indices of a graph.
- Node
References - Iterator over all nodes of a graph.
- Stable
Graph StableGraph<N, E, Ty, Ix>is a graph datastructure using an adjacency list representation.- Walk
Neighbors - A “walker” object that can be used to step through the edge list of a node.
Type Aliases§
- Stable
DiGraph - A
StableGraphwith directed edges. - Stable
UnGraph - A
StableGraphwith undirected edges.