grape.general_graph.GeneralGraph.betweenness_centrality

property GeneralGraph.betweenness_centrality

Betweenness centrality of the graph. Returns the betweenness centrality if already stored in the nodes. Otherwise, the attribute is computed.

Returns

betweenness_centrality attribute for every node.

Return type

dict