Class InitialDimensionFunction<V>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.util.InitialDimensionFunction<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInitialDimensionFunction.Builder<V,T extends InitialDimensionFunction<V>,B extends InitialDimensionFunction.Builder<V,T,B>>
-
Field Summary
Fields Modifier and Type Field Description protected floatdensityprotected Function<V,Rectangle>vertexShapeFunction
-
Constructor Summary
Constructors Constructor Description InitialDimensionFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<Integer>apply(org.jgrapht.Graph<V,?> graph)Applies this function to the given argument.static <V> InitialDimensionFunction.Builder<V,?,?>builder()static <V> InitialDimensionFunction.Builder<V,?,?>builder(Function<V,Rectangle> vertexShapeFunction)voidsetDensity(float density)voidsetVertexShapeFunction(Function<V,Rectangle> vertexShapeFunction)
-
-
-
Method Detail
-
builder
public static <V> InitialDimensionFunction.Builder<V,?,?> builder()
-
builder
public static <V> InitialDimensionFunction.Builder<V,?,?> builder(Function<V,Rectangle> vertexShapeFunction)
-
setVertexShapeFunction
public void setVertexShapeFunction(Function<V,Rectangle> vertexShapeFunction)
-
setDensity
public void setDensity(float density)
-
-