Eclipse Draw2d
3.0

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)
          Act on the given directed graph.
 
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)
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)

Eclipse Draw2d
3.0

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