The graph object on which calculate the degree centrality
The direction of the edges to include in the degree centrality calculation.
Pass true to normalize the values by the maximum number of possible connections.
Get the specified node's centrality value
Get the specified node's centrality value
Node
Centrality value for the n-th node
Run the centrality calculation and update centralityValues
Run the centrality calculation and update centralityValues
The centrality values of the graph
Calculate the degree centrality for a specific graph and direction. If normalization is
then divide each node's degree centrality by the maximum number of possible connections within the graph.true