Expand description
The tree’s model: what the view knows of the application’s tree.
The application owns its tree; the view keeps a cache of the branches it loaded, keyed by node, so that edits (insert, remove, move, rename) arriving at any time keep the selection and the expansion, which are keyed too. The rows on screen are the cache flattened through the expanded branches, rebuilt only when something changed.