chart_verse: Create a SNAPverse flowchart diagram

Description Usage Arguments Value Examples

View source: R/diagrams.R

Description

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.

Usage

1
2
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

1
2
3
4
5
6
## 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)

## End(Not run)

leonawicz/snapsite documentation built on May 20, 2019, 10:21 p.m.