Class Layout.Builder

  • Enclosing class:
    Layout

    public static class Layout.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withRandomSeed

        public Layout.Builder withRandomSeed​(java.lang.Integer randomSeed)
        If hierarchical layout is not used then nodes are randomly positioned on canvas. If the seed is set then nodes will be drawn always in the same position. Default value is null.
      • withImprovedLayout

        public Layout.Builder withImprovedLayout​(java.lang.Boolean improvedLayout)
        Indicates whether Kamada Kawai's algorithm should be used. Default value is true.
      • build

        public Layout build()