library(rgexf)
# Accessing the path of the file
fn <- system.file(
"gexf-graphs/lesmiserables.gexf", package = "rgexf"
)
lesmi <- read.gexf(fn)
plot(lesmi, dir = "lesmiserables", overwrite = TRUE, copy.only = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.