addEdges | R Documentation |
Add or remove edges
addEdges(graph, edges, ..., remDup = TRUE)
removeEdges(graph, edges, ..., force = FALSE, fast = FALSE)
graph |
a |
edges |
list of edges to be added/removed |
... |
edges to be added with arguments matching names of edge types |
remDup |
logical: should we check for duplicate edges? |
force |
should we just ignore edges not actually present? |
fast |
fast version for when graph already uses adjacency matrices |
The remDup
argument is set by default to
remove duplicate edges. Currently removeEdges()
forces
all edges to be represented by adjacency matrices.
The fast
argument for removeEdges
requires that
the edge to be removed is given as a single vector of length 2.
removeEdges()
: remove edges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.