Skip to main content

execution_plan_tree

Function execution_plan_tree 

Source
pub fn execution_plan_tree(plan: &ExecutionPlanResponse) -> String
Expand description

Render an execution plan as an indented tree.

One line per step. Members of a parallel wave sit under a parallel-N header and are indented one extra level; sub-workflow steps are indented by their depth. A step carrying a condition shows why the planner took that branch.

ยงExamples

use ironflow_cli::output::execution_plan_tree;
use ironflow_sdk::types::ExecutionPlanResponse;

println!("{}", execution_plan_tree(plan));