Package org.eclipse.draw2d.graph
Class CompoundDirectedGraph
java.lang.Object
org.eclipse.draw2d.graph.DirectedGraph
org.eclipse.draw2d.graph.CompoundDirectedGraph
A
DirectedGraph
whose Nodes may be compound Subgraph
s,
which may contain other nodes. 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 layout algorithm being used.
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 data structure for a layout algorithm.
- Since:
- 2.1.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionFor internal use only.For internal use only.Fields inherited from class org.eclipse.draw2d.graph.DirectedGraph
edges, nodes, ranks
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.draw2d.graph.DirectedGraph
getDefaultPadding, getDirection, getLayoutSize, getMargin, getNode, getPadding, removeEdge, removeNode, setDefaultPadding, setDirection, setMargin
-
Field Details
-
subgraphs
For internal use only. -
containment
For internal use only.
-
-
Constructor Details
-
CompoundDirectedGraph
public CompoundDirectedGraph()
-