lv.lumii.layoutengine.flowLayout

## Class FlowLayoutEdge

- java.lang.Object
- - lv.lumii.layoutengine.flowLayout.FlowLayoutEdge

-     public class FlowLayoutEdge
      extends java.lang.Object

  This class implements the edge in internal representation of the diagram graph for the Flow Layout algorithm.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `v1`
    `int` | `v2`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FlowLayoutEdge(int v1, int v2)` This method is the class constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FlowLayoutVertex` | `getSourceNode()` This method returns the source vertex of the edge.
    `FlowLayoutVertex` | `getTargetNode()` This method returns the target vertex of the edge.

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

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

- - ### Field Detail

    - #### v1

          public int v1

    - #### v2

          public int v2

  - ### Constructor Detail

    - #### FlowLayoutEdge

          public FlowLayoutEdge(int v1,
                                int v2)

      This method is the class constructor.
      Parameters:
        `v1` - the edge from vertex index.
        `v2` - the edge to vertex index.

  - ### Method Detail

    - #### getSourceNode

          public FlowLayoutVertex getSourceNode()

      This method returns the source vertex of the edge.
      Returns:
        the source vertex index.

    - #### getTargetNode

          public FlowLayoutVertex getTargetNode()

      This method returns the target vertex of the edge.
      Returns:
        the source vertex index.