getEdgeAttributes: Get the attributes of the edges connecting two nodes

View source: R/mully_edge.R

getEdgeAttributesR 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")

mully documentation built on March 7, 2023, 8:10 p.m.