Closed yalopov closed 6 years ago
This would be great if someone could implement it. For large trees, recreating the tree everytime is really slow, making it impossible to do live-updates ... I use treelib to create a JSTree that is consumed by a web interface, the tree is 170k+ nodes and re-creating it takes a while (7 minutes).
Yup. It's a great idea. I would love to work on it. This might be greatly helpful for crawling web trees.
Yes, as well as dynamically changing some node attributes and re-saving the tree to the file, without having to recompute everything. Let me know if you need help on this. EDIT: I see there is already a pull request for this, see #73
Dup #85
Is there any way to restaure, load,or parse a tree from json, string or file?
After all we already have those methods for to save an existing tree object, it would be useful.
Thanks for your work