API Reference > ui-components > Tree > BeInspireTree > getVisibleNodesBetween getVisibleNodesBetween Method Returns all visible nodes that are located between the two input nodes (inclusive). Input nodes can be provided in any order. getVisibleNodesBetween(node1: BeInspireTreeNode<TNodePayload>, node2: BeInspireTreeNode<TNodePayload>): Array<BeInspireTreeNode<TNodePayload>> Parameter Type Description node1 BeInspireTreeNode<TNodePayload> node2 BeInspireTreeNode<TNodePayload> Returns - Array<BeInspireTreeNode<TNodePayload>> Defined in ui/components/src/ui-components/tree/component/BeInspireTree.ts Line 498 Last Updated: 13 June, 2024