public class LayeredEdge
extends java.lang.Object
Constructor and Description |
---|
LayeredEdge(LayeredNode sourceNode,
LayeredNode targetNode)
This method is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
FlowLayoutEdge |
getOriginalEdge()
This method returns the original edge of this layered edge.
|
LayeredNode |
getOtherNode(LayeredNode node)
This method returns the other endnode of this layered edge.
|
public LayeredEdge(LayeredNode sourceNode, LayeredNode targetNode)
sourceNode
- the from node of this edge.targetNode
- the to node of this edge.public FlowLayoutEdge getOriginalEdge()
public LayeredNode getOtherNode(LayeredNode node)
node
- the node of this edge.