getIDNode: Get the id of a node

View source: R/mully_node.R

getIDNodeR Documentation

Get the id of a node

Description

Get the id of a node

Usage

getIDNode(g, nameNode)

Arguments

g

The input graph

nameNode

The name of the node

Value

The id of the specified node as an integer

Examples

g=mully::demo()
getIDNode(g,"g1")

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