lv.lumii.layoutengine.flowLayout

## Class CycleRemoval

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

-     public class CycleRemoval
      extends java.lang.Object

  This class implements the cycle removal algorithm from G.DiBattista, P.Eades, R.Tamassia, and I.G.Tollis. Graph Drawing: Algorithms for the Visualization of Graphs, Prentice Hall, Upper Saddle River, NJ, 1999.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CycleRemoval(int vN0, int eN0, int[] eV10, int[] eV20, int[] Y0)` This method is the class constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `RemoveDirectedCycles(boolean[] eFlag)` This method performs the algorithmic steps of the cycle removal algorithm.

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

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

- - ### Constructor Detail

    - #### CycleRemoval

          public CycleRemoval(int vN0,
                              int eN0,
                              int[] eV10,
                              int[] eV20,
                              int[] Y0)

      This method is the class constructor.
      Parameters:
        `vN0` - the number of vertices of the given graph.
        `eN0` - the number of edges of the given graph.
        `eV10` - the edge from vertex index.
        `eV20` - the edge to vertex index.
        `Y0` - the vertex coordinates that determine an incremental outcome.

  - ### Method Detail

    - #### RemoveDirectedCycles

          public void RemoveDirectedCycles(boolean[] eFlag)

      This method performs the algorithmic steps of the cycle removal algorithm.
      Parameters:
        `eFlag` - the flag indicating if edge direction coincides with the resulting flow direction (output).