powered by
Proxies to dynamically add a node or an edge to an already existing graph.
sg_add_node_p(proxy, data, ..., refresh = TRUE)sg_add_edge_p(proxy, data, ..., refresh = TRUE)
sg_add_edge_p(proxy, data, ..., refresh = TRUE)
An object of class sigmajsProxy as returned by sigmajsProxy.
sigmajsProxy
A data.frame of _one_ node or edge.
data.frame
any column.
Whether to refresh the graph after node is dropped, required to take effect, if you are running force the algorithm is killed.
The proxy object.
proxy
# NOT RUN { demo("add-node", package = "sigmajs") demo("add-edge", package = "sigmajs") demo("add-node-edge", package = "sigmajs") # } # NOT RUN { # }
Run the code above in your browser using DataLab