UML 2.5 shape library with updated shapes

draw.io 21 Jan 2021

Share:

The Unified Modeling Language (UML) is a set of standard symbols and diagram types, commonly used in data modelling, workflow visualisation, and system modelling. UML notation is the defacto industry standard in the fields of software development, IT infrastructure, business systems and other fields. Many languages, such as SysML, SoaML, and a number of architecture frameworks use and extend UML.
Activity diagrams are used to model workflows in various ways

The UML 2.5 specification updated the notation, or the shapes used in diagrams so they could represent a wider range of concepts more clearly. The specification document was extensively rewritten to make it easier to understand.

No new diagram types were added in UML 2.5 - the 14 diagram types that were previously defined in UML 2.0 are extended to cover the additional concepts, with many examples provided in the specification document.

UML diagram types

UML diagrams are divided into two categories that provide you with static (structural) and dynamic (behavioural) views of a system.

Diagram types defined in UML 2.5
Open this in our free diagram viewer

Enable the UML 2.5 shape library

  1. Click on More Shapes at the bottom of the left panel in draw.io, scroll down and click on the checkbox next to the UML 2.5 shape library in the Software section. You may want to also enable the UML shape library. Then click Apply.
    Enable the UML 2.5 shape library, and the older UML library if you wish to use those shapes
  2. The UML 2.5 shape library will appear in the left panel.
    The shapes in the UML 2.5 shape library let you create clearer and more extensive UML diagrams of many types

Using these shapes, and some of the shapes from the General and older UML shape libraries, you can create the full range of UML diagrams.

Example UML diagrams

Click on a diagram below to open in our diagram viewer

Component diagrams show the dependencies between the logical and physical components of a system with the interfaces that each component requires and provides and their ports.

Component diagrams show the dependencies between the components of a system.

Composite structure diagrams are used to show the internal structure of a classifier, with its properties, parts and relationships, or how a collaboration behaves. You can break down the behaviour of a collaboration into one or more specific situations (occurrences) in a collaboration or collaboration use diagram.

Composite structure diagrams are used to show the internal structure of a classifier

Deployment diagrams shows the system infrastructure and how various software executables and artifacts are deployed on deployment targets.

Deployment diagrams shows the system infrastructure and how various software executables and artifacts are deployed on deployment targets.

Activity diagrams are used to model workflows in various ways. In this example, the workflow actions are arranged into swimlanes representing the actors, with a section that allows an interrupt (exception) to cancel the order.

Activity diagrams are used to model workflows in various ways

Follow us on GitHub, Twitter, Facebook.

Share: