de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.alg
Class InteractiveCycleRemover
java.lang.Object
de.cau.cs.kieler.core.alg.AbstractAlgorithm
de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.alg.AbstractCycleRemover
de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.alg.InteractiveCycleRemover
- All Implemented Interfaces:
- IAlgorithm, ICycleRemover
public class InteractiveCycleRemover
- extends AbstractCycleRemover
A cycle remover that allows interactive layout by considering the node
positions given by the user.
- Rating

Fields inherited from interface de.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.alg.ICycleRemover |
REVERSED |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InteractiveCycleRemover
public InteractiveCycleRemover()
removeCycles
public void removeCycles(KSlimGraph graph)
- Remove cycles in a given graph. Loops on a single node are ignored and
have to be processed properly in later steps. Each edge is assigned a
rank with value
REVERSED
if and only if the edge was
reversed for cycle removal.
- Parameters:
graph
- graph to be processed
setVertical
public void setVertical(boolean thevertical)
- Activate vertical layout.
- Parameters:
thevertical
- if true, vertical layout is done, else
horizontal layout is done