getEdgeAttributes | R Documentation |
Get the attributes of the edges connecting two nodes
getEdgeAttributes(g, nodeStart, nodeDest)
g |
The input graph |
nodeStart |
The first endpoint of the edge |
nodeDest |
The second endpoint of the edge |
A dataframe containing the edges with their attributes. If both nodes' arguments are missing, it returns all the edges with their attributes.
g=mully::demo() #Print all Edges getEdgeAttributes(g) #Get a Single Edge getEdgeAttributes(g,"d2","g1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.