First try to linearize the weights with the best logarithmic and polynomial, then perform exponential scaling and set upper and lower bounds.
scale_graph(
weights,
exp_scale = exp(1),
upper_bound_mult = 25,
lower_bound_const = 5
)Weights vector
Either nodes or links weights vector
Scale for exponential transform
Constant to multiply weights by after scaling. Use to set an upper bound for weights.
Constant to set a lower bound for weights. All weights below will be set to lower bound.