Package diagram

from Wikipedia, the free encyclopedia
Structure diagrams of the UML
Class diagram
Component diagram
Composition structure diagram
Object diagram
Package diagram
Profile diagram
Distribution diagram
UML behavioral diagrams
Activity diagram
Use case diagram
Interaction overview diagram
Communication diagram
Sequence diagram
Timing diagram
State diagram

A package diagram (Engl. Package diagram ) is one of the 14 chart types in the Unified Modeling Language (UML), a modeling language for software and other systems.

The package diagram is a structure diagram . It shows a certain view of the structure of the modeled system. The representation typically includes packages , package mergers , package imports and dependency relationships .

There are numerous uses for the package diagram. The metamodel of UML2 itself is divided into packages and the specification of the UML 2.0 Superstructure contains a package diagram for each language unit, with which the organization is represented in sub- packages . Package diagrams are also frequently used in the modeling of software systems. Package diagrams show, for example, the layering of the software or the subdivision of the software into modules. In business models, packages are often used to summarize parts of the model that belong together, for example into business cases. A package diagram then shows an overview of the business cases.

Examples

Example of a package diagram with a header and a content area

The example on the left shows a package diagram with a frame, a header and a content area. The header area consists of the keyword packageand the name of the diagram, the content area consists of the drawing area enclosed by the frame.

Example of a package diagram without an explicit header

The example shows a traditional packet diagram with no header and no frame.

See also

literature

  • Christoph Kecher: UML 2.0 - The comprehensive manual . Galileo Computing, 2006, ISBN 3-89842-738-2 .
  • Heide Balzert: Textbook of Object Modeling - Analysis and Design with UML 2 . Elsevier Spectrum Academic Publishing House, 2005, ISBN 3-8274-1162-9 .