What Is Unified Modeling Language - Lucidchart
What Is Unified Modeling Language - Lucidchart
A picture is worth a thousand words. That’s why Unified Modeling Language (UML)
diagramming was created: to forge a common visual language in the complex world
of software development that would also be understandable for business users and
anyone who wants to understand a system. Learn the essentials of UML diagrams
along with their origins, uses, concepts, types and guidelines on how to draw them
using our UML diagram tool.
15 minute read
Do you want to create your own UML diagram? Try Lucidchart. It's fast, easy, and
totally free.
What is UML?
The Unified Modeling Language (UML) was created to forge a common,
semantically and syntactically rich visual modeling language for the architecture,
design, and implementation of complex software systems both structurally and
behaviorally. UML has applications beyond software development, such as
process flow in manufacturing.
UML is not a programming language but there are tools that can be used to
generate code in various languages using UML diagrams. UML has a direct
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 1/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
UML uses the strengths of these three approaches to present a more consistent
methodology that's easier to use. UML represents best practices for building and
documenting different aspects of software and business system modeling.
The efforts of these thinkers resulted in the release of the UML 0.9 and 0.91
documents in 1996. It soon became clear that several organizations, including
Microsoft, Oracle, and IBM saw UML as critical to their own business
development. They, along with many other individuals and companies,
established resources that could develop a full-fledged modeling language. The
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 2/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
Three Amigos published The Unified Modeling Language User Guide in 1999, and
an update which includes information about UML 2.0 in the 2005 Second Edition.
Advancing the state of the industry by enabling object visual modeling tool
interoperability. However, to enable meaningful exchange of model information
between tools, agreement on semantics and notation is required.
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 3/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
Defining ways in which UML tools can be made compliant with this
specification. This is supported (in a separate specification) with an XML-based
specification of corresponding model interchange formats (XMI) that must be
realized by compliant tools.
Diagramming is quick and easy with Lucidchart. Start a free trial today to start
creating and collaborating.
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 4/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
Abstract syntax compliance Users can move models across different tools, even
if they use different notations
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 5/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
Concrete syntax compliance Users can continue to use a notation they are
familiar with across different tools
Core In the context of UML, the core usually refers to the "Core package" which
is a complete metamodel particularly designed for high reusability
Level 0 (L0) Bottom compliance level for UML infrastructure - a single language
unit that provides for modeling the kinds of class-based structures encountered
in most popular object-oriented programming languages
Meta Object Facility (MOF) An OMG modeling specification that provides the
basis for metamodel definitions in OMG's family of MDA languages
Metamodel Defines the language and processes from which to form a model
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 6/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
Functional: These are Use Case diagrams, which describe system functionality
from the point of view of the user.
Object: These are Class Diagrams, which describe the structure of the system in
terms of objects, attributes, associations, and operations.
These system models are visualized through two different types of diagrams:
structural and behavioral.
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 7/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
Encapsulation Mechanism of binding the data together and hiding them from
outside world.
Class Diagram The most commonly used UML diagram, and the principal
foundation of any object-oriented solution. Classes within a system, attributes
and operations and the relationship between each class. Classes are grouped
together to create class diagrams when diagramming large systems.
Deployment Diagram Illustrates system hardware and its software. Useful when
a software solution is deployed across multiple machines with unique
configurations.
Object Diagram Shows the relationship between objects using real world
examples and illustrates how a system will look at any given time. Because data
is available within objects, they can be used to clarify relationships between
objects.
Package Diagram There are two special types of dependencies defined between
packages: package import and package merge. Packages can represent the
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 8/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
Sequence Diagram Shows how objects interact with each other and the order
of occurrence. They represent interactions for a particular scenario.
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 9/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
CLASS DIAGRAMS
Class diagrams represent the static structures of a system, including its classes,
attributes, operations, and objects. A class diagram can display computational
data or organizational data in the form of implementation classes and logical
classes, respectively. There may be overlap between these two groups.
1. Classes are represented with a rectangular shape that is split into thirds. The top
section displays the class name, while the middle section contains the class'
attributes. The bottom section features the class operations (also known as
methods).
2. Add class shapes to your class diagram to model the relationship between those
objects. You may need to add subclasses, as well.
COMPONENT DIAGRAMS
DEPLOYMENT DIAGRAMS
1. When drawing a deployment diagram, use the same notation that you use for a
component diagram.
2. Use a 3-D cube to model a node (which represents a physical machine or virtual
machine).
3. Label the node in the same style that is used for sequence diagrams. Add other
nodes as needed, then connect with lines.
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 11/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
ACTIVITY DIAGRAM
Activity diagrams show the procedural flow of control between class objects,
along with organizational processes like business workflows. These diagram are
made of specialized shapes, then connected with arrows. The notation set for
activity diagrams is similar to those for state diagrams.
2. Connect the circle to the first activity, which is modeled with a round-edged
rectangle.
3. Now, connect each activity to other activities with lines that demonstrate the
stepwise flow of the entire process.
4. You can also try using swimlanes to represent the objects that perform each
activity.
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 12/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
A use case is a list of steps that define interaction between an actor (a human who
interacts with the system or an external system) and the system itself. Use case
diagrams depict the specifications of a use case and model the functional units of
a system. These diagrams help development teams understand the requirements
of their system, including the role of human interaction therein and the
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 13/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
differences between various use cases. A use case diagram might display all use
cases of the system, or just one group of use cases with similar functionality.
1. To begin a use case diagram, add an oval shape to the center of the drawing.
3. Represent actors with a stick figure near the oval, then use lines to model
relationships between actors and use cases.
SEQUENCE DIAGRAM
1. To create a sequence diagram, write the class instance name and class name in a
rectangular box.
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 14/16
3/31/23, 4:53 PM What is Unified Modeling Language | Lucidchart
2. Draw lines between class instances to represent the sender and receiver of
messages.
Simple to use If you’re making a UML diagram, you clearly know what you’re
doing, but we want to make it as easy as possible to get the job done. You’ll
save time with Lucidchart’s polished interface and smart drag-and-drop editor.
Extensive shape library Draw state diagrams, activity diagrams, use case
diagrams, and more. With an extensive shape and connector library, you'll find
everything you need.
Fully integrated Lucidchart is fully integrated with G Suite. Once you get started
with Lucidchart, you’ll be able to find us right in your Google productivity suite
along with Gmail and Google Drive. Plus, you can use the same login you use
for Google.
Enables collaboration You can easily share your UML diagram with your co-
workers, clients, or your boss. Your diagrams can be embedded into a webpage
or published as a PDF, and Lucidchart’s presentation mode turns your creation
into a great-looking visual aid.
Visio import/export It’s easy to import and export Visio files so you can save
the work you've already done. The whole experience is fast and seamless.
https://www.lucidchart.com/pages/what-is-UML-unified-modeling-language 16/16