Eclipse Draw2d
2.1

org.eclipse.draw2d.graph
Class CompoundDirectedGraph

java.lang.Object
  |
  +--org.eclipse.draw2d.graph.DirectedGraph
        |
        +--org.eclipse.draw2d.graph.CompoundDirectedGraph

public class CompoundDirectedGraph
extends DirectedGraph

A DirectedGraph whose Nodes may be compound, or containing other nodes. Such nodes are called Subgraphs. Any node in the graph may be parented by one subgraph. Since subgraphs are nodes, the source or target end of an Edge may be a subgraph. For additional restrictions, refer to the JavaDoc for the graph layout you are using.

A CompoundDirectedGraph is passed to a graph layout, which will position all of the nodes, subgraphs, and edges in that graph. This class serves as the input data for a layout algorithm.


Field Summary
 EdgeList containment
          For internal use only.
 NodeList subgraphs
          For internal use only.
 
Fields inherited from class org.eclipse.draw2d.graph.DirectedGraph
edges, gPrime, nodes, ranks, spanningTree
 
Constructor Summary
CompoundDirectedGraph()
           
 
Methods inherited from class org.eclipse.draw2d.graph.DirectedGraph
getPadding, removeEdge, removeNode, setDefaultPadding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subgraphs

public NodeList subgraphs
For internal use only.


containment

public EdgeList containment
For internal use only.

Constructor Detail

CompoundDirectedGraph

public CompoundDirectedGraph()

Eclipse Draw2d
2.1

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