pub fn render(root: &dyn TreeNode, format: &OutputFormat) -> StringExpand description
Render root as format. The renderer walks root.children()
recursively — implementors are responsible for cycle prevention
(most cascade / dep / dag trees are naturally acyclic).