removeEdge: Delete an edge

View source: R/mully_edge.R

removeEdgeR 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)

mully documentation built on March 7, 2023, 8:10 p.m.