Class CircularLayouterOptionsGroup

  • All Implemented Interfaces:
    java.lang.Cloneable

    @OpenApiAll
    public class CircularLayouterOptionsGroup
    extends AbstractDiagramLayouterOptionsGroup
    Compact. Each group will consist of shapes that are reachable by two link disjoint paths. Shapes that belong to more than one group will be assigned exclusively to one group. Isolated. Each group will consist of shapes that are reachable by two path disjoint paths. All shapes belonging to more than one group will be assigned to an isolated group. Single Cycle. All shapes will be arranged on a single circle.
    • Constructor Detail

      • CircularLayouterOptionsGroup

        public CircularLayouterOptionsGroup()
        Constructs CircularLayouterOptionsGroup
    • Method Detail

      • getLayoutStyle

        public java.lang.String getLayoutStyle()
        Gets the string representation of layout style.
        Returns:
        Layout style.
      • setLayoutStyle

        public void setLayoutStyle​(java.lang.String s)
        Set layout style.
        Parameters:
        s - Style value.
      • getMinimalShapeDistance

        public int getMinimalShapeDistance()
        Get the minimal distance between borders of two adjacent shapes on a common circle.
        Returns:
        int.
      • setMinimalShapeDistance

        public void setMinimalShapeDistance​(int d)
        Set the minimal distance between borders of two adjacent shapes on a common circle.
        Parameters:
        d - value.
      • setAutoCircleRadius

        public void setAutoCircleRadius​(boolean b)
        Set the radius of each circle in the layout automatically. An automatically chosen radius is usually the smallest possible radius that obeys Minimal Node Distance.
        Parameters:
        b - boolean value.
      • getAutoCircleRadius

        public boolean getAutoCircleRadius()
        Get the radius of each circle in the layout automatically. An automatically chosen radius is usually the smallest possible radius that obeys Minimal Node Distance.
        Returns:
        boolean value.
      • getFixedCircleRadius

        public int getFixedCircleRadius()
        Get the fixed radius for all circles in the resulting layout. Minimal Node Distance will be ignored in this case.
        Returns:
        int value.
      • setFixedCircleRadius

        public void setFixedCircleRadius​(int d)
        Set the fixed radius for all circles in the resulting layout. Minimal Node Distance will be ignored in this case.
        Parameters:
        d - value.
      • getPreferredChildWedge

        public int getPreferredChildWedge()
        Get the angular range of the sector that will be reserved for children of a shape. The remaining angular range will be automatically used to accommodate the edge that connects to the root node.
        Returns:
        int.
      • setPreferredChildWedge

        public void setPreferredChildWedge​(int d)
        Set the angular range of the sector that will be reserved for children of a shape. The remaining angular range will be automatically used to accommodate the edge that connects to the root node.
        Parameters:
        d - value.
      • getMinimalLinkLength

        public int getMinimalLinkLength()
        Get the minimal length of a path that connects two shapes that lie on separate circles. The smaller the chosen value, the more compact the resulting layout.
        Returns:
        int value.
      • setMinimalLinkLength

        public void setMinimalLinkLength​(int d)
        Set the minimal length of a path that connects two shapes that lie on separate circles. The smaller the chosen value, the more compact the resulting layout.
        Parameters:
        d - value.
      • getMaximalDeviationAngle

        public int getMaximalDeviationAngle()
        Get the bigger the chosen value, the more compact the resulting layout. If a value smaller than 90 degrees, the tree-edges might cross through the circularly arranged groups of shapes.
        Returns:
        value.
      • setMaximalDeviationAngle

        public void setMaximalDeviationAngle​(int d)
        Set the bigger the chosen value, the more compact the resulting layout. If a value smaller than 90 degrees, the tree-edges might cross through the circularly arranged groups of shapes.
        Parameters:
        d - value.
      • getCompactnessFactor

        public double getCompactnessFactor()
        Get compactness factor. Adjusting this value can lead to a variety of differing layouts. For small values, the resulting layout will use much space and shapes tend to be far away from each other. Values around 0.5 lead to evenly distributed shapes, whereas values near 1.0 produce highly compact layouts.
        Returns:
        the compactness factor
      • setCompactnessFactor

        public void setCompactnessFactor​(double d)
        Set compactness factor.
        Parameters:
        d - value.
      • setAllowOverlaps

        public void setAllowOverlaps​(boolean b)
        Set allow overlap. Can result in more compact layout
        Parameters:
        b - value.
      • getAllowOverlaps

        public boolean getAllowOverlaps()