1. An information processing apparatus comprising: a processor and a memory that stores instructions executed by the processor, the processor being configured to: a receive a deletion operation of a first target object by a user, the first target object being associated as a child object of a third target object and being associated as a parent object of a second target object, a portion of the second target object being displayed on the first target object; and (i) associate the second target object as a child object of the third target object in a case of a portion of the second target object being displayed on the third target object as a result of the first target object being deleted and (ii) not associate the second target object as a child object of the third target object in a case of the second target object not being displayed on the third target object as a result of the first target object being deleted.