Class EiglspergerRunnable.Builder<V,​E,​T extends EiglspergerRunnable<V,​E>,​B extends EiglspergerRunnable.Builder<V,​E,​T,​B>>

  • Type Parameters:
    V - the vertex type
    E - the edge type
    T - the type that is built
    B - the builder type
    Direct Known Subclasses:
    TestEiglspergerRunnable.Builder
    Enclosing class:
    EiglspergerRunnable<V,​E>

    public static class EiglspergerRunnable.Builder<V,​E,​T extends EiglspergerRunnable<V,​E>,​B extends EiglspergerRunnable.Builder<V,​E,​T,​B>>
    extends Object
    a Builder to create a configured instance
    • Field Detail

      • straightenEdges

        protected boolean straightenEdges
      • postStraighten

        protected boolean postStraighten
      • transpose

        protected boolean transpose
      • maxLevelCross

        protected int maxLevelCross
      • minimizeEdgeLength

        protected boolean minimizeEdgeLength
      • multiComponent

        protected boolean multiComponent
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • self

        protected B self()
      • layoutModel

        public B layoutModel​(LayoutModel<V> layoutModel)
      • vertexShapeFunction

        public B vertexShapeFunction​(Function<V,​Rectangle> vertexShapeFunction)
      • straightenEdges

        public B straightenEdges​(boolean straightenEdges)
      • postStraighten

        public B postStraighten​(boolean postStraighten)
      • transpose

        public B transpose​(boolean transpose)
      • maxLevelCross

        public B maxLevelCross​(int maxLevelCross)
      • minimzeEdgeLength

        public B minimzeEdgeLength​(boolean minimizeEdgeLength)
      • layering

        public B layering​(Layering layering)
      • multiComponent

        public B multiComponent​(boolean multiComponent)
      • build

        public T build()