Save a SNAPverse flowchart diagram to disk. The default context = "complete" is the only option at this time. Other arguments are passed to DiagrammeR::export_graph.

chart_verse(file_name, context = "complete", title = NULL,
  file_type = NULL, width = 350, height = NULL)

Arguments

file_name

output file name.

context

character, type of verse flowchart diagram. Defaults to "complete".

title

character, flowchart title.

file_type

the output file type.

width

numeric.

height

numeric.

Value

side effect of saving image file to disk.

Examples

# NOT RUN {
x <- "Simplified overview of the SNAPverse"
chart_verse(file_name = "sv_all.svg", title = x)
chart_verse(file_name = "sv_all.png", title = x, width = 800)
# }