Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

drop_p

Remove node or edge


Description

Proxies to dynamically remove a node or an edge to an already existing graph.

Usage

sg_drop_node_p(proxy, id, refresh = TRUE)

sg_drop_edge_p(proxy, id, refresh = TRUE)

Arguments

proxy

An object of class sigmajsProxy as returned by sigmajsProxy.

id

Id of edge or node to delete.

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.

Value

The proxy object.


sigmajs

Interface to 'Sigma.js' Graph Visualization Library

v0.1.5
MIT + file LICENSE
Authors
John Coene [aut, cre, cph] (<https://orcid.org/0000-0002-6637-4107>)
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.