Moving/Copying Elements From One Diagram to Another  
Sequence Diagram Editor  Top  Previous  Next

Elements in a diagram can be moved or copied to another diagram using cut & paste operations. Header elements can only be pasted in the header portion of the diagram, while body elements can only be pasted in the body portion of a diagram.  
 
To move diagram elements from one diagram to another using cut & paste:  
·Select the element(s) to move  
·Invoke the Cut command from the edit menu (Edit | Cut) or context menu  
·The selected elements will be displayed in a "cut" grayed state to indicate they are in the process of being moved  
 
·Activate the destination diagram and move the insertion position to the desired paste location (where the elements should be placed)  
·Invoke the Paste command from the edit menu (Edit | Paste) or context menu  
 
The elements will be moved from their original diagram to the paste location in the new diagram.  
 
The move operation can be cancelled by pressing the Esc key in the original diagram before pasting the elements. The "cut" elements will revert to their original state.  
 
To copy diagram elements from one diagram to another using cut & paste:  
·Select the element(s) to copy  
·Invoke the Copy command from the edit menu (Edit | Copy) or context menu  
·The selected elements are copied but their appearance does not change  
·Activate the destination diagram and move the insertion position to the desired paste location (where the elements should be placed)  
·Invoke the Paste command from the edit menu (Edit | Paste) or context menu  
 
Copies of the elements will be placed at the paste location in the new diagram.  
 
Move and copy operations from one diagram to another can be undone using the Undo command. For move operations, the Undo must be performed on each diagram (in the destination diagram to undo the paste and in the source diagram to undo the cut.)  
 
Note: Cut-n-paste of diagram elements can be used to copy or move elements from one system file to another. If the entire diagram is being copied, using the Import from System File feature may be simpler.  
 
Incomplete Elements  
When moving or copying body elements containing a source and/or destination (e.g., messages, states, actions) from one diagram to another, the body element may become incomplete/orphaned if the new diagram does not contain a header element matching the name of the source/destination in the original diagram.  
 
If this occurs, the Incomplete Elements message box will be displayed indicating the number of incomplete elements that could not be pasted.  
 
 
 
·Selecting Yes will display this page  
·Selecting No will continue  
 
Non-orphaned elements are pasted in the new diagram (if desired the paste can be undone using Undo command).  
 
To resolve the issue of incomplete elements, make sure the missing header element is also selected along with the body element(s) being moved/copied before the Cut or Copy command is invoked. This will move/copy the header element to the new diagram along with the body elements.  
 
Warning: if a lifelined header element is moved/copied from one diagram to another and the target diagram already has a header element with a name matching one of these elements, the header elements will be copied and assigned new names ('ElementName(n)' where n makes the name unique). Any body elements associated with the copied header element in the original diagram will be associated with the new header element in the target diagram.  
 
See Also  
Diagram Tasks | Moving/Copying Elements Using Drag & Drop | Moving/Copying Elements Using Cut & Paste | Importing Diagrams and Classifiers From Another File  
 

Copyright (c) 2006 by Effexis Software, LLC
Looking for a time management or goal setting solution? Try our Time Management Software
See also Time management and goal setting guides to make better use of your time and learn how to set and achieve your important goals.
Site Links Time management software : to-do list software : sequence diagrams : time management system : daily planner
Visio UML Sequence Diagrams :
goal setting software