Creating flowchart with DiagrammeR nodes and edges instead of graphviz

%>% render_graph(layout = "tree")

will get you closer

1 Like