getNodeAttributes: Get the attributes of a node

View source: R/mully_node.R

getNodeAttributesR Documentation

Get the attributes of a node

Description

Get the attributes of a node

Usage

getNodeAttributes(g, nameNode, layerByName = FALSE)

Arguments

g

The input graph

nameNode

The name of the node

layerByName

A boolean to specify whether to export the layers by name or by ID

Value

A dataframe containing the attributes of the specified node

Examples

g=mully::demo()
getNodeAttributes(g,layerByName = TRUE)

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