# NOT RUN {
nodes <- sg_make_nodes()
edges <- sg_make_edges(nodes, 17)
sigmajs() %>%
sg_nodes(nodes, id, size) %>%
sg_edges(edges, id, source, target) %>%
sg_export_svg() %>%
sg_button("export_svg", "download")
# }
Run the code above in your browser using DataLab