public function calculateExampleWidth(ExampleNode $example, $indentation, $subIndentation)
    {
        $length = $this->calculateScenarioHeaderWidth($example, $indentation);

        foreach ($example->getSteps() as $step) {
            $stepLength = $this->calculateStepWidth($step, $indentation + $subIndentation);
            $length = max($length, $stepLength);
        }

        return $length;
    }