Converting a Diagram to a Package

PowerDesigner lets you convert a diagram to a package. You can move all the objects in the diagram to the new package or specify only certain objects. Other objects will stay in their original package and be represented via shortcuts in the new package.

The linking objects that you move keep their links in the target package and a shortcut is usually created in the source package. The general rule being that conceptual modeling must be preserved.

Shortcuts creation rules in PowerDesigner also apply to moving objects between packages (see Shortcuts and Replicas).

  1. Select View > Diagram > Convert to Package (or right-click the diagram background window and select Diagram > Convert to Package or right-click the diagram node in the Browser and select Convert to Package) to open the Convert Diagram to Package wizard. By default the package takes the name of the diagram.


  2. Click Next to open the Selecting Objects to Move page, which lists all the objects in the diagram available to move to the new package. Objects are organized by object type, with a sub-tab for each object type. By default, all the objects are selected.


  3. [optional] Deselect any objects you do not want to move to the new package. Objects deselected here will remain in the original package and be represented in the new package via shortcuts.
  4. Click Finish to create the new package and move the selected objects to it.

    The new package and diagram are added in the Browser.