com.jgraph.layout
Interface JGraphLayout
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
Long-running layouts should additionally implement the Stoppable interface.
Method Summary |
void | run(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
|
public static final String VERSION
Global static product identifier.
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
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.