To generate cloud of points with desired lenghts

Hi everybody
I want to draw a cloud of points that i know length between every two points
could u please tell me how can i do?

it may be 2d or 3d

I started like this but it takes too time to get to 23 point(that i should) (12.8 KB)