Drawing a curved pipe

It’s not immediately obvious what your issue is.

If the centers of all of your floating disks represent the nodes of some curve that you want to create, then simply draw lines between those centers.
When you have those various edges, then [if you want them as part of a ‘smooth’ curve] select them, and then use a plugin/extension like:

to ‘weld’ them into a ‘bound-curve’…
Otherwise just select those separate edges and use them as you wish [you can always smooth it later]…

Now do whatever you want with this new ‘curve’…