43 releases (15 stable)

8.1.2 Jan 30, 2025
6.0.0-alpha.1 Jun 16, 2023
5.0.0 Aug 1, 2023
4.0.0 Jun 22, 2023
0.1.0-alpha.1 Jul 22, 2020

#1090 in Data structures

48 downloads per month
Used in 9 crates (5 directly)

BSD-2-Clause

115KB
2K SLoC

This crate offers traits for graph datastructures as well as implementations of these traits.


Traitgraph

A Rust crate to represent graphs.

The basic principle of this crate is to define all methods on traits, and then implement these for concrete graph representations. Currently, only petgraph is supported as a representation.

Dependencies

~3.5MB
~57K SLoC