Editor model · interface
TreeRow
One line of the flattened tree. Reused between rebuilds; copy what you keep.
interface TreeRowimport type { TreeRow } from '@driftengine/editor';Properties
| Name | Type | Description |
|---|---|---|
node | SceneNode | |
depth | number | How deep, with the root at zero. What a panel indents by. |
hasChildren | boolean | Whether this node has children at all, which is what draws a twisty. |
expanded | boolean | Whether its children are showing. Meaningless when hasChildren is false. |
name | string |