drag-nodes.Rd
Allow user to drag and drop nodes.
sg_drag_nodes(sg) sg_drag_nodes_start_p(proxy) sg_drag_nodes_kill_p(proxy)
sg | An object of class |
---|---|
proxy | An object of class |
#> Warning: Argument `n` is deprecatedsigmajs() %>% sg_nodes(nodes, id, label, size) %>% sg_edges(edges, id, source, target) %>% sg_drag_nodes()# NOT RUN { # proxies demo("drag-nodes", package = "sigmajs") # }