JGraph
v5.13.0.4


com.jgraph.layout.hierarchical
Interface JGraphHierarchicalLayoutStep

All Known Implementing Classes:
JGraphCoordinateAssignment, JGraphGreedyCycleRemover, JGraphLongestPathLayering, JGraphMedianHybridCrossingReduction, JGraphMinimumCycleRemover, JGraphNetworkSimplexLayering

public interface JGraphHierarchicalLayoutStep

The specific layout interface for hierarchical layouts. It adds a run method with a parameter for the hierarchical layout model that is shared between the layout stages.


Method Summary
 JGraphHierarchyModel run(JGraphFacade graph, JGraphHierarchyModel model)
          Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use
 

Method Detail

run

JGraphHierarchyModel run(JGraphFacade graph,
                         JGraphHierarchyModel model)
Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use

Parameters:
graph - The layout facade that the layout will use as input
model - The internal model of the hierarchical layout created to store details of inverted edges and dummy node placement. The model persists for the duration of the layout object to enable incremental layouts.
Returns:
the updated hierarchy model

JGraph
v5.13.0.4


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