- public DiagramSettings(Resource vertexScalingProperty, double vertexScalingScale, Resource edgeThicknessProperty, double edgeThicknessScale) {
- this.vertexScalingProperty = Optional.ofNullable(vertexScalingProperty);
- this.vertexScalingScale = vertexScalingScale;
+ public DiagramSettings(Function1<Resource, Double> vertexScaleProperty, double vertexScaleGain, double vertexScaleBias, Function1<Resource, Double> edgeThicknessProperty, double edgeThicknessGain, double edgeThicknessBias) {
+ this.vertexScaleProperty = Optional.ofNullable(vertexScaleProperty);
+ this.vertexScaleGain = vertexScaleGain;
+ this.vertexScaleBias = vertexScaleBias;