com.jgraph.layout.hierarchical
Class JGraphMinimumCycleRemover
java.lang.Object
com.jgraph.layout.hierarchical.JGraphMinimumCycleRemover
- All Implemented Interfaces:
- JGraphHierarchicalLayoutStep
public class JGraphMinimumCycleRemover
- extends Object
- implements JGraphHierarchicalLayoutStep
An implementation of the first stage of the Sugiyama layout. Straightforward
longest path calculation of layer assignment
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGraphMinimumCycleRemover
public JGraphMinimumCycleRemover()
run
public JGraphHierarchyModel run(JGraphFacade facade,
JGraphHierarchyModel model)
- Produces the layer assignmment using the graph information specified
- Specified by:
run
in interface JGraphHierarchicalLayoutStep
- Parameters:
facade
- the facade describing the input graphmodel
- an internal model of the hierarchical layout
- Returns:
- the updated hierarchy model
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.