Module petgraph::stable_graph
source · Expand description
StableGraph keeps indices stable across removals.
Depends on feature = "stable_graph".
Re-exports
pub use graph::NodeIndex;pub use graph::EdgeIndex;pub use graph::GraphIndex;pub use graph::IndexType;pub use graph::DefaultIx;pub use graph::node_index;pub use graph::edge_index;
Structs
- Iterator over the edge indices of a graph.
- Reference to a
StableGraphedge. - Iterator over all edges of a graph.
- Iterator over the edges of from or to a node
- Iterator over the neighbors of a node.
- Iterator over the node indices of a graph.
- Iterator over all nodes of a graph.
StableGraph<N, E, Ty, Ix>is a graph datastructure using an adjacency list representation.- A “walker” object that can be used to step through the edge list of a node.
Type Aliases
- A
StableGraphwith directed edges. - A
StableGraphwith undirected edges.