GeneralGraph.
closeness_centrality
Closeness centrality of the graph. Returns the closeness centrality if already stored in the nodes. Otherwise, the attribute is computed.
closeness_centrality attribute for every node.
dict