diva.graph.layout
Interface GlobalLayout

All Known Subinterfaces:
IncrementalLayout
All Known Implementing Classes:
AbstractGlobalLayout, ActorController.EntityLayout, BasicGraphFrame.PtolemyLayout, GridAnnealingLayout, IncrLayoutAdapter, KielerLayout, LevelLayout, ProxyIncrLayout, RandomIncrLayout, RandomLayout

public interface GlobalLayout

A static layout engine which layouts traverse the graph structure and performs layout from scratch, ignoring the previous positions of the nodes in the graphs.

Version:
$Id: GlobalLayout.java 38798 2005-07-08 20:00:01Z cxh $
Author:
Michael Shilman
Accepted Rating:
Red

Method Summary
 LayoutTarget getLayoutTarget()
          Return the layout target.
 void layout(java.lang.Object composite)
          Layout the graph model in the viewport specified by the layout target environment.
 void setLayoutTarget(LayoutTarget target)
          Set the layout target.
 

Method Detail

getLayoutTarget

LayoutTarget getLayoutTarget()
Return the layout target.


setLayoutTarget

void setLayoutTarget(LayoutTarget target)
Set the layout target.


layout

void layout(java.lang.Object composite)
Layout the graph model in the viewport specified by the layout target environment.