In recent years, a DSA (directed self-assembly) process is gathering attention as one of potential candidates for a next-generation lithography process. The DSA process requires designing a guide for controlling creation of patterns. However, there are a lot of restrictions on designing a guide, which makes it difficult for designers themselves to design the guide. Thus, it is desirable to allow mask patterns used in the DSA process to be created easily.