Enum constants to define the clustering algorithm applied by the OrganicLayout
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.organic.OrganicLayoutClusteringPolicy
See Also
Constants
A clustering policy that clusters the nodes using edge betweenness centrality.
Remarks
See Also
A clustering policy that clusters the nodes using the label propagation algorithm.
Remarks
This algorithm iteratively assigns a so-called label to each node. The label of a node is set to the most frequent label among its neighbors. If there are multiple candidates the algorithm randomly chooses one of them. In the end, all nodes with the same label belong to the same community.
Compared to the other clustering policies, the label propagation often offers very good performance. However, the results are rather unstable, i.e., small changes in the input may lead to significantly different node clusters. If stable results are important, it is recommended to select another policy.
See Also
A clustering policy that clusters the nodes using the louvain modularity method.
Remarks
The louvain algorithm starts by assigning each node to its own community. Then, it iteratively tries to construct clusters by moving nodes from their current community to another until the modularity is locally optimized.
As a clustering policy, louvain modularity offers a good trade-off between quality and performance.
See Also
A policy that indicates that no automatic clustering is applied to the input graph.
See Also
A clustering policy that considers user-specified node clusters.
Remarks
See Also
Static Methods
Converts the argument to OrganicLayoutClusteringPolicy.
Parameters
A map of options to pass to the method.
- value - OrganicLayoutClusteringPolicy
- The value to convert to OrganicLayoutClusteringPolicy.
Returns
- ↪OrganicLayoutClusteringPolicy
- Either
value
if it is already a OrganicLayoutClusteringPolicy or an appropriate converted value.