Part I. Getting started

Part II. UML modeling

Part III. Project glossary

Part IV. BPMN toolset

Part V. Project management

Part VI. Modeling toolset

Part VII. ArchiMate tools

Part VIII. Team collaboration

Part IX. Code engineering

Part X. Database design and engineering

Part XI. Advanced modeling toolset

Part XII. Document production

Part XIII. Business modeling

Part XIV. Business rule

Part XV. Agile development

Part XVI. Wireframe

Part XVII. Impact analysis

Part XVIII. CMMN toolset

Part XIX. SoaML modeling

Part XX. Design animation

Part XXI. IDE Integration

Part XXII. Interoperability and integration

Part XXIII. Process simulation

Part XXIV. Zachman and BMM

Part XXV. Appendix A - Application Options

Part XXVI. Appendix B - Project Options

Part XXVII. Appendix C

 

How to Draw Package Diagram?

Package diagram is a kind of UML diagram that 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

Perform the steps below to create a UML package diagram in Visual Paradigm.

  1. Select Diagram > New from the application toolbar.
  2. In the New Diagram window, select Package Diagram.
  3. Click Next.
  4. Enter the diagram name and description. The Location field enables you to select a model to store the diagram.
  5. Click OK.

Creating package

To create package in package diagram, 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 window is opened, with the Stereotypes tab selected. 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.

Edit stereotypes
Edit stereotypes

Click Add... button in the Configure Stereotypes window.

Add stereotype
Add stereotype

 

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

Add selected stereotypes
Add selected stereotypes

Close the specification window. Stereotypes will be applied to the package.

Stereotypes assigned
Stereotypes assigned

Continue to complete the diagram.

Completed diagram
Completed diagram

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

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

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK