prep_for_visNetwork: Create data.frames needed for visNetwork visualization

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

visNetwork has a helper function for igraph structures, visIgraph, but setting certain attributes (e.g., labels) doesn't seem to work well. This is a work-around.

Usage

1

Arguments

g

The graph to be visualized

Value

A list of two dataframes, nodes and edges

See Also

if any see alsos

Examples

1

jacob-ogre/USNVC documentation built on May 18, 2019, 8 a.m.