Module petgraph::stable_graph [] [src]

StableGraph keeps indices stable across removals.

Depends on feature = "stable_graph".

Reexports

pub use graph::{NodeIndex, EdgeIndex, GraphIndex, DefaultIx, IndexType, node_index, edge_index};

Structs

Neighbors

Iterator over the neighbors of a node.

NodeIndices

Iterator over the node indices of a graph.

StableGraph

StableGraph<N, E, Ty, Ix> is a graph datastructure using an adjacency list representation.

WalkNeighbors

A “walker” object that can be used to step through the edge list of a node.