Eclipse Draw2d
2.1

org.eclipse.draw2d.internal.graph
Class LocalOptimizer

java.lang.Object
  |
  +--org.eclipse.draw2d.internal.graph.GraphVisitor
        |
        +--org.eclipse.draw2d.internal.graph.LocalOptimizer

public class LocalOptimizer
extends GraphVisitor

This graph visitor examines all adjacent pairs of nodes and determines if swapping the two nodes provides improved graph aesthetics.


Constructor Summary
LocalOptimizer()
           
 
Method Summary
 void visit(DirectedGraph g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalOptimizer

public LocalOptimizer()
Method Detail

visit

public void visit(DirectedGraph g)
Specified by:
visit in class GraphVisitor
See Also:
GraphVisitor.visit(org.eclipse.draw2d.graph.DirectedGraph)

Eclipse Draw2d
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.