Eclipse Draw2d
3.1

org.eclipse.draw2d.internal.graph
Class CompoundPopulateRanks

java.lang.Object
  extended byorg.eclipse.draw2d.internal.graph.GraphVisitor
      extended byorg.eclipse.draw2d.internal.graph.PopulateRanks
          extended byorg.eclipse.draw2d.internal.graph.CompoundPopulateRanks

public class CompoundPopulateRanks
extends PopulateRanks

Places nodes into ranks for a compound directed graph. If a subgraph spans a rank without any nodes which belong to that rank, a bridge node is inserted to prevent nodes from violating the subgraph boundary.

Since:
2.1.2

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

Constructor Detail

CompoundPopulateRanks

public CompoundPopulateRanks()
Method Detail

visit

public void visit(DirectedGraph g)
Description copied from class: GraphVisitor
Act on the given directed graph.

Overrides:
visit in class PopulateRanks
See Also:
GraphVisitor.visit(org.eclipse.draw2d.graph.DirectedGraph)

Eclipse Draw2d
3.1

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