Skip to main content

Advanced Element Operations

In the updated editor, first choose Diagram → Edit, click an architectural element, and open the Tools tab on the right. It contains operations that change the model structure or help you navigate to related data, and it is available on C1, C2, C3, and Dynamic diagrams outside share/read-only mode.

Before making bulk changes, it is recommended that you work in a separate branch and check the result through history and the diff tree.

Loading image...
Edit mode exposes structural element tools in the right panel.

How to Extract an Element to a Separate Diagram​

This operation creates a new diagram with the selected element, its relationships, and neighboring objects. The source diagram and the overall model are not deleted.

  1. Open the diagram and select the element.
  2. In the right panel, open Tools.
  3. In the Extract Element to a Separate Diagram block, click Extract.
  4. Review the automatically suggested name and description.
  5. Select the type of the new diagram: C1, C2, C3, or Dynamic.
  6. If two domains are available, choose the domain of the source diagram or the element itself.
  7. For C2, specify the system being described; for C3, specify the system and container.
  8. Choose how many levels of inbound and outbound relationships to transfer: one or two.
  9. Click Create.
  10. The system will open the new diagram; review the element set and adjust the layout if needed.
Loading image...
Configure diagram type, domain, detailed subject, and relationship depth.

How to Change an Element's Domain​

Changing the domain transfers responsibility for the object without creating a copy. Existing relationships and usages of the object continue to refer to the same element.

  1. Select an actor, system, container, or component.
  2. Open Tools.
  3. Click Change in the Change Element Domain block.
  4. Select the target domain.
  5. Save the change.
  6. Switch the domain filter on the main screen and make sure the element appears in the new context.
  7. Check permissions, the domain owner, related diagrams, and cross-domain relationships.

If the change affects someone else's area of responsibility, coordinate it with the domain owner before merging into master.

Loading image...
Move the selected element without creating a duplicate.

How to Change the Parent Object​

The parent defines the C4 hierarchy: a container belongs to a system, and a component belongs to a container. The operation is available for containers and components. A system cannot be nested into a container by simply changing its parent: to correct an incorrect level, first dismantle the child structure, then use merging of an empty element.

  1. Select a container or component.
  2. Open Tools.
  3. Click Change in the Change Parent Object block.
  4. Select a valid parent of the required type.
  5. Save the change.
  6. Check the C2/C3 diagrams, drill-down, and the Structure tab for the old and new parent.
  7. Open quality analytics and make sure no parent relationship issues appeared.
Loading image...
The form shows the current parent and valid replacement systems.

How to Merge Duplicate Elements​

The currently selected element becomes the target and is preserved. The selected duplicates are deleted, and allowed relationships are transferred to the target.

  1. First select the element that should remain in the model.
  2. Open Tools and click Merge.
  3. In the Element to add field, find the duplicate object and add it to the list.
  4. Expand the relationship group for each source element.
  5. Select the relationships that need to be transferred.
  6. Check the number of relationship usages in data flows. Relationships used in flows may not be available for simple transfer.
  7. In the right-side preview, verify the final relationships of the target element.
  8. Click Save.
  9. Review the diagrams, flows, properties, and history after merging.

An empty container can be merged into a target component; a container with child components cannot be used for this. Likewise, an empty system can be merged into a target container, but first it must no longer have child containers. Here, emptiness refers to children, not relationships. A step-by-step example and result verification are given in the refactoring FAQ.

Relationships not selected for transfer are deleted together with the source duplicate. If a property key matches, the populated value of the target element is preserved. Therefore, before confirming, check the selected relationships and values, and after the operation check interfaces, diagrams, and flows.

Loading image...
Selected relationships move from each duplicate to the retained target.

How to Merge Relationships​

This operation is used when multiple duplicate or same-type relationships accumulate between the same participants. The relationships being merged must have the same source, target, and direction. The resulting relationship gets a new identifier, and usages of the source relationships in steps and interactions are transferred to it.

  1. Select the relationship that participates in the merge.
  2. Open Tools and click Merge.
  3. Select the other relationships to merge.
  4. Check the direction and the number of usages for each relationship in data flows.
  5. If necessary, select the top-level relationship.
  6. Enter the name and description of the final relationship.
  7. Click Save.
  8. Check the flow steps and diagrams that used the source relationships.
Loading image...
Same-direction relationships are replaced by one reviewed result.

How to Import Interfaces for the Selected Element​

For a system, container, or component, the Tools tab lets you open import with the owner element already selected.

  1. Select the element.
  2. Open Tools.
  3. In the Import Interfaces block, click Import.
  4. Select a supported API description file.
  5. Check the import method and interface type.
  6. Start the import.
  7. Open the element's Interfaces tab and verify the created records.

Supported types and the subsequent binding to flows are described in the API documentation import guide.

How to Find Usages​

  1. Select an object or relationship.
  2. Open Tools.
  3. In the Used in diagrams and data flows block, click Usage.
  4. Review the diagrams, flows, and steps where the object appears.
  5. Open the found location in the current tab or a new tab.

To send a colleague a ready-made route:

  1. In the same section, click Copy Link.
  2. Wait for the message Link copied.
  3. Send the link to a user who has access to the same context.
  4. After opening the link, SysCraft will load the diagram and immediately show the usage window for the selected object.

The link does not grant any additional permissions. If the recipient cannot see the object or diagram, check access to the organization, landscape, branch, and domain.

Loading image...
Inspect every diagram and flow usage or share the same usage view.

Video lesson: Merging Elements​

Practical walkthrough: merging model elements.

Video lesson: Merging Relationships​

Practical walkthrough: merging model links.

Video lesson: Safe Nesting Changes​

Practical walkthrough: safe nesting changes.