Eclipse Draw2d
3.1

org.eclipse.draw2d.internal.graph
Class SortSubgraphs

java.lang.Object
  extended byorg.eclipse.draw2d.internal.graph.GraphVisitor
      extended byorg.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

Constructor Summary
SortSubgraphs()
           
 
Method Summary
 void visit(DirectedGraph dg)
          Act on the given directed graph.
 
Methods inherited from class org.eclipse.draw2d.internal.graph.GraphVisitor
revisit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortSubgraphs

public SortSubgraphs()
Method Detail

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

Eclipse Draw2d
3.1

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