Skip to main content

libgraph/
lib.rs

1//! `libgraph` is a Rust library providing a generic graph data structure and fundamental graph algorithms.
2//!
3//! It supports undirected graphs with optional metadata associated with edges, and includes various
4//! graph generation methods as well as common traversal algorithms like Depth-First Search.
5
6pub mod graph;
7pub use graph::Graph;
8
9pub mod algorithms;
10pub use algorithms::dfs;
11pub use algorithms::traverse_tree;