Eclipse Draw2d
3.1

org.eclipse.draw2d.graph
Class DirectedGraphLayout

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

Since:
2.1.2

Constructor Summary
DirectedGraphLayout()
           
 
Method Summary
 void visit(DirectedGraph graph)
          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

DirectedGraphLayout

public DirectedGraphLayout()
Since:
3.1
Method Detail

visit

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

Specified by:
visit in class GraphVisitor
Parameters:
graph - the graph
See Also:
GraphVisitor.visit(org.eclipse.draw2d.graph.DirectedGraph)

Eclipse Draw2d
3.1

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