petgraph/
prelude.rs

1//! Commonly used items.
2//!
3//! ```
4//! use petgraph::prelude::*;
5//! ```
6
7#[doc(no_inline)]
8pub use crate::graph::{DiGraph, EdgeIndex, Graph, NodeIndex, UnGraph};
9#[cfg(feature = "graphmap")]
10#[doc(no_inline)]
11pub use crate::graphmap::{DiGraphMap, GraphMap, UnGraphMap};
12#[doc(no_inline)]
13#[cfg(feature = "stable_graph")]
14pub use crate::stable_graph::{StableDiGraph, StableGraph, StableUnGraph};
15#[doc(no_inline)]
16pub use crate::visit::{Bfs, Dfs, DfsPostOrder};
17#[doc(no_inline)]
18pub use crate::{Directed, Direction, Incoming, Outgoing, Undirected};
19
20#[doc(no_inline)]
21pub use crate::visit::EdgeRef;