Package | com.yworks.yfiles.layout |
Interface | public interface PartitionLayouter_PartitionFinder |
Implementors | PartitionLayouter_EdgeBetweennessPartitionFinder |
Method | Defined By | ||
---|---|---|---|
Returns a partition id for each node of an input graph. | PartitionLayouter_PartitionFinder |
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
|