Move Elements Between Packages

Elements and packages can be moved from one package to another by dragging and dropping the element to the target destination in the Project Browser. Note that if you move a package, ALL the child packages and their contents are moved to the new location also.

How To:

To move an element between packages, follow the steps below:



See Also


Click on the element in the Project Browser. (See Customer in the diagram below.)



Drag the element so that the cursor is over the target package icon. The element symbol (and, in some operating systems, the element name) displays at the moving cursor position.)




Release the mouse button. The element is moved into the target package.



  • You can also drag the element under a host element in the new package; for example, drag an element under a Class
  • Moving an element has no effect on any relationships that the element might have
  • Moving an element in the Project Browser has no effect on the use of that element in any diagram
  • Moving a diagram generally does not affect the location of elements in packages. If you move a diagram out of one package into another, all the elements in the diagram remain in the original package. However, certain elements (such as Decision, Initial and Final elements) are used only within one diagram, have no meaning outside that diagram, and are never re-used in any other diagram. Therefore, if you move a diagram containing these elements, they are moved to the new parent package with the diagram
  • In a multi-user environment, if one person moves or updates the Project Browser structure, other users must reload their project to see the latest changes in the Project Browser. Although this is true of any addition or modification to the tree, it is most important when big changes are made, such as dragging a package to a different location

Learn More: