com.jgraph.layout.hierarchical

Class JGraphLongestPathLayering

public class JGraphLongestPathLayering extends Object implements JGraphHierarchicalLayoutStep

An implementation of the first stage of the Sugiyama layout. Straightforward longest path calculation of layer assignment
Method Summary
JGraphHierarchyModelrun(JGraphFacade facade, JGraphHierarchyModel model)
Produces the layer assignmment using the graph information specified

Method Detail

run

public JGraphHierarchyModel run(JGraphFacade facade, JGraphHierarchyModel model)
Produces the layer assignmment using the graph information specified

Parameters: facade the facade describing the input graph model an internal model of the hierarchical layout

Returns: the updated hierarchy model

Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.