This function registers a method for knit_print()
for grViz objects.
With this method enabled, rendered HTML documents no longer require
a viz.js dependency.
Instead, embedded SVG is inserted into the Markdown.
The resulting HTML documents have a smaller footprint and are rendered faster.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.