This function demonstrates the input graph in which the size of nodes indicates calculated centrality value.
visualize_graph(x, computed_centrality_value = NULL,
centrality.type = "Degree Centrality")
an igraph object
A vector containing the values of calculated centrality measure for each node.
The type of centrality which should be calculated.
a plot illustrating the graph
This function represents the graph in which size of nodes are based on computed centrality value. If the values of wanted centrality measure were computed then by placing them in computed_centrality_value argument to use it for drawing the plot. Otherwise, by only giving the name of favorite centrality measure in centrality.type argument, this function will calculate it and then demonstrates the corresponding graph.