Treed: A Tree Editor in JavaScript
github.com
github.com
The first thing this reminded me of is Concord, Dave Winer's outliner:
https://github.com/scripting/concord
I've had that sitting in a tab since I read about it on Hacker News a year or two ago. Unfortunately, it doesn't seem to have been updated since.
There's a glitch when expanding or closing a node. New nodes coalesce into a point that's hanging in the vacuum instead of the parent node.