A rigid truss system would be used to connect the modules. This will allow the motors of the Starships to control the spin and accelerate, decelerate and stabilize it.
Gravity is needed to make prevent health impacts like weakened bones, muscles and eyes.
The suggested plan is to use 100 meters of truss and three rotations per minute.
A central starship is needed where there is a hub and docking port for ships that resupply.