Proxies to dynamically remove a node or an edge to an already existing graph.
sg_drop_node_p(proxy, id, refresh = TRUE)sg_drop_edge_p(proxy, id, refresh = TRUE)
sg_drop_edge_p(proxy, id, refresh = TRUE)
An object of class sigmajsProxy as returned by sigmajsProxy.
sigmajsProxy
Id of edge or node to delete.
Whether to refresh the graph after node is dropped, required to take effect, if you are running force the algorithm is killed and restarted.
# NOT RUN { demo("drop-node", package = "sigmajs") # } # NOT RUN { # }
Run the code above in your browser using DataLab