//! Node state information for rendering.
/// State information for rendering a node.
///
/// Provides context about a node's current state during rendering,
/// allowing the render function to customize the display based on
/// selection, expansion, and position in the tree.
///
/// # Example
///
/// ```rust
/// use ratatui_toolkit::tree_view::NodeState;
///
/// let state = NodeState {
/// is_selected: true,
/// is_expanded: false,
/// level: 0,
/// has_children: true,
/// path: vec![0],
/// };
/// ```