Package diagram, a kind of structural diagram, shows the arrangement and organization of model elements in middle to large scale project. Package diagram can show both structure and dependencies between sub-systems or modules, showing different views of a system, for example, as multi-layered (aka multi-tiered) application - multi-layered application model.
Are you looking for a Free UML tool for learning UML faster, easier and quicker? Visual Paradigm Community Edition is a UML software that supports all UML diagram types. It is an international award-winning UML modeler, and yet it is easy-to-use, intuitive & completely free.
Free DownloadPackage diagrams are used to structure high level system elements. Packages are used for organizing large system which contains diagrams, documents and other key deliverables.
Package diagram is used to simplify complex class diagrams, you can group classes into packages. A package is a collection of logically related UML elements.
The diagram below is a business model in which the classes are grouped into packages:
Package diagram follows hierarchal structure of nested packages. Atomic module for nested package are usually class diagrams. There are few constraints while using package diagrams, they are as follows.
Packages can be represented by the notations with some examples shown below:
There are two sub-types involved in dependency. They are <<import>> & <<access>>. Though there are two stereotypes users can use their own stereotype to represent the type of dependency between two packages.
<<import>> - one package imports the functionality of other package
<<access>> - one package requires help from functions of other package.
A package diagram is often used to describe the hierarchical relationships (groupings) between packages and other packages or objects. A package represents a namespace.
Package Diagram Example - Layering Structure
Order Processing System - The Problem Description
We are going to design package diagram for "Track Order" scenario for an online shopping store. Track Order module is responsible for providing tracking information for the products ordered by customers. Customer types in the tracking serial number, Track Order modules refers the system and updates the current shipping status to the customer.
Based on the project Description we should first identify the packages in the system and then related them together according to the relationship:
Identify the packages of the system
Identify the dependencies in the System
You've learned what a Object Diagram is and how to draw a Object Diagram. It's time to draw a Object Diagram of your own. Get Visual Paradigm Community Edition, a free UML software, and create your own Object Diagram with the free Object Diagram tool. It's easy-to-use and intuitive.
Free Download