| applyDrop | Moves nodes to a drop target through adapter.move, keeping their order, and returns the moves. Undo them with undoMoves. Nodes already in place are moved too, so the list replays the same way. |
| drawLayerIcon | Draws the built-in icon of a layer kind. Centred on (x, y) in a size box. It adds to g and does not clear it. |
| dropTarget | Where a drag over the rows drops, for a pointer at y (in row space, 0 at the top of the first row). The middle of a row that takes children drops inside it. The top and bottom halves drop between rows. Below the last row of a subtree, x picks how far out the drop goes. Returns null for a drop the tree must refuse, such as a node into itself. |
| findParent | The parent of node, searched from root. For adapters without getParent. |
| flattenTree | Lists the visible rows of a tree, depth first: the children of root (or root itself with showRoot), and the children of every expanded node under them. |
| pixiTreeAdapter | A TreeAdapter for a Pixi scene graph. Rows list a container’s children front to back, so the last child is the top row. Names are label. Hiding sets visible. Locking turns pointer events off for the node and everything under it. Moves keep each node where it is on screen. |
| redoMoves | Applies the moves of applyDrop again, after undoMoves. |
| topLevelNodes | The nodes of nodes that have no ancestor in nodes, in row order. Dragging a group moves its children with it. |
| undoMoves | Puts back what applyDrop moved. |
| visibleRange | The rows a list of count rows of rowHeight shows when scrolled to scrollY, plus overscan either side. |