Represents the node centrality values as computed by GraphCentrality.
Inheritance Hierarchy
GraphCentralityResult
Type Details
- yfiles module
- view-layout-bridge
- yfiles-umd modules
- view-layout-bridge
- Legacy UMD name
- yfiles.analysis.GraphCentralityResult
Properties
Gets a mapping from each node to its centrality value.
Remarks
The absolute centrality value can change drastically depending on graph structure and edge weights. The normalizedNodeCentrality values don't usually change as much, while still allowing to determine relative importance between nodes. If a subgraph is specified for the algorithm, the value is
-1
for all nodes that are not part of the subgraph.Gets a mapping from each node to its normalized centrality value.
Remarks
The normalized value is obtained by dividing nodeCentrality by maximumNodeCentrality. Thus the normalized values are all between
0
and 1
. If a subgraph is specified for the algorithm, the value is -1
for all nodes that are not part of the subgraph.