#tree #graph #numbers #rose

rose_tree

An indexable tree data structure with a variable and unbounded number of branches per node. It is Implemented on top of petgraph's Graph data structure and attempts to follow similar conventions where suitable.

5 unstable releases

Uses old Rust 2015

0.3.0 Aug 3, 2021
0.2.0 Feb 28, 2020
0.1.2 Sep 4, 2016
0.1.1 Oct 8, 2015
0.1.0 Oct 8, 2015

#1889 in Data structures

Download history 534/week @ 2023-11-23 375/week @ 2023-11-30 365/week @ 2023-12-07 481/week @ 2023-12-14 333/week @ 2023-12-21 253/week @ 2023-12-28 371/week @ 2024-01-04 479/week @ 2024-01-11 418/week @ 2024-01-18 329/week @ 2024-01-25 244/week @ 2024-02-01 340/week @ 2024-02-08 411/week @ 2024-02-15 322/week @ 2024-02-22 389/week @ 2024-02-29 312/week @ 2024-03-07

1,474 downloads per month

MIT/Apache

16KB
199 lines

rose_tree Actions Status Crates.io Crates.io docs.rs

An implementation of the rose tree (aka multi-way tree) data structure for Rust.

An indexable tree data structure with a variable and unbounded number of branches per node.

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.

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.

Beautiful ascii source.

Dependencies

~1.5MB
~29K SLoC