sg_drop_nodes_p {sigmajs} | R Documentation |
Drop nodes or edges
Description
Proxies to dynamically drop *multiple* nodes or edges from an already existing graph.
Usage
sg_drop_nodes_p(proxy, data, ids, refresh = TRUE, rate = "once")
sg_drop_edges_p(proxy, data, ids, refresh = TRUE, rate = "once")
Arguments
proxy |
An object of class |
data |
A |
ids |
Column containing ids to drop from the graph. |
refresh |
Whether to refresh the graph after node is dropped, required to take effect. |
rate |
Refresh rate, either |
Value
The proxy
object.
Note
Have the parameters from your initial graph match that of the node you add, i.e.: if you pass size
in your initial chart,
make sure you also have it in your proxy.
[Package sigmajs version 0.1.5 Index]