This is an amazing tool, thank you for building it!
I'd like to be able to update the json structure dynamically and preserve which nodes are open or folded.
Perhaps by having a way to query for the currently 'open' nodes, and to pass that result in when generating the replacement HTML. The query result would have to be somewhat aware of the data content so that nodes not present after the update are ignored. This same mechanism could be used to give people fine grained control over which nodes are opened during the initial display.
This is an amazing tool, thank you for building it!
I'd like to be able to update the json structure dynamically and preserve which nodes are open or folded.
Perhaps by having a way to query for the currently 'open' nodes, and to pass that result in when generating the replacement HTML. The query result would have to be somewhat aware of the data content so that nodes not present after the update are ignored. This same mechanism could be used to give people fine grained control over which nodes are opened during the initial display.