Skip to contents

Convert a NetVis graph response to igraph

Usage

as_igraph(graph_response)

Arguments

graph_response

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

Value

An igraph graph object.

Examples

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