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.
- Since:
- 2.1.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalOptimizer
public LocalOptimizer()
visit
public void visit(DirectedGraph g)
- Description copied from class:
GraphVisitor
- Act on the given directed graph.
- Specified by:
visit
in class GraphVisitor
- Parameters:
g
- the graph- See Also:
GraphVisitor.visit(org.eclipse.draw2d.graph.DirectedGraph)
Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.