powered by
Get the ids of the edges connecting two nodes
getIDEdge(g, nodeStart, nodeDest)
A list containing the ids of the edges connecting the nodes
The input graph
The first endpoint of the edge
The second endpoint of the edge
g=mully::demo() getIDEdge(g,"d2","dr1")
Run the code above in your browser using DataLab