Skip to main content

render

Function render 

Source
pub fn render(root: &dyn TreeNode, format: &OutputFormat) -> String
Expand 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).