addEdge | R Documentation |
Add an edge
addEdge(g, nodeStart, nodeDest, attributes)
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 |
The mully graph, with the added edge
g=mully::demo() addEdge(g,"dr3","g2",attributes=list(name="newEdge"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.