Read a specific graphviz file as a knitr chunk.
1 | read_graphviz_chunk(name, package, new_name)
|
name |
The name of the graphviz file. Can be the path to a graphviz file or the basename of a graphviz file installed in a specific package. |
package |
Optional. The package to search in if the provided name does not exist. |
new_name |
Optional. Specify the name of the chunk to load. Defaults to using the basename of the file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.