y.layout
Class PartitionLayouter.OrthogonalInterEdgeRouter

java.lang.Object
  extended by y.layout.PartitionLayouter.OrthogonalInterEdgeRouter
All Implemented Interfaces:
PartitionLayouter.InterEdgeRouter
Enclosing class:
PartitionLayouter

public static class PartitionLayouter.OrthogonalInterEdgeRouter
extends Object
implements PartitionLayouter.InterEdgeRouter

InterEdgeRouter implementation that routes inter-edges using OrthogonalEdgeRouter.

 

Constructor Summary
PartitionLayouter.OrthogonalInterEdgeRouter()
          Creates a new instance of this class.
 
Method Summary
 OrthogonalEdgeRouter getOrthogonalEdgeRouter()
          Returns the OrthogonalEdgeRouter instance used to route inter-edges.
 void routeInterEdges(LayoutGraph graph, DataProvider clusterIDDP, DataProvider interEdgeDP)
          Routes inter-edges of the partitioned graph.
 void setOrthogonalEdgeRouter(OrthogonalEdgeRouter orthogonalEdgeRouter)
          Sets the OrthogonalEdgeRouter instance used to route inter-edges.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartitionLayouter.OrthogonalInterEdgeRouter

public PartitionLayouter.OrthogonalInterEdgeRouter()
Creates a new instance of this class.

Method Detail

routeInterEdges

public void routeInterEdges(LayoutGraph graph,
                            DataProvider clusterIDDP,
                            DataProvider interEdgeDP)
Description copied from interface: PartitionLayouter.InterEdgeRouter
Routes inter-edges of the partitioned graph.

Specified by:
routeInterEdges in interface PartitionLayouter.InterEdgeRouter
Parameters:
graph - the input graph
clusterIDDP - the partition id for each node in the graph.
interEdgeDP - holds a boolean value for each edge of the graph indicating if the edge is an inter-edge or not.

getOrthogonalEdgeRouter

public OrthogonalEdgeRouter getOrthogonalEdgeRouter()
Returns the OrthogonalEdgeRouter instance used to route inter-edges.


setOrthogonalEdgeRouter

public void setOrthogonalEdgeRouter(OrthogonalEdgeRouter orthogonalEdgeRouter)
Sets the OrthogonalEdgeRouter instance used to route inter-edges.


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