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