pub fn get_selected_node<'a>( roots: &'a [TreeNode], state: &TreeState, ) -> Option<&'a TreeNode>
Get the currently selected node ID.