removeEdge {mully} | R Documentation |
Delete an edge
Description
Delete an edge
Usage
removeEdge(g, nodeStart, nodeDest, attributes = NA, multi = FALSE)
Arguments
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. |
Value
The mully graph with the deleted edges
Examples
g=mully::demo()
removeEdge(g,"dr1","d2",multi=TRUE)
[Package mully version 2.1.38 Index]