com.jgraph.layout

Interface JGraphLayout

public interface JGraphLayout

The class that defines a layout algorithm. This class enforces the following principles on the layouts: Long-running layouts should additionally implement the Stoppable interface.
Nested Class Summary
static interfaceJGraphLayout.Stoppable
An additional interface that should be implemented if a layout is expected to run longer.
Field Summary
static StringVERSION
Global static product identifier.
Method Summary
voidrun(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 Detail

VERSION

public static final String VERSION
Global static product identifier.

Method Detail

run

public 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

Parameters: graph The layout facade that the layout will use as input

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