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

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

#173 in Data structures

Download history 6368/week @ 2024-07-23 6882/week @ 2024-07-30 6851/week @ 2024-08-06 6150/week @ 2024-08-13 7890/week @ 2024-08-20 6935/week @ 2024-08-27 6949/week @ 2024-09-03 6841/week @ 2024-09-10 5664/week @ 2024-09-17 6304/week @ 2024-09-24 4721/week @ 2024-10-01 4848/week @ 2024-10-08 6152/week @ 2024-10-15 6252/week @ 2024-10-22 5193/week @ 2024-10-29 6073/week @ 2024-11-05

24,411 downloads per month
Used in 128 crates (26 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

~2MB
~33K SLoC