InAs quantum dots (QDs) are grown on the cleaved edge of an In(x)Ga(1-x)AsGaAs supperlattice experimentally and a good linear alignment of these QDs on the surface of an In(x)Ga(1-x)As layer has been realized. The modulation effects of periodic strain on the substrate are investigated theoretically using a kinetic Monte Carlo method. Our results show that a good alignment of QDs can be achieved when the strain energy reaches 2% of the atomic binding energy. The simulation results are in excellent qualitative agreement with our experiments.