powered by
Delete an edge
removeEdge(g, nodeStart, nodeDest, attributes = NA, multi = FALSE)
The mully graph with the deleted edges
The input graph
The first endpoint of the edge
The second endpoint of the edge
The attributes of the edge to delete. Required if the nodes are multi-connected
A boolean. Specifies whether to delete multiple edges or not, in case they exist.
g=mully::demo() removeEdge(g,"dr1","d2",multi=TRUE)
Run the code above in your browser using DataLab