Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jifalops/node_tree

An unbalanced tree of arbitrary but limitable breadth and depth. Supports random and asynchronous generation.
https://github.com/jifalops/node_tree

Last synced: about 2 months ago
JSON representation

An unbalanced tree of arbitrary but limitable breadth and depth. Supports random and asynchronous generation.

Awesome Lists containing this project

README

        

# node_tree

An unbalanced tree of arbitrary but limitable breadth and depth. Supports random and asynchronous generation.

Node children are kept in a HashMap instead of a list to support arbitrary placement.

"Breadth" (`maxBreadth`) here refers to the number of children per node, not to the tree itself.