draw_nodes

Function draw_nodes 

Source
pub fn draw_nodes<T: TreeVizNode + Hash>(graph_name: &str, node: T) -> String
Expand description

Returns a visualisation of the tree with the root node node in the GraphViz DOT format, as a string.

  • graph_name is the name of the graph, which will have spaces and non-ascii characters removed to comply with DOT’s format restrictions.