R/viz_mention_centrality_network.R
viz_mention_centrality_network.Rd
Create a mention network visualisation from the output of a ConnectR centrality function.
viz_mention_centrality_network(
centrality_frame,
from = from,
to = to,
size,
colour,
type = "interactive",
label_prop = 0.05,
directed = TRUE,
physics = FALSE,
...
)
The output of `ConnectR::calculate_centrality()` or `ConnectR::create_supercluster()`
Author of post
Mentioned user
The variable by which nodes should be sized
The variable by which nodes should be coloured
Whether an "interactive" or "static"
The proportion of node which should be labelled in a static graph
Whether the graph is directed or not - ought to be the same as the call to previous functions!
Whether to move nodes by physical laws or not - this can be time consuming
Arguments sent to `visNetwork::visNetwork()` e.g. `height = "900px", main = "[Graph title/headline]", submain = "[explanatory text]`
a network visualisation