petgraph/
prelude.rs

1
2//! Commonly used items.
3//!
4//! ```
5//! use petgraph::prelude::*;
6//! ```
7
8#[doc(no_inline)]
9pub use graph::{
10    Graph,
11    NodeIndex,
12    EdgeIndex,
13    DiGraph,
14    UnGraph,
15};
16#[cfg(feature = "graphmap")]
17#[doc(no_inline)]
18pub use graphmap::{
19    GraphMap,
20    DiGraphMap,
21    UnGraphMap,
22};
23#[doc(no_inline)]
24#[cfg(feature = "stable_graph")]
25pub use stable_graph::{
26    StableGraph,
27    StableDiGraph,
28    StableUnGraph,
29};
30#[doc(no_inline)]
31pub use visit::{
32    Bfs,
33    Dfs,
34    DfsPostOrder,
35};
36#[doc(no_inline)]
37pub use ::{
38    Direction,
39    Incoming,
40    Outgoing,
41    Directed,
42    Undirected,
43};
44
45#[doc(no_inline)]
46pub use visit::{
47    EdgeRef,
48};