de.cau.cs.kieler.klodd.hierarchical.impl
Class RectilinearEdgeRouter

java.lang.Object
  extended by de.cau.cs.kieler.core.alg.AbstractAlgorithm
      extended by de.cau.cs.kieler.klodd.hierarchical.impl.RectilinearEdgeRouter
All Implemented Interfaces:
IAlgorithm, IEdgeRouter

public class RectilinearEdgeRouter
extends AbstractAlgorithm
implements IEdgeRouter

Edge routing algorithm that makes rectilinear edges.

Rating proposed yellow
(2009-12-11) msp

Constructor Summary
RectilinearEdgeRouter(ILayerwiseEdgePlacer thelayerwiseEdgePlacer)
          Creates a rectilinear edge router using a layerwise edge placer.
 
Method Summary
 void routeEdges(LayeredGraph layeredGraph, float theobjSpacing, float theborderSpacing)
          Route the edges of the given layered graph.
 
Methods inherited from class de.cau.cs.kieler.core.alg.AbstractAlgorithm
getMonitor, reset, reset, setProgressMonitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.cau.cs.kieler.core.alg.IAlgorithm
reset, reset, setProgressMonitor
 

Constructor Detail

RectilinearEdgeRouter

public RectilinearEdgeRouter(ILayerwiseEdgePlacer thelayerwiseEdgePlacer)
Creates a rectilinear edge router using a layerwise edge placer.

Parameters:
thelayerwiseEdgePlacer - layerwise edge placer used to route layer connections
Method Detail

routeEdges

public void routeEdges(LayeredGraph layeredGraph,
                       float theobjSpacing,
                       float theborderSpacing)
Route the edges of the given layered graph.

Specified by:
routeEdges in interface IEdgeRouter
Parameters:
layeredGraph - layered graph to process
theobjSpacing - minimal distance between two edges
theborderSpacing - spacing to the border