tree.js is a minimal JavaScript library that can create and manipulate tree data structures.
download the
tree.min.jsfile from the latest release pagethen, include the library to your
.htmlfile with this snippet:<script src = "tree.min.js"></script>check the examples to learn the basics. you're on your own after that.