calculate_centrality_measures#
- calculate_centrality_measures(network: Graph) DataFrame[source]#
Calculate centrality measures for each node in network.
Measures include:
Degree centrality = quantifies how many neighbors a node has
Closeness centrality = quantifies how close a node is to all other nodes in the network
Betweenness centrality = quantifies the extent to which a vertex lies on shortest paths between other vertices
- Parameters:
network – The network object.
- Returns:
Centrality measures for each node in the network.