petgraph 0.4.13

Graph data structure library. Provides graph types and graph algorithms.
Documentation

//! Commonly used items.
//!
//! ```
//! use petgraph::prelude::*;
//! ```

#[doc(no_inline)]
pub use graph::{
    Graph,
    NodeIndex,
    EdgeIndex,
    DiGraph,
    UnGraph,
};
#[cfg(feature = "graphmap")]
#[doc(no_inline)]
pub use graphmap::{
    GraphMap,
    DiGraphMap,
    UnGraphMap,
};
#[doc(no_inline)]
#[cfg(feature = "stable_graph")]
pub use stable_graph::{
    StableGraph,
    StableDiGraph,
    StableUnGraph,
};
#[doc(no_inline)]
pub use visit::{
    Bfs,
    Dfs,
    DfsPostOrder,
};
#[doc(no_inline)]
pub use ::{
    Direction,
    Incoming,
    Outgoing,
    Directed,
    Undirected,
};

#[doc(no_inline)]
pub use visit::{
    EdgeRef,
};