export.Rd
Export graph to SVG.
sg_export_svg(sg, download = TRUE, file = "graph.svg", size = 1000, width = 1000, height = 1000, labels = FALSE, data = FALSE) sg_export_img(sg, download = TRUE, file = "graph.png", background = "white", format = "png", labels = FALSE) sg_export_img_p(proxy, download = TRUE, file = "graph.png", background = "white", format = "png", labels = FALSE) sg_export_svg_p(proxy, download = TRUE, file = "graph.svg", size = 1000, width = 1000, height = 1000, labels = FALSE, data = FALSE)
sg | An object of class |
---|---|
download | set to |
file | Name of file. |
size | Size of the SVG in pixels. |
width, height | Width and height of the SVG in pixels. |
labels | Whether the labels should be included in the svg file. |
data | Whether additional data (node ids for instance) should be included in the svg file. |
background | Background color of image. |
format | Format of image, takes |
proxy | An object of class |
#> Warning: Argument `n` is deprecated