I am using the library TreeModel. It has great documentation except for the fact that it doesnt show how to actually show the tree in the html ? Does anyone have a clue ?
I'm doing this cause I am practicing my data structures in building a Binary Search Tree and I would like to see visually how my code is written out. TreeModel seems to be the best option.
Thanks
HTML-document itself is a tree of nodes (elements). So if you need to display your tree, you should create same tree using HTML elements.
E.g.
is equivalent to something like this: