lv.lumii.layoutengine

## Class ConnectedComponentPacking

- java.lang.Object
- - lv.lumii.layoutengine.ConnectedComponentPacking

-     public class ConnectedComponentPacking
      extends java.lang.Object

  Pack rectangles using polyomino packing

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConnectedComponentPacking()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `pack(lv.lumii.layoutengine.DiagramPart[] parts, double spacing, double aspectRatio, double proportionalSpacing)` Function that arranges connected components of graph that is obtained from parts.

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

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

- - ### Constructor Detail

    - #### ConnectedComponentPacking

          public ConnectedComponentPacking()

  - ### Method Detail

    - #### pack

          public static void pack(lv.lumii.layoutengine.DiagramPart[] parts,
                                  double spacing,
                                  double aspectRatio,
                                  double proportionalSpacing)

      Function that arranges connected components of graph that is obtained from parts.
      Parameters:
        `parts` - Array with all graph that must be arranged by it's connected components.
        `spacing` - Minimal spacing around every connected component.
        `aspectRatio` - ? Something that probably depends on boxs' size (hor * vert) ?
        `proportionalSpacing` - Minimal proportional spacing around every con. comp. Full spacing is calculated as spacing+proportionalSpacing*size