powered by
Get the attributes of the edges connecting two nodes
getEdgeAttributes(g, nodeStart, nodeDest)
A dataframe containing the edges with their attributes. If both nodes' arguments are missing, it returns all the edges with their attributes.
The input graph
The first endpoint of the edge
The second endpoint of the edge
g=mully::demo() #Print all Edges getEdgeAttributes(g) #Get a Single Edge getEdgeAttributes(g,"d2","g1")
Run the code above in your browser using DataLab