get_tree_width_height

Function get_tree_width_height 

Source
fn get_tree_width_height(plan: &dyn ExecutionPlan) -> (usize, usize)
Expand description

Calculates the required dimensions of the tree. This ensures we allocate enough space for the entire tree structure.

§Arguments

  • plan - The execution plan to measure

§Returns

  • A tuple of (width, height) representing the dimensions needed for the tree