1. A method comprising: obtaining an indication of a model element of a first model element type which is to be migrated to a model element of a second model element type; and automatically migrating, by a processor, the model element of the first model element type to the model element of the second model element type, wherein the automatically migrating migrates a relationship between the model element of the first model element type and a related model element to a relationship between the model element of the second model element type and the related model element.