Move/Copy Elements To & From Floating Diagrams

If you have converted a tabbed diagram in the Diagram View into a floating diagram, you have a number of context menu options to move or copy elements between that diagram and another floating or tabbed diagram.

Access Drag element(s) between two diagrams and release mouse button

Move or copy selected elements

Field/Option/Button

Action

See also

Move to this diagram

Select this option to cut the selected element or elements from the source diagram and paste them into the target diagram.

If the moved elements are held in a different Package, when the elements are pasted each has a label underneath identifying the parent Package.

Function Keys: Drag+Shift

Create link on this diagram

Select this option to create an element or elements on the target diagram, each as an instance of a selected element on the source diagram.

Function Keys: Drag+Alt

Copy as New Object(s)

Select this option to create an element or elements on the target diagram, each as a copy of a selected element on the source diagram.

The 'Paste Element(s) as New' dialog displays, on which you enter a new name for each element to identify it as a new, separate element. Click on the Paste button to complete the create task.

Function Keys: Drag+Ctrl

Copy Elements Between Diagrams

Instance (Object)

Select this option to create an element or elements on the target diagram, each as an object instance or invocation of an element on the source diagram. The source element is the classifier for the new object element.

Function Keys:

as New Child (Generalization)

Select this option to create a new child element on the target diagram, as a generalization of the element of the source diagram.

The 'Element Name' dialog displays for each copied element, on which you enter a new name for the element to identify it as a new, separate element.

Click on the OK button to complete the create task.

Function Keys:

Notes

  • Multiple elements are processed individually, so if one element is 'illegal' the other elements are still copied and/or transferred
  • If you select multiple elements to copy as instances or generalizations, those elements must be of the same type and stereotype
  • Embedded elements are moved or copied only if they are specifically selected with the parent element

Learn more