Editor model · interface

TreeRow

One line of the flattened tree. Reused between rebuilds; copy what you keep.

interface TreeRow
import type { TreeRow } from '@driftengine/editor';

Properties

NameTypeDescription
nodeSceneNode
depthnumberHow deep, with the root at zero. What a panel indents by.
hasChildrenbooleanWhether this node has children at all, which is what draws a twisty.
expandedbooleanWhether its children are showing. Meaningless when hasChildren is false.
namestring