#directed-acyclic-graph #directed-graph #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

#1 in #directed-acyclic-graph

Download history 7188/week @ 2024-06-13 6119/week @ 2024-06-20 4388/week @ 2024-06-27 6127/week @ 2024-07-04 4207/week @ 2024-07-11 5864/week @ 2024-07-18 7630/week @ 2024-07-25 5764/week @ 2024-08-01 7251/week @ 2024-08-08 7332/week @ 2024-08-15 6947/week @ 2024-08-22 6996/week @ 2024-08-29 6662/week @ 2024-09-05 6232/week @ 2024-09-12 5894/week @ 2024-09-19 4969/week @ 2024-09-26

24,992 downloads per month
Used in 124 crates (25 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

~2.5MB
~34K SLoC