summaryrefslogtreecommitdiffstats
path: root/vendor/petgraph/src/prelude.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/petgraph/src/prelude.rs')
-rw-r--r--vendor/petgraph/src/prelude.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/petgraph/src/prelude.rs b/vendor/petgraph/src/prelude.rs
new file mode 100644
index 000000000..f50b338b2
--- /dev/null
+++ b/vendor/petgraph/src/prelude.rs
@@ -0,0 +1,21 @@
+//! Commonly used items.
+//!
+//! ```
+//! use petgraph::prelude::*;
+//! ```
+
+#[doc(no_inline)]
+pub use crate::graph::{DiGraph, EdgeIndex, Graph, NodeIndex, UnGraph};
+#[cfg(feature = "graphmap")]
+#[doc(no_inline)]
+pub use crate::graphmap::{DiGraphMap, GraphMap, UnGraphMap};
+#[doc(no_inline)]
+#[cfg(feature = "stable_graph")]
+pub use crate::stable_graph::{StableDiGraph, StableGraph, StableUnGraph};
+#[doc(no_inline)]
+pub use crate::visit::{Bfs, Dfs, DfsPostOrder};
+#[doc(no_inline)]
+pub use crate::{Directed, Direction, Incoming, Outgoing, Undirected};
+
+#[doc(no_inline)]
+pub use crate::visit::EdgeRef;