Package Diagram Example: Stocks Trading System


This is a package diagram example for a stock trading system. It shows not only the packages but the dependency in between. For example the package stock trader UI depends on stock trader. This means that components in stock trader UI depend on components in stock trader.

Use this package diagram as an example to create your own package diagram. Click Use this Template to start, or click Create Blank to create a new one.

What is Package Diagram?

A package diagram in the Unified Modeling Language depicts the dependencies between the packages that make up a model. A package can be used as a general purpose mechanism for organizing model elements into groups. It provides an encapsulated namespace within which all the names can be fully qualified. A package is used to group semantically related elements and it is a namespace as well as an element that can be contained in other packages' namespaces.

Usage of Package Diagram

  • Package diagrams can use packages containing use cases to illustrate the functionality of a software system.
  • Package diagrams can use packages that represent the different layers of a software system to illustrate the layered architecture of a software system.
    • The dependencies between these packages can be adorned with labels / stereotypes to indicate the communication mechanism between the layers.

Keen to try VP Online?

No limitations, no obligations, no cancellation fees.

Start a Free Trial