There is a solution for building a tree using HTML + CSS. A little more JS is used to implement the function of folding tree nodes.
Here is the actual example.
The problem is that with a large number of nodes, the latter do not fit in the parent container. Can you suggest any ideas for fixing this problem? That just did not try: and worked with the overflow property and javascript enabled - to no avail.
I will be glad both to the ready decision, and to its verbal description. Thank you in advance.
PS: Original - CSS3 Family Tree