# NOT RUN {
nodes <- sg_make_nodes(50)
edges <- sg_make_edges(nodes, 100)
sigmajs() %>%
sg_nodes(nodes, id, label, size) %>%
sg_edges(edges, id, source, target) %>%
sg_force() %>%
sg_force_stop() # stop force after 5 seconds
# }
Run the code above in your browser using DataLab