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,
  ...
)

Arguments

centrality_frame

The output of calculate_centrality or create_supercluster

from

Retweeter

to

Retweeted

size

By which metric to size each node and which metric to label

colour

By which metric to colour each node

type

"static" or "interactive" - self-explanatory

label_prop

Proportion of nodes that should be lablled

layout

must be an igraph compatible layout,

directed

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

Value

A network visualisation