org.eclipse.draw2d.internal.graph
Class SortSubgraphs
java.lang.Object
org.eclipse.draw2d.internal.graph.GraphVisitor
org.eclipse.draw2d.internal.graph.SortSubgraphs
- public class SortSubgraphs
- extends GraphVisitor
Performs a topological sort from left to right of the subgraphs in a compound directed
graph. This ensures that subgraphs do not intertwine.
- Since:
- 2.1.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortSubgraphs
public SortSubgraphs()
visit
public void visit(DirectedGraph dg)
- Description copied from class:
GraphVisitor
- Act on the given directed graph.
- Specified by:
visit
in class GraphVisitor
- Parameters:
dg
- the graph
Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.