org.eclipse.draw2d.internal.graph
Class MinCross
java.lang.Object
org.eclipse.draw2d.internal.graph.GraphVisitor
org.eclipse.draw2d.internal.graph.MinCross
- public class MinCross
- extends GraphVisitor
Sweeps up and down the ranks rearranging them so as to reduce edge crossings.
- Since:
- 2.1.2
Constructor Summary |
MinCross()
|
MinCross(org.eclipse.draw2d.internal.graph.RankSorter sorter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MinCross
public MinCross()
MinCross
public MinCross(org.eclipse.draw2d.internal.graph.RankSorter sorter)
- Since:
- 3.1
setRankSorter
public void setRankSorter(org.eclipse.draw2d.internal.graph.RankSorter sorter)
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.