Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Contents
Prev Next

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 the diagram, and links back to the original diagram elements for all other elements on the diagram (smart mode)

Access

Ribbon

Select a diagram in the Project Browser then,

Design > Diagram > Manage > Copy Diagram

Select a Package or an Element in the Project Browser then,

Design > Diagram > Manage > Paste Diagram

Context Menu

Right-click on diagram in Project Browser | Copy/Paste | Copy Diagram then:

Right-click on Package | Copy/Paste | Paste Diagram  or

Right-click on element | Copy/Paste | Paste Diagram

Keyboard Shortcuts

Copy the diagram then:

  • Select Package > Ctrl+V  or
  • Select element > Ctrl+V

Duplicate a diagram

Option

Action

See also

Name

Type the name for the new diagram.

Type of copy

Click on the radio button for the type of copy you require; either:

  • Shallow
  • Deep, or
  • Smart

OK

Click on this button to initiate the copy.

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
  • 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