Eclipse Draw2d
2.1

org.eclipse.draw2d.graph
Class DirectedGraphLayout

java.lang.Object
  |
  +--org.eclipse.draw2d.internal.graph.GraphVisitor
        |
        +--org.eclipse.draw2d.graph.DirectedGraphLayout

public class DirectedGraphLayout
extends GraphVisitor

Performs a graph layout of a DirectedGraph. The directed graph must meet the following conditions:

This algorithm will:

For each NODE:

For each EDGE:

This class is not guaranteed to produce the same results for each invocation.


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

Constructor Detail

DirectedGraphLayout

public DirectedGraphLayout()
Method Detail

visit

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

Eclipse Draw2d
2.1

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