Skip to contents

get the id of node from a tbl_graph as created with tidygraph::tbl_graph() or dataframe converted with tidygraph::as_tbl_graph()

Usage

get_node_id(graph, query)

Arguments

graph

a tbl_graph

querie

the name of the node

Examples