With[{p = RandomReal[15, {50, 3}]}, Graphics3D[{Thick, Line[p[[Last[FindShortestTour[p]]]]], Opacity[.3], Sphere /@ p}]]