read_svg | R Documentation |
SVG (standard vector graphic) files are structured text files in XML format (Extensible Markup Language). They contain descriptions of vector objects such as circles, rectangles, and paths. This function 'reads' an XML file by parsing it and stores it in an object of class 'XMLsvg'.
read_svg(file, ...)
file |
(character) path to '.svg' file |
... |
other arguments passed down to 'xmlParse' |
# read an svg file
# SVG <- read_svg("example.svg")
# alternatively, simply load example shipped with package
#data(example_network)
#print(rounded_rect)
#summary(example_network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.