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