grape.general_graph.GeneralGraph.indegree_centrality

property GeneralGraph.indegree_centrality

In-degree centrality of the graph. Returns the in-degree centrality if already stored in the nodes. Otherwise, the attribute is computed.

Returns

indegree_centrality attribute for every node.

Return type

dict