GeneralGraph.
degree_centrality
Degree centrality of the graph. Returns the degree centrality if already stored in the nodes. Otherwise, the attribute is computed.
degree_centrality attribute for every node.
dict