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
Modifier and TypeMethodDescriptionrun(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 Details
-
run
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 inputmodel- 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
-