R/viz_centrality_network.R
viz_centrality_network.Rd
Create a network visualisation from a tbl_graph with centrality measures calculated.
viz_centrality_network(
centrality_frame,
from = from,
to = to,
size = NULL,
colour = NULL,
type = "interactive",
label_prop = 0.05,
layout = "nicely",
directed = TRUE,
physics = FALSE,
...
)
The output of calculate_centrality or create_supercluster
Retweeter
Retweeted
By which metric to size each node and which metric to label
By which metric to colour each node
"static" or "interactive" - self-explanatory
Proportion of nodes that should be lablled
must be an igraph compatible layout,
Whether the network should be directed TRUE or undirected FALSE
fed to visNetwork, recommended to pre-define height & size of interactive chart. See ?vizNetwork for full options
A network visualisation