Create a DiagrammeR graph that represents the tree.

Usage

generate_grViz(obj, what = c("id", "data"), ...)

Arguments

obj
the tree that should be converted to a DiagrammeR graph.
what
select what to draw in the tree.
...
Additional arguments passed to create_nodes

Description

Create a DiagrammeR graph that represents the tree.