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. The other diagram can be either another floating diagram or a tabbed diagram.

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

Move or copy selected elements

Option

Function Keys

Description

See also

Move to this diagram

Drag+Shift

Cuts the selected element or elements from the source diagram and pastes 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.

 

 

Create link on this diagram

Drag+Alt

Creates an element or elements on the target diagram, each as an instance of a selected element on the source diagram.

 

 

Copy as New Object(s)

Drag+Ctrl

Creates 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.

 

Copy Elements Between Diagrams

Instance (Object)

 

Creates 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.

 

 

as New Child (Generalization)

 

Creates 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.

 

 

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

Diagram Tabs   - for information on floating diagrams
Window Menu  - for information on floating diagrams
Paste from Project Browser - for information on copying, pasting and moving elements using the Project Browser