removeEdge | R Documentation |
Delete an edge
removeEdge(g, nodeStart, nodeDest, attributes = NA, multi = FALSE)
g |
The input graph |
nodeStart |
The first endpoint of the edge |
nodeDest |
The second endpoint of the edge |
attributes |
The attributes of the edge to delete. Required if the nodes are multi-connected |
multi |
A boolean. Specifies whether to delete multiple edges or not, in case they exist. |
The mully graph with the deleted edges
g=mully::demo() removeEdge(g,"dr1","d2",multi=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.