com.jgraph.layout.hierarchical
Class JGraphLongestPathLayering
java.lang.Object
com.jgraph.layout.hierarchical.JGraphLongestPathLayering
- All Implemented Interfaces:
- JGraphHierarchicalLayoutStep
public class JGraphLongestPathLayering
- 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 |
JGraphLongestPathLayering
public JGraphLongestPathLayering()
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.