#directed-acyclic-graph #graph #directed #acyclic #dag

daggy

A directed acyclic graph data structure library. It is Implemented on top of petgraph's Graph data structure and attempts to follow similar conventions where suitable.

14 releases (7 breaking)

0.8.0 Oct 30, 2021
0.7.0 May 23, 2020
0.6.0 Mar 14, 2018
0.5.0 Jun 17, 2017
0.3.0 Nov 24, 2015

#268 in Data structures

Download history 9149/week @ 2023-12-13 8045/week @ 2023-12-20 4200/week @ 2023-12-27 11770/week @ 2024-01-03 9317/week @ 2024-01-10 12367/week @ 2024-01-17 12844/week @ 2024-01-24 9895/week @ 2024-01-31 13269/week @ 2024-02-07 11161/week @ 2024-02-14 13459/week @ 2024-02-21 13525/week @ 2024-02-28 9352/week @ 2024-03-06 7498/week @ 2024-03-13 7259/week @ 2024-03-20 5099/week @ 2024-03-27

32,052 downloads per month
Used in 114 crates (22 directly)

MIT/Apache

78KB
1.5K SLoC

daggy Actions Status Crates.io Crates.io docs.rs

A directed acyclic graph data structure for Rust.

It is Implemented on top of petgraph's Graph data structure and attempts to follow similar conventions where suitable.

Usage

Please see the tests directory for some basic usage examples.

Use daggy in your project by adding it to your Cargo.toml dependencies like so:

[dependencies]
daggy = "*"

License

Dual-licensed to be compatible with the petgraph and Rust projects.

Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.

Dependencies

~1.5MB
~33K SLoC