com.jgraph.layout.hierarchical

Interface JGraphHierarchicalLayoutStep

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
JGraphHierarchyModelrun(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

public 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

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