Description Usage Arguments Value Note Examples
Proxies to dynamically add *multiple* nodes or edges to an already existing graph.
1 2 3 | sg_add_nodes_p(proxy, data, ..., refresh = TRUE, rate = "once")
sg_add_edges_p(proxy, data, ..., refresh = TRUE, rate = "once")
|
proxy |
An object of class |
data |
A |
... |
any column. |
refresh |
Whether to refresh the graph after node is dropped, required to take effect, if you are running force the algorithm is killed and restarted at every iteration.. |
rate |
Refresh rate, either |
The proxy
object.
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.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.