addEdge {mully} | R Documentation |
Add an edge
Description
Add an edge
Usage
addEdge(g, nodeStart, nodeDest, attributes)
Arguments
g |
The input graph |
nodeStart |
The first endpoint of the edge |
nodeDest |
The second endpoint of the edge |
attributes |
The attributes to assign to the edge |
Value
The mully graph, with the added edge
Examples
g=mully::demo()
addEdge(g,"dr3","g2",attributes=list(name="newEdge"))
[Package mully version 2.1.38 Index]