Description Usage Arguments Details
View source: R/render_pmap_file.R
You can save the process map to a file
1 2 3 4 |
p |
the process map created by |
file_name |
the file name to be stored |
format |
the file format, it can be |
width |
width of the image (optional) |
height |
height of the image (optional) |
use_external_dot |
Whether to use external |
The function depends on V8 engine, so please install v8
engine support on your platform before use the function.
For Ubuntu/Debian user, please install libv8-dev
package;
For Fedora/RHEL user, please install v8-devel
package;
For macOS user, please brew install v8@3.15
;
Example:
library(dplyr) library(pmap) eventlog <- generate_eventlog() p <- create_pmap(eventlog) render_pmap_file(p, file_name = "test.svg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.