getEdgeAttributes {mully}R Documentation

Get the attributes of the edges connecting two nodes

Description

Get the attributes of the edges connecting two nodes

Usage

getEdgeAttributes(g, nodeStart, nodeDest)

Arguments

g

The input graph

nodeStart

The first endpoint of the edge

nodeDest

The second endpoint of the edge

Value

A dataframe containing the edges with their attributes. If both nodes' arguments are missing, it returns all the edges with their attributes.

Examples

g=mully::demo()
#Print all Edges
getEdgeAttributes(g)
#Get a Single Edge
getEdgeAttributes(g,"d2","g1")

[Package mully version 2.1.38 Index]