API Reference > ui-components > Tree > VisibleTreeNodes VisibleTreeNodes Interface Beta Data structure that describes set of visible tree nodes as a flat list. Extends Iterable<TreeModelNode | TreeModelNodePlaceholder> Methods Name Description getAtIndex(index: number): TreeModelNode | TreeModelNodePlaceholder | undefined getModel(): TreeModel getNumNodes(): number getNumRootNodes(): number | undefined Inherited methods Name Inherited from Description Symbol.iterator(): Iterator<TreeModelNode | TreeModelNodePlaceholder> Iterable.Symbol Defined in ui/components/src/ui-components/tree/controlled/TreeModel.ts Line 168 Last Updated: 13 June, 2024