sg_drop_node_p

0th

Percentile

Remove node or edge

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.

Aliases
  • sg_drop_node_p
  • sg_drop_edge_p
Examples
# NOT RUN {
demo("drop-node", package = "sigmajs")
# }
# NOT RUN {
# }
Documentation reproduced from package sigmajs, version 0.1.3, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.