How to Create A UML Package Diagram

> Edraw How-To > How to Create A UML Package Diagram
author
Posted by Allison Lynch |
UML Package Diagrams are constructs that help you organize model elements into groups. They can group elements that are related. This article will show you how to create one easily and quickly.

Part 1: What is The UML Package Diagram?

UML Package Diagrams are constructs that help you organize model elements into groups. They can group elements that are related. This article will show you how to create one easily and quickly.

Unified Modelling Language (UML) is a type of language used to illustrate the inner workings of a system, which include its actors, actions, roles, and classes. Originally used in the fields of software and engineering, UML has now made its way into business, and is a popular method of documenting business processes.

The Usage of UML Package Diagram

The purpose of UML Package Diagrams is to organize elements into groups to provide a better structure for a system model and illustrate the dependencies between different packages of this system.

  • Elements of a package are all package-able. All elements contained in a package will be removed from a system if the package is removed.
  • Package itself can also been as a package-able element, so a package could also be a member of other packages.
  • A package can import one member of other packages or all the members of other packages. Package can also be merged with other packages.

UML Package Diagram

Source:EdrawMax


The Shapes and Symbols of UML Package Diagram

There are the shapes and symols used in UML package diagrams, from which you can see clearly the elements needed in a UML diagram.

  • A package is represented by a rectangle with a small tab on the left side of the top of the rectangle. If the members of the package are not inside the package, then place the name of the package inside.
  • Package Symbol

  • When the members of the package shown within the package, the name of the package should be placed in the tab on the top.
  • Package Symbol with Members

  • Members of the package can be shown placed of the package connected by arrows that indicate dependency.
  • Package Symbol with Outside Members


Part 2: How to Create A UML Package Diagram?

How to make a UML package diagram easily? Using EdrawMax to create your own UML package diagram in minutes. If you have had Edraw installed, you can create a more detailed UML package diagram by using the UML package diagram templates.

Step 1: Open EdrawMax desktop software or EdrawMax web-based application.

Step 2: Navigate to [New] > [Software] > [UML Modeling] in EdrawMax.

How to Create A UML package Diagram

Step 3: Select one UML package diagram template to edit on it or click the [+] sign to start from scratch. Also, you can use massive UML package diagram symbols and elements from libraries in left menu to customize your UML package diagram.

How to Create A UML package Diagram

Step 4: Once finished your creation, you can export the file in multiple formats, including Graphics, PDF, editable MS Office file, SVG and Visio vsdx file.

How to Create A UML package Diagram

Step 5: Besides, you can share your UML package diagram with others via social media and web page. Or publish your UML package diagram in EdrawMax template gallery to show your work with others.

How to Create A UML package Diagram


Part 3: UML Package Diagram Maker - EdrawMax

One of the most powerful programs that can compete with Microsoft Visio, EdrawMax is yet another diagramming software available for Windows, macOS, and Linux. The tool has several categories for almost all types of industries, and each category further has numerous templates to choose from, thus saving you a lot of time that you would otherwise waste in structuring a diagram, UML package diagram for this example, from scratch.

Price: free to use, lifetime plan for individuals, license for team and business.

EdrawMax

All-in-One Diagram Software
Create more than 210 types of diagrams effortlessly
Start diagramming with various templates and symbols easily
  • Superior file compatibility: Import and export drawings to various file formats, such as Visio
  • Cross-platform supported (Windows, Mac, Linux, Web, Android, iOS)


Part 4: UML Package Diagram Examples

Following are a few UML package diagram examples that would help you understand the diagram versatility.

 UML Package Diagram Examples

Source:EdrawMax

This package diagram illustrates the functionality of Java™ Servlet 3.0 API’s key classes and interfaces.

An Application Programming Interface (API) is used to define interactions between multiple software intermediaries. The API depicted in this diagram is done so using Java Servlet Specification Version 3.0, and is a required part of version 6 of the Java Platform, Enterprise Edition (“Java EE”).

 UML Package Diagram Examples

Source:EdrawMax

This package diagram illustrates Spring and Hibernate data access classes. The Spring Framework is useful when it comes to integration with Object Relational Mapping (ORM) data access technologies, including JPA, Hibernate, Oracle TopLink, JDO, and iBATIS SQL Maps.


Part 5: Conclusion

According to this article, there are mainly four parts to illustrate what is the UML package diagram, to tell you how to create a UML package diagram in EdrawMax, and to show you how easy and helpful EdrawMax tool is, then shows some UML package diagram examples. Creating a detailed UML package diagram with Edraw is an effective way to design and document a computer network, like the following illustration.

EdrawMax is an easiest all-in-one diagramming tool, you can create UML package diagrams and any other type diagrams with ease! With substantial UML package diagram symbols and cliparts, making UML package diagrams could be as simple as possible. Also, it supports to export your work in multiple formats and share your work with others. Get started to create your UML package diagram now!


Related articles

download EdrawMind
main page

Get Started! You Will Love This Easy-To-Use Diagram Software

EdrawMax is an advanced all-in-one diagramming tool for creating professional flowcharts, org charts, mind maps, network diagrams, UML diagrams, floor plans, electrical diagrams, science illustrations, and more. Just try it, you will love it!