#graph #trait #abstract #implementation

traitgraph

Abstracting over different graph representations

31 releases (9 stable)

2.2.0 Jun 9, 2022
1.5.0 Jun 8, 2022
0.10.0 Mar 8, 2022
0.5.1 Dec 16, 2021
0.1.0-alpha.1 Jul 22, 2020

#601 in Data structures

Download history 34/week @ 2022-11-27 63/week @ 2022-12-04 75/week @ 2022-12-11 42/week @ 2022-12-18 32/week @ 2022-12-25 13/week @ 2023-01-01 32/week @ 2023-01-08 17/week @ 2023-01-15 48/week @ 2023-01-22 68/week @ 2023-01-29 75/week @ 2023-02-05 75/week @ 2023-02-12 154/week @ 2023-02-19 72/week @ 2023-02-26 52/week @ 2023-03-05 22/week @ 2023-03-12

301 downloads per month
Used in 7 crates (5 directly)

BSD-2-Clause

72KB
1.5K SLoC

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.


lib.rs:

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

Dependencies

~1.5MB
~28K SLoC