Copy (Duplicate) Diagram

As you develop the diagrams in your model, you might find that some of the diagrams use many of the same elements and have a similar format.  You can copy and replicate the complete diagrams for minor modification, resulting in a duplicate diagram with either:

Links back to the original diagram elements, unless those elements are Text, Note, Hyperlink, Lifeline or Object elements that are specific to the diagram and that are copied  (shallow mode) or
Complete copies of all elements in the diagram, other than packages (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)

 

Access     Project Browser | right-click on diagram | Copy Diagram  then
Project Browser | right-click on package | Paste Diagram

Duplicate a diagram

Step

Action

See also

1

In the Project Browser, select the diagram to copy and select the Copy Diagram context menu option.

 

 

2

Select the package to host the new diagram, and select the Paste Diagram context menu option.

The Copy Diagram dialog displays.

 

 

3

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

 

 

4

In the Type of copy panel, click on the radio button for the type of copy you require; either:

Shallow
Deep, or
Smart

 

 

5

Click on the OK button.

The new diagram is automatically created with linked or new elements arranged as in the original diagram.

All connectors 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 only in those elements that are copied as simple links 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 deep mode, package elements are copied as simple links only; you cannot paste as new
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 are independent in all copy modes

Learn more