plot_class_diagram <- function() {
str_grViz <- create_class_diagram()
str_grViz <- paste(
"
digraph G {
node [
shape = 'record'
]
", str_grViz, "}")
DiagrammeR::grViz(str_grViz)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.