lv.lumii.layoutengine.flowLayout.horizontalOrdering

## Class LayeredEdge

- java.lang.Object
- - lv.lumii.layoutengine.flowLayout.horizontalOrdering.LayeredEdge

-     public class LayeredEdge
      extends java.lang.Object

  This class implements an edge of the auxiliary layered graph needed for the horizontal ordering in the Flow Layout algorithm.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LayeredEdge(LayeredNode sourceNode, LayeredNode targetNode)` This method is the class constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LayeredEdge

          public LayeredEdge(LayeredNode sourceNode,
                             LayeredNode targetNode)

      This method is the class constructor.
      Parameters:
        `sourceNode` - the from node of this edge.
        `targetNode` - the to node of this edge.

  - ### Method Detail

    - #### getOriginalEdge

          public FlowLayoutEdge getOriginalEdge()

      This method returns the original edge of this layered edge.
      Returns:
        the original edge.

    - #### getOtherNode

          public LayeredNode getOtherNode(LayeredNode node)

      This method returns the other endnode of this layered edge.
      Parameters:
        `node` - the node of this edge.
      Returns:
        the other node of this edge.