Saves dot graph as file using system command 'dot' from GraphViz (https://graphviz.org/) if installed.
Source:R/visualize.r
save_dot_graph_as.Rd
Saves dot graph as file using system command 'dot' from GraphViz (https://graphviz.org/) if installed.
Usage
save_dot_graph_as(
dot_graph,
save_to_file = NULL,
save_as = c("png", "svg", "pdf"),
width = NULL,
height = NULL
)
Arguments
- dot_graph
Dot graph as a character string
- save_to_file
Name of file to save to. Without path or relative path saves to the R's current working directory. If NULL returns file content as string.
- save_as
File format. Default is "png"
- width
width of the procedures graph in pixels
- height
height of the procedures graph in pixels