1. A method for generating a pattern of a cell used when a mask pattern is generated by arranging cells selected from among a plurality of types of cells, the method comprising the following step executed by a processor: generating a pattern including rectangular pattern elements and an assist pattern as a cell pattern by obtaining data on a cell including the rectangular pattern elements and by generating the assist pattern which assists resolution of the rectangular pattern elements in accordance with the data.