Factored out the function for rescale edges.
Modified the event.json data to make the vector rescaling look better since changed the max width to 16px.