diva.graph.layout
Interface IncrementalLayout

All Superinterfaces:
GlobalLayout
All Known Implementing Classes:
IncrLayoutAdapter, ProxyIncrLayout, RandomIncrLayout

public interface IncrementalLayout
extends GlobalLayout

A layout engine which operates incrementally, based on the arrival of new node information. An incremental layout is simply a kind of graph listener that updates the layout with every change in the graph.

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

Method Summary
 void edgeDrawn(java.lang.Object edge)
          Called in response to the given edge being given a figure.
 void edgeRouted(java.lang.Object edge)
          Called in response to the connector representing the given edge being rereouted.
 void nodeDrawn(java.lang.Object node)
          Called in response to the given node being given a figure.
 void nodeMoved(java.lang.Object node)
          Called in response to the figure representing the given node being moved.
 
Methods inherited from interface diva.graph.layout.GlobalLayout
getLayoutTarget, layout, setLayoutTarget
 

Method Detail

edgeDrawn

void edgeDrawn(java.lang.Object edge)
Called in response to the given edge being given a figure.


edgeRouted

void edgeRouted(java.lang.Object edge)
Called in response to the connector representing the given edge being rereouted.


nodeDrawn

void nodeDrawn(java.lang.Object node)
Called in response to the given node being given a figure.


nodeMoved

void nodeMoved(java.lang.Object node)
Called in response to the figure representing the given node being moved.