Patent ID: 8683415

Claim:
A computer-readable, non-transitory storage medium storing a program for causing a computer to execute a process comprising: accepting designation of a condition of grouping a plurality of signal lines to be wired from a user; and switching and carrying out a grouping of the plurality of signal lines into a plurality of groups based on the designated condition and a disposition pattern of start terminals and end terminals of the plurality of signal lines, wherein the condition is designated from a first requirement, a second requirement and a third requirement that includes the first requirement and the second requirement and in which a priority is set to the first requirement or the second requirement, and the first requirement includes a request for easiness of adjusting lengths of lines, and the second requirement includes a request for easiness of wiring, and the switching and carrying out comprises: upon detecting that the designated condition is the first requirement or the third requirement that includes the first requirement and the second requirement and in which a priority is set to the first requirement, carrying out a first grouping processing to ensure the first requirement; and upon detecting that the designated condition is the second requirement or the third requirement that includes the first requirement and the second requirement and in which a priority is set to the second requirement, carrying out a second grouping processing so as to shorten the maximum length of the signal lines while suppressing a deviation of distribution of lengths of the signal lines among the plurality of groups.