You have created a project containing packages, diagrams and elements, and you have connected the elements. You might have arranged your components in the wrong project structure. How do you change where things are?
Note: |
Changing names and properties is discussed a little later. |
In this topic, the explanations refer to the following example:

Notes: |
|
Move Components Within a Package in the Project Browser
To move a diagram, child package or element within its parent package, click on it in the Project Browser window and click on
or
at the top of the window.
You could move Class3 in the Project Browser above Class1, or move the Actors package underneath Classes A.
To revert to listing components in alphabetical order, right-click on the package and select the Contents | Reset Sort Order menu option.
Move Components Between Packages in the Project Browser
You might have created a diagram, child package or element in the wrong place in the Project Browser. To move a model component to another package, click on the component and drag it to the new package. This can be at either a higher level, or a lower level.
You might, for example, drag Class1 from the Primary Use Cases package into the Classes A package. Class1 then is listed in the Classes A package in the Project Browser. As a similar example, you could drag Class Diagram into the Business Process Model package.
Moving elements in the Project Browser does not affect the use of elements in diagrams (and vice versa). In our example, Class1 is initially in a diagram in the Primary Use Cases package. When you move Class1 in the Project Browser from Primary Use Cases to Classes A, it still shows in the diagram in Primary Use Cases, and does not display in any diagram in Classes A.
To remove Class1 from the Primary Use Cases diagram, click on it on the diagram and delete it. Nothing happens to the element in the Project Browser. To put Class1 into a diagram in the Classes A package, open the diagram in that package and drag the element from the Classes A package in the Project Browser onto the diagram.
Move Elements in a Diagram
If an element is not in the right position in the diagram, just click on the middle of it and drag it to the correct place. In the diagram above, you might move Class2 below Class 3, and move Class3 to the left. The element brings its connectors with it.
Move Connectors in a Diagram
You might have connected the wrong pair of elements. To move the end of a connector to a different element (for example, Class2 instead of Class3), click on the end to display a black 'handle' box and drag the end to its new position. Be aware that the connector does not break from the original target element until the cursor is on the new target.
You can also tidy up a connection by dragging the end of the connector to a better position on the edge of the element, or move both ends at once by dragging the middle of the connector.
Additional Information
Click on the links for additional information on moving connectors and elements, and saving changes.


