Tweak curves for overlapping nodes