FAQ: How to Clean Up a Model
Parent, domain, and owner solve different tasks. A parent defines the place in the architectural hierarchy, a domain defines the area of responsibility, and an owner is the person or team that controls that area. Changing one does not replace the other operations.
Before making bulk changes, create a working branch and record which relationships, interfaces, and flows must remain. Do not delete a duplicate manually until you have checked where it is used.
Full lesson: model refactoring in 10 minutes 17 seconds
How Do I Merge Two Identical Elements?
- Select the element that should remain and open Tools → Merge.
- Add the second element as a merge source.
- Mark the source relationships that must be preserved. Their identifiers will remain, and the start or end will be moved to the target element. Relationships found in flows are selected automatically by the interface; all other unselected source relationships are deleted.
- Review the preview and save the result.
- Open the diagrams and flows that use the element. Source interfaces are rebound to the target; also check properties and child elements.
The target element's identifier is preserved. For a regular property, a target record with the same key and diagram scope has priority, even if its value is empty. Empty source values are not transferred. Visibility is merged separately: a source value of "visible" makes the target visible on the corresponding diagram. You cannot choose a conflicting value in the dialog.
When two systems are merged, the source's child containers move to the target system and inherit its domain. When two containers are merged, their components are moved as well. This is different from the separate operation of changing the domain of a single element.
When elements are merged, the explicitly defined source and receiver of a step are rebound to the remaining element. This also applies to an element's actions on itself. Only steps in the current landscape and branches are changed. After merging, open the affected flow and verify that the result still matches its meaning.
Do not merge services with different meanings just because their names are similar.
Key steps in screenshots
How Do I Merge Two Identical Relationships?
- Check that both records describe the same interaction and have the same source, receiver, and direction.
- Select the relationship, open Tools → Merge, and mark the second duplicate.
- Specify a clear name and description for the resulting relationship.
- Save and open the flow that used the source relationships on a separate DYNAMIC diagram. Keep C2 for the structural model.
The result is a new relationship with a new identifier. Usages in steps and interactions, as well as child relationships, are transferred to it. Opposite arrows or two different kinds of interaction do not become duplicates automatically.
If duplicates have properties with the same key, the dialog does not offer a choice of the final value: the first processed record is kept. Before merging, compare properties, including those set for different diagrams, and then verify the result.
Key steps in screenshots
How Do I Move a Container or Component to Another Parent?
On the Tools tab, use Change Parent Object. For a container, choose a system; for a component, choose a container. The element type does not change.
Without the domain-change option, only the parent changes and the domain stays the same. With this option, the parent and domain change together: immediately in your own working branch or when the owners are the same; in all other cases, the current owner sends a request to the new owner. Until it is accepted, neither the parent nor the domain changes.
After applying the change, open the Structure view of the old and new parent, then the related C2/C3 diagrams. Sending a request is not a transfer by itself.
Key steps in screenshots
Why Can't a System with Children Be Merged Directly into a Container?
The model has three levels: system → container → component. A system created incorrectly may contain containers, and those containers may contain components. If you place the whole tree inside a container, an extra level appears. The program cannot choose by itself which children should be turned into another type and where they should be moved.
Example: there is a system "Payments (duplicate)", inside it a container "Payment Verification" with components. The correct container "Payments" already exists inside E-Commerce.
- Move the components of "Payment Verification" into an appropriate container, for example into the correct "Payments".
- If "Payment Verification" itself should become a component, create a suitable component and merge the now-empty container with it, selecting the needed relationships.
- When no containers remain in the "Payments (duplicate)" system, select the correct container "Payments" and merge the empty system into it.
- Check the hierarchy, transferred relationships, interfaces, and flows. Related C2/C3 diagrams must also be checked: a cross-type merge is not an automatic diagram-type conversion.
An empty system has no child containers; an empty container has no child components. They may still have relationships. With an empty source, the program must not guess the fate of the nested tree. A system does not merge directly into a component.
A cross-type merge preserves the target element type. An empty container can be merged not only with a component, but also with a system; the server will not allow a container with components to be merged with a system, even if it is available in the candidate list. A component can be merged with a container or a system.
There is another path: if the child containers really should remain containers, move them to another system together with their components. Do not lower the level of correctly modeled objects just to remove a duplicate.
Key steps in screenshots
How Do I Change the Domain Without Changing the Parent?
Select the object and open Tools → Change Element Domain. Specify the domain of the team that will be responsible for the object. After saving, check the domain of the selected element; the parent remains unchanged.
Changing the domain of one element does not mean recursively moving all of its descendants. If responsibility for the whole tree must change, check the domains of the child elements separately. In your own working branch, the change is applied immediately. In the main model, when the owners differ, the current owner creates a request that is accepted by the owner of the new domain; until it is accepted, the element's domain remains unchanged.
Key steps in screenshots
How Do I Transfer Responsibility to Another Owner?
Use owner management for the required organization, landscape, or domain. The organization owner and landscape owner are changed by the organization owner; the domain owner is changed by the organization owner or the landscape owner. Having read or edit access to an individual element does not grant these powers by itself.
Depending on the selected method, the transfer is performed directly or through a request. For a request, check acceptance by the new owner and the final value, not just the fact that it was sent. Changing the owner of a domain does not move elements to another domain and does not change their parents.
Key steps in screenshots
What Should I Check after Refactoring?
- The correct target element remains, not the second duplicate with a similar name.
- All required relationships are preserved; their direction and meaning have not changed.
- Flows and interfaces point to the correct elements and relationships.
- The hierarchy stays within the three C4 levels.
- Parents, domains, and owners match the decision that was made.
- Changes are visible in history and have been checked before the working branch is merged.
The detailed operation forms are described in "Advanced Element Operations".