wolf_graph/
lib.rs

1//! A general graph data structure library with value semantics.
2//!
3//! by Wolf McNally
4
5mod details;
6
7pub use details::{
8    error::Error,
9    data::Data
10};
11
12mod ids;
13pub use ids::{NodeID, EdgeID};
14
15mod elements;
16pub use elements::{Nodes, Edges, Elements};
17
18mod graph;
19pub use graph::{Graph, BlankGraph};
20
21mod tree;
22pub use tree::{Tree, BlankTree};
23
24mod dag;
25pub use dag::{DAG, BlankDAG};
26
27mod compound;
28pub use compound::{Compound, BlankCompound, CompoundBase};
29
30mod forest;
31pub use forest::{Forest, BlankForest};
32
33mod reversed_graph;
34pub use reversed_graph::ReversedGraph;
35
36mod algo;
37pub use algo::{
38    DFSVisitor,
39    DepthFirstSearch,
40    TopologicalSort,
41    PathExists,
42    IsTree
43};
44
45mod traits;
46pub use traits::{
47    VisitableGraph,
48    MutableGraph,
49    VisitableTree,
50    MutableTree,
51    VisitableCompound,
52    MutableCompound,
53    VisitableForest,
54    MutableForest,
55};
56
57#[macro_use]
58mod macros;
59
60pub mod prelude;