grape.parallel_general_graph.ParallelGeneralGraph.compute_degree_centrality¶
-
ParallelGeneralGraph.
compute_degree_centrality
()[source]¶ Degree centrality calculation.
Note
Degree centrality is a simple centrality measure that counts how many neighbors a node has in an undirected graph. The more neighbors the node has the most important it is, occupying a strategic position that serves as a source or conduit for large volumes of flux transactions with other nodes. A node with high degree centrality is a node with many dependencies.
- Returns
degree centrality computed for every node.
- Return type
multiprocessing.managers.dict