Interface JGraphLayout
- All Known Implementing Classes:
JGraphAbstractTreeLayout, JGraphAnnealingLayout, JGraphCompactTreeLayout, JGraphCompoundLayout, JGraphFastOrganicLayout, JGraphFRLayout, JGraphHierarchicalLayout, JGraphISOMLayout, JGraphMoenLayout, JGraphOrganicLayout, JGraphRadialTreeLayout, JGraphSelfOrganizingOrganicLayout, JGraphSimpleLayout, JGraphSpringLayout, JGraphTreeLayout, OrganizationalChart, SimpleGridLayout
public interface JGraphLayout
The class that defines a layout algorithm. This class enforces the following
principles on the layouts:
- Layouts operate on cells, not cell views
- All access to "current" (ie. changed) attributes should go via the facade provided to the run method
- All access to the graph model should go via the facade passed to the run method
- The facade should decouple the layout from special jgraph features such as partial views, and collapsed/expanded (edge) groups
- Custom layouts can define extended facades for common functionality
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn additional interface that should be implemented if a layout is expected to run longer. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(JGraphFacade graph) Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use
-
Field Details
-
VERSION
-
-
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 input
-