Eclipse Draw2d
3.0.1

org.eclipse.draw2d.graph
Class CompoundDirectedGraphLayout

java.lang.Object
  extended byorg.eclipse.draw2d.internal.graph.GraphVisitor
      extended byorg.eclipse.draw2d.graph.CompoundDirectedGraphLayout

public final class CompoundDirectedGraphLayout
extends GraphVisitor

Performs a graph layout on a CompoundDirectedGraph. The input format is the same as for DirectedGraphLayout. All nodes, including subgraphs and their children, should be added to the DirectedGraph.nodes field.

The requirements for this algorithm are the same as those of DirectedGraphLayout, with the following exceptions:


Constructor Summary
CompoundDirectedGraphLayout()
           
 
Method Summary
 void visit(DirectedGraph g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundDirectedGraphLayout

public CompoundDirectedGraphLayout()
Method Detail

visit

public void visit(DirectedGraph g)
Specified by:
visit in class GraphVisitor
See Also:
GraphVisitor.visit(org.eclipse.draw2d.graph.DirectedGraph)

Eclipse Draw2d
3.0.1

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