Calculate Control Point for Curved Edge
curve_control_point(x1, y1, x2, y2, curvature, pivot = 0.5, shape = 0)List with x, y coordinates of control point.
Start point.
End point.
Curvature amount (0 = straight line).
Position along edge (0-1) where control point sits. 0 = near source, 0.5 = middle (default), 1 = near target.
Spline tension affecting curvature intensity (-1 to 1). Negative = sharper curve, Positive = gentler curve. Default 0.