Package | Description |
---|---|
org.eclipse.draw2d.graph |
Stand-alone algorithms related to Graph Drawing.
|
Modifier and Type | Class and Description |
---|---|
class |
Subgraph
A Node which may contain other nodes.
|
class |
VirtualNode
Deprecated.
virtual nodes of an edge should be cast to Node.
|
Modifier and Type | Field and Description |
---|---|
Node |
VirtualNode.next
Deprecated.
The next node.
|
Node |
VirtualNode.prev
Deprecated.
The previous node.
|
Node |
Edge.source
The source Node.
|
Node |
Edge.target
The target Node.
|
Modifier and Type | Method and Description |
---|---|
Node |
Node.getLeft()
Returns a reference to a node located left from this one
|
Node |
NodeList.getNode(int index)
Returns the Node at the given index.
|
Node |
DirectedGraph.getNode(int rank,
int index) |
Node |
Node.getRight()
Returns a reference to a node located right from this one
|
Node |
Edge.opposite(Node end)
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
void |
Subgraph.addMember(Node n)
Adds the given node to this subgraph.
|
Insets |
DirectedGraph.getPadding(Node node)
Returns the effective padding for the given node.
|
Node |
Edge.opposite(Node end)
For internal use only.
|
void |
DirectedGraph.removeNode(Node node)
Removes the given node from the graph.
|
void |
Edge.setSource(Node node)
Sets the source node and adds this edge to the new source's outgoing
edges.
|
void |
Edge.setTarget(Node node)
Sets the target node and adds this edge to the new target's incoming
edges.
|
Constructor and Description |
---|
Edge(Node source,
Node target)
Constructs a new edge with the given source and target nodes.
|
Edge(Node source,
Node target,
int delta,
int weight)
Constructs a new edge with the given source, target, delta, and weight.
|
Edge(java.lang.Object data,
Node source,
Node target)
Constructs a new edge with the given data object, source, and target
node.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.