snark_tool/graph/
mod.rs

1//! Module graph contains graph structures.
2//!
3//! # Basic usage:
4//!
5//! ```
6//! use snark_tool::graph::graph::{Graph, GraphConstructor};
7//! use snark_tool::graph::undirected::simple_graph::graph::SimpleGraph;
8//!
9//! fn main() {
10//!     let mut graph = SimpleGraph::new();
11//!     graph.add_edge(0, 5);
12//!     graph.add_edge(2, 4);
13//!
14//!     for edge in graph.edges() {
15//!         println!("{:?}", edge);
16//!     }
17//! }
18//! ```
19
20pub mod directed;
21pub mod edge;
22pub mod graph;
23pub mod undirected;
24pub mod vertex;