Creating package diagram

Package diagram shows the arrangement and organization of model elements in middle to large scale project. It can show both structure and dependencies between sub-systems or modules.

Creating package diagram

  • Click on UML on toolbar and select Package Diagram from the drop down menu.
  • Right click on Package Diagram in Diagram Navigator and select New Package Diagram from the popup menu.
  • Select File > New Diagram > UML Diagrams > Package Diagram from the main menu.

Create package diagram

 

Creating package

To create package, click Package on the diagram toolbar and then click on the diagram.

Create package
Create package

A package will be created.

Package created
Package created

Assigning stereotypes

Right click on the package and select Stereotypes > Edit Stereotypes... from the pop-up menu.

Assign stereotypes
Assign stereotypes

When the Package Specification dialog box pops out, the Stereotypes tab is opened by default. The list on the left shows the selectable stereotypes.

If the stereotype you want to use is not on the list, click Edit Stereotypes... button.

 Click Edit Stereotypes... button
 Click Edit Stereotypes... button

Click Add... in the Configure Stereotypes dialog box.

Add stereotype
Add stereotype

 

Enter name for the new stereotype (e.g. facade). Click OK button in Stereotype Specification dialog box and the Configure Stereotypes dialog box. You will see the added stereotype appears on the list in Package Specification dialog box. Select it and click Add Selected button. Next, click OK button to proceed.

Add selected stereotype
Add selected stereotype

Close the specification dialog box. Stereotypes will be applied to the package.

Stereotypes assigned
Stereotypes assigned

Continue to complete the diagram.

Completed diagram
Completed diagram
 
Chapter 9. Package diagram Table of Contents Chapter 10. Object diagram
 

Technical Support

Have technical issues or suggestions? Please contact Visual Paradigm Support Team.

Sales Support

Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.

Discussion Forum

Share your suggestions of opinions at VP Discussion Forum.