public static interface PartitionLayout.IPartitionFinder
PartitionLayout.IPartitionFinder is responsible for partitioning the input graph.static PartitionLayout.IPartitionFinder createEdgeBetweennessPartitionFinder()
PartitionLayout.IPartitionFinder that uses Groups.edgeBetweennessClustering(com.yworks.yfiles.algorithms.Graph, INodeMap, boolean, int, int, IDataProvider)
as strategy for finding graph partitions.static PartitionLayout.IPartitionFinder createEdgeBetweennessPartitionFinder(int minimumPartitionCount)
PartitionLayout.IPartitionFinder that uses Groups.edgeBetweennessClustering(com.yworks.yfiles.algorithms.Graph, INodeMap, boolean, int, int, IDataProvider)
as strategy for finding graph partitions.minimumPartitionCount - The minimum number of partitions the result should have.static PartitionLayout.IPartitionFinder createEdgeBetweennessPartitionFinder(int minimumPartitionCount, int maximumPartitionCount)
PartitionLayout.IPartitionFinder that uses Groups.edgeBetweennessClustering(com.yworks.yfiles.algorithms.Graph, INodeMap, boolean, int, int, IDataProvider)
as strategy for finding graph partitions.minimumPartitionCount - The minimum number of partitions the result should have.maximumPartitionCount - The maximum number of partitions the result should have.void findPartitions(LayoutGraph graph, INodeMap partitionIDMap)
Nodes that share a common partition ID are considered to belong to the same partition.
graph - the input graphpartitionIDMap - the map that is filled with the resulting partition IDs