Type Details
- yfiles module
- algorithms
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.algorithms.NodeAggregationPolicy
See Also
Constants
An aggregation policy that specifies that nodes are aggregated according to their geometric position.
Remarks
More precisely, nodes that are placed close to each other are more likely to be contained in the same cluster. The coordinates of the nodes have to be specified by the user by means of a IDataProvider registered to the graph with key NODE_CENTER_DP_KEY.
See Also
Using this policy, the edges are completely ignored during the aggregation.
An aggregation policy that specifies that nodes are aggregated according to their structure, that is, the connectivity.
Static Methods
Converts the argument to NodeAggregationPolicy.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - NodeAggregationPolicy
- The value to convert to NodeAggregationPolicy.
Returns
- ↪NodeAggregationPolicy
- Either
value
if it is already a NodeAggregationPolicy or an appropriate converted value.