Search this API

y.layout
Interface PartitionLayouter.PartitionFinder

All Known Implementing Classes:
PartitionLayouter.EdgeBetweennessPartitionFinder
Enclosing class:
PartitionLayouter

public static interface PartitionLayouter.PartitionFinder

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


Method Summary
 void findPartitions(LayoutGraph graph, NodeMap partitionIDMap)
          Returns a partition id for each node of an input graph.
 

Method Detail

findPartitions

void findPartitions(LayoutGraph graph,
                    NodeMap partitionIDMap)
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 - the input graph
partitionIDMap - used to return the resulting partition ids

© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.