Learn R Programming

mully (version 2.1.38)

getIDEdge: Get the ids of the edges connecting two nodes

Description

Get the ids of the edges connecting two nodes

Usage

getIDEdge(g, nodeStart, nodeDest)

Value

A list containing the ids of the edges connecting the nodes

Arguments

g

The input graph

nodeStart

The first endpoint of the edge

nodeDest

The second endpoint of the edge

Examples

Run this code
g=mully::demo()
getIDEdge(g,"d2","dr1")

Run the code above in your browser using DataLab