Represents the node centrality values as computed by WeightCentrality.
Inheritance Hierarchy
WeightCentralityResult
Type Details
- yfiles module
- view-layout-bridge
- yfiles-umd modules
- view-layout-bridge
- Legacy UMD name
- yfiles.analysis.WeightCentralityResult
Properties
Gets a mapping from each node to its absolute 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.
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
.