Building the tree
Pages are added as nodes, then dragged onto other nodes to form parent-child edges. The result is a rooted tree: every node except the root has exactly one parent, so there is never ambiguity about which section a page belongs to. Re-parenting a node takes its whole subtree with it, and deleting a node removes its children as well.