Fixes edges so that clockwise curvature means source references target