Eclipse Draw2d
3.2

org.eclipse.draw2d.graph
Class DirectedGraphLayout

java.lang.Object
  extended byorg.eclipse.draw2d.graph.DirectedGraphLayout
Direct Known Subclasses:
CompoundDirectedGraphLayout

public class DirectedGraphLayout
extends Object

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)
          Lays out the given graph
 
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)
Lays out the given graph

Parameters:
graph - the graph to layout

Eclipse Draw2d
3.2

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