Package org.eclipse.draw2d.graph
Class VirtualNode
java.lang.Object
org.eclipse.draw2d.graph.Node
org.eclipse.draw2d.graph.VirtualNode
Deprecated.
virtual nodes of an edge should be cast to Node.
- Since:
- 2.1.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.The next node.Deprecated.The previous node. -
Constructor Summary
ConstructorsConstructorDescriptionVirtualNode
(Object o, Subgraph parent) Deprecated.Constructor.VirtualNode
(Edge e, int i) Deprecated.This class is for internal use only. -
Method Summary
Methods inherited from class org.eclipse.draw2d.graph.Node
getLeft, getOffsetIncoming, getOffsetOutgoing, getPadding, getParent, getRight, getRowConstraint, setPadding, setParent, setRowConstraint, setSize
-
Field Details
-
next
Deprecated.The next node. -
prev
Deprecated.The previous node.
-
-
Constructor Details
-
VirtualNode
Deprecated.This class is for internal use only.Constructs a virtual node.- Parameters:
e
- the edgei
- the row
-
VirtualNode
Deprecated.Constructor.- Parameters:
o
- objectparent
- subgraph
-
-
Method Details
-
medianIncoming
public double medianIncoming()Deprecated.Returns the index ofprev
.- Returns:
- median
-
medianOutgoing
public double medianOutgoing()Deprecated.Returns the index ofnext
.- Returns:
- outgoing
-
omega
public int omega()Deprecated.For internal use only. Returns the original edge weight multiplied by the omega value for the this node and the node on the previous rank.- Returns:
- the weighted weight, or omega
-
toString
Deprecated.
-