Skip to contents

Convert a NetVis graph response to tidygraph

Usage

as_tidygraph(graph_response)

Arguments

graph_response

A list with $nodes and $edges tibbles, as returned by get_neighbors(), get_subgraph(), or find_path().

Value

A tidygraph::tbl_graph object.

Examples

if (FALSE) { # \dontrun{
resp <- get_neighbors("H:UNITCM_H001")
tg <- as_tidygraph(resp)
} # }