Just drag the points (P1 - P4) to change the curve shape.
This is a cubic Bezier curve created using a start point (p1), end point (p4) and two control points which dictate the line strength and direction from their respective line points. It is a mathematically defined curve.