Copy (Duplicate) Diagram

Enterprise Architect makes it easy to duplicate a complete diagram, with either :

  • links back to the original diagram elements (shallow mode) or
  • complete copies of all elements in the diagram (deep mode) or
  • complete copies of all elements in the diagram that have the same parent as that of the diagram and links back to the original diagram elements for all other elements on the diagram (smart mode)

 

To duplicate a diagram, follow the steps below

How to:

Step

Action

See Also

1

In the Project Browser, select the diagram to copy.

 

2

Right-click to display the context menu and select the Copy Diagram menu option.

 

3

Navigate to the package to host the new diagram, and right-click to open the context menu.

 

4

Select the Paste Diagram menu option. The Copy Diagram dialog displays.

 

5

In the Name field, type the name for the new diagram.

 

6

In the Type of copy panel, click on the radio button for the type of copy you require; either linked elements (shallow mode) or complete copies of the original elements shown on the diagram (deep mode) or complete copies of the original elements shown on the diagram that have the same parent as that of the diagram and linked elements of all other elements on the diagram(smart mode) .

 

7

Click on the OK button.

Enterprise Architect automatically creates the new diagram, links or creates new elements and arranges them as in the original diagram. All links are also copied between diagram elements where appropriate.

 

Notes:

  • In the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions of Enterprise Architect, if security is enabled you must have Manage Diagrams permission to copy diagrams.
  • You can also paste a copied diagram as a child of a composite element.
  • For a diagram copied in shallow mode, any changes to the properties of the original elements are reflected in the elements in the pasted diagram.
  • For a diagram copied in deep mode, any changes to the properties of the original elements are not reflected in the elements in the pasted diagram.
  • For a diagram copied in smart mode, any changes to the properties of the original elements are reflected only in those elements that are copied as simple links in the pasted diagram.
  • Element position and size will be independent in all copy modes.

Learn More: