de.cau.cs.kieler.kiml.ogdf
Class SelfLoopRouter

java.lang.Object
  extended by de.cau.cs.kieler.kiml.ogdf.SelfLoopRouter

public class SelfLoopRouter
extends Object

A router for self-loops.

Rating red

Constructor Summary
SelfLoopRouter()
           
 
Method Summary
 void exclude()
          Excludes all self-loops from the layout instead of calculating a routing.
 void postProcess(float loopDist)
          Layouts all self-loops that were removed during pre-processing.
 void preProcess(KNode layoutNode)
          Removes all self-loops from the graph, as they are not supported by the planarization layouter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfLoopRouter

public SelfLoopRouter()
Method Detail

preProcess

public void preProcess(KNode layoutNode)
Removes all self-loops from the graph, as they are not supported by the planarization layouter.

Parameters:
layoutNode - the parent node

postProcess

public void postProcess(float loopDist)
Layouts all self-loops that were removed during pre-processing.

Parameters:
loopDist - default distance of self-loops from the node

exclude

public void exclude()
Excludes all self-loops from the layout instead of calculating a routing.