powered by
Get the attributes of a node
getNodeAttributes(g, nameNode, layerByName = FALSE)
A dataframe containing the attributes of the specified node
The input graph
The name of the node
A boolean to specify whether to export the layers by name or by ID
g=mully::demo() getNodeAttributes(g,layerByName = TRUE)
Run the code above in your browser using DataLab