pub fn get_visible_paths<T>(
nodes: &[TreeNode<T>],
state: &TreeViewState,
) -> Vec<Vec<usize>>Expand description
Gets all visible paths (flattened tree with expansion state).
Returns paths for all nodes that are currently visible, respecting the expansion state of parent nodes.
§Arguments
nodes- The tree nodesstate- The tree view state (for expansion info)
§Returns
A vector of paths (each path is a Vec<usize>) for all visible nodes.