OptionalchildrenBuilt only while the branch is open; a closed branch is marked by childrenCount alone.
OptionalchildrenMakes zag's isBranchNode true for a closed branch whose children were never read.
1-based depth, which is what zag reports as aria-level.
Read by zag's getNodeState from the node itself (it ignores isNodeDisabled there).
An open branch with no children: its caret stays (to close it) but reads as empty.
A section header (disposition: 'group'): rendered as a row, skipped by the keyboard, never selected.
OptionalitemAbsent only on the synthetic root, which zag needs but never renders.
Last of its parent's children in the collection, which offers the drop hitbox's reparent zones.
Machine value: the joined path, so the same item at two paths keeps independent state.
One node handed to zag's tree collection; only nodes on an open path are ever built. A group header (
disposition: 'group') is a row but never a collection node: its children are spliced into its parent's.