View source: R/show_fullyMergedCodeTrees.R
show_fullyMergedCodeTrees | R Documentation |
Show the fully merged code tree(s)
show_fullyMergedCodeTrees(x)
x |
A parsed source(s) object. |
The result of a call to DiagrammeR::render_graph()
.
### Get path to example source
examplePath <-
system.file("extdata", package="rock");
### Get a path to one example file
exampleFile <-
file.path(examplePath, "example-1.rock");
### Load example source
loadedExample <- rock::parse_source(exampleFile);
### Show merged code tree
show_fullyMergedCodeTrees(loadedExample);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.