Proxies to dynamically drop *multiple* nodes or edges from an already existing graph.
sg_drop_nodes_p(proxy, data, ids, refresh = TRUE, rate = "once")sg_drop_edges_p(proxy, data, ids, refresh = TRUE, rate = "once")
An object of class sigmajsProxy
as returned by sigmajsProxy
.
A data.frame
of nodes or edges.
Column containing ids to drop from the graph.
Whether to refresh the graph after node is dropped, required to take effect.
Refresh rate, either once
, the graph is refreshed after data.frame of nodes is added or at each iteration
(row-wise). Only applies if refresh
is set to TRUE
.
The proxy
object.