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:
$Revision: 1.9 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Method Summary
 void edgeDrawn(Object edge)
          Called in response to the given edge being given a figure.
 void edgeRouted(Object edge)
          Called in response to the connector representing the given edge being rereouted.
 void nodeDrawn(Object node)
          Called in response to the given node being given a figure.
 void nodeMoved(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(Object edge)
Called in response to the given edge being given a figure.


edgeRouted

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


nodeDrawn

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


nodeMoved

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



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.