# TreeView Demo live scene tree inspector with expand/collapse. ```{raw} html ▶ Run in browser ``` **Tags:** `ui` Displays a simulated scene hierarchy in a TreeView widget. Users can expand/collapse branches, select items, add children to the selected node, or remove the selected node. A status label reflects the current selection. Run: uv run python examples/features/ui/tree.py ## Source ```{literalinclude} ../../examples/features/ui/tree.py :language: python :linenos: ```