Currently the maximum value in the slider is based on a default-parameters.R value that is also the default setting of the network-edge distance threshold. However, if the user changes this distance threshold, as they probably should, the slider is not setup to compensate by adjusting its values. The network and graphic are completely recalculated/rebuilt when the threshold distance is changed, anyway, so it is a reasonable moment to update the slider.
Currently the maximum value in the slider is based on a
default-parameters.R
value that is also the default setting of the network-edge distance threshold. However, if the user changes this distance threshold, as they probably should, the slider is not setup to compensate by adjusting its values. The network and graphic are completely recalculated/rebuilt when the threshold distance is changed, anyway, so it is a reasonable moment to update the slider.