make_diagram
creates a
make_diagram( report_file = knitr::current_input(dir = TRUE), critical = list(names = "lustering|uality", color = "Gold"), exclude = "libraries", style = "single-cell", extra_connections = NULL, critical_connections = NULL, central_node = "", last_node = "" )
report_file | Step's list or Reportr object, Default: knitr::current_input(dir = TRUE). |
---|---|
critical | Critical steps, Default: list(names = "lustering|uality", color = "Gold"). |
exclude | Exclude these steps, Default: 'libraries'. |
style | Style has a pre-set of connections between steps, Default: 'single-cell'. |
extra_connections | This further modifies connections, Default: NULL. |
critical_connections | Makes the connection red, Default: NULL. |
central_node | Step connected to the rest after it, Default: ''. |
last_node | Last step in the diagram, Default: ''. |
Spec for a Graphviz diagram as text.
At the moment is more difficult to get the right titles from a list or an Reportr object
if (FALSE) { if(interactive()){ DiagrammeR::grViz(make_diagram(list("Step1"= 1, "Step2" = 2), style = NULL)) } }