Module imp2d

Class SquareLayout

All Implemented Interfaces:
Manageable, Shareable

public class SquareLayout extends Layout
This class implements a graph changing layout. The nodes will be arranged in a square
  • Field Details

  • Constructor Details

    • SquareLayout

      public SquareLayout()
  • Method Details

    • createAlgorithm

      protected Layout.Algorithm createAlgorithm()
      Description copied from class: Layout
      Creates an algorithm for this layout.
      Specified by:
      createAlgorithm in class Layout
      Returns:
      a new Algorithm instance
    • getManageableType

      public ManageableType getManageableType()
    • getLayerCount

      public int getLayerCount()
    • setLayerCount

      public void setLayerCount(int value)