This may be interesting to you:
I've also done work on a tree based data structure intended to represent arbitrary structures and allow fast structural editing: https://github.com/MatrixAI/js-tree-order-index It's not finished and is based on the paper dynamic hierarchal trees. http://www.vldb.org/pvldb/vol8/p986-finis.pdf
The same author has also got an interesting version tree data structure as well.
This may be interesting to you:
I've also done work on a tree based data structure intended to represent arbitrary structures and allow fast structural editing: https://github.com/MatrixAI/js-tree-order-index It's not finished and is based on the paper dynamic hierarchal trees. http://www.vldb.org/pvldb/vol8/p986-finis.pdf
The same author has also got an interesting version tree data structure as well.