API Reference > ui-components > Tree > useVisibleTreeNodes useVisibleTreeNodes Function Beta Custom hook which returns visible nodes from model source and subscribes to onModelChanged event. useVisibleTreeNodes(modelSource: TreeModelSource): VisibleTreeNodes Parameter Type Description modelSource TreeModelSource Returns - VisibleTreeNodes Defined in ui/components/src/ui-components/tree/controlled/TreeHooks.ts Line 19 Last Updated: 13 June, 2024