It sags into a catenary, y = a·cosh((x − x₀)/a) + c: the curve of any chain or cable hanging under its own weight. It looks like a parabola, but it isn't one.
The source code is at github.com/KirillOsenkov/LiveGeometry. It is written in .NET and Avalonia.