Packagecom.yworks.yfiles.layout
Interfacepublic interface PartitionLayouter_PartitionFinder
Implementors PartitionLayouter_EdgeBetweennessPartitionFinder

Implementations of this interface are responsible to partition the input graph.



Public Methods
 MethodDefined By
  
findPartitions(graph:LayoutGraph, partitionIDMap:NodeMap):void
Returns a partition id for each node of an input graph.
PartitionLayouter_PartitionFinder
Method Detail
findPartitions()method
public function findPartitions(graph:LayoutGraph, partitionIDMap:NodeMap):void

Returns a partition id for each node of an input graph. Nodes that share a common partition id will be considered to belong to the same partition.

Parameters

graph:LayoutGraph — the input graph
 
partitionIDMap:NodeMap — used to return the resulting partition ids