Manual mappings

Sometimes two elements in the source and target models may have different names and/or structure, but still you want them to be matched as the same element when combining the models. In this case you have to set-up a manual mapping between these elements. This is done in the “Manual Mappings” pane at the top of the “Combine Models” dialog.

For example, assume we'd like to combine two capsules with different names:

To create a manual mapping between these two capsules, follow these steps:

  1. Right-click on the "HelloWorld" capsule and perform Select Source element for manual map.

  2. Right-click on the "OtherCapsule" capsule and perform Select Target element for manual map.


  3. Press OK in the confirmation dialog that appears:

Now you can see the manual mapping you just created in the manual mappings pane:

Also, a blue line between the source and target model compartments shows that the two capsules now are mapped:

Now you can mark the checkbox for "HelloWorld" and press OK. Afterwards you will see that "OtherCapsule" now contains the port and the attribute from "HelloWorld". Also, the state machines were combined without the need to define a manual mapping, since they already had the same name.