Professional Documents
Culture Documents
Starting with UML - Cheatsheet, 2014
Starting with UML - Cheatsheet, 2014
Preface 1
Introduction 1
Structural Diagrams 1
Class Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Object Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Component Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Deployment Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Behavioral Diagrams 3
Use Case Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Activity Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
State Machine Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Package Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Interaction Diagrams 5
Sequence Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Communication Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Interaction Overview Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Popular UML Software 8
PREFACE
PREFACE showing its classes, attributes, operations, and
relationships among objects.
This cheatsheet is not intended to be a
comprehensive guide to UML, but rather a starting
point for understanding its basic concepts and
diagram types. It is meant to be used in conjunction
with other resources, such as UML books, tutorials,
and online documentation.
Here are some key elements of an object diagram: Component A component represents
a modular part of a
Element Description system that
encapsulates its
Object An object represents an
behavior and data.
instance of a class at a
particular point in time. Interface An interface is a set of
operations that a
Attribute An attribute is a data
component provides to
element that describes
its environment or to
the state of an object.
other components.
Relationship A relationship
Relationship A relationship
represents an
represents an
association between
association between
objects, such as a
components, such as a
composition or an
dependency or a
aggregation.
realization.
how they communicate with each other. identify the hardware and software components
that make up the system. They can also be used to
specify the deployment of software components
DEPLOYMENT DIAGRAM
across different nodes and to show how they
A deployment diagram is a type of structural communicate with each other.
diagram in UML that represents the configuration
of the run-time processing nodes and the software BEHAVIORAL
BEHAVIORALDIAGRAMS
DIAGRAMS
components that reside on them. It shows the
physical hardware and software components that Behavioral diagrams are a type of UML diagram
make up a system and the relationships between that describes the dynamic behavior of a system.
them. They show how objects interact with each other
and how the system responds to different events
and conditions. Behavioral diagrams can be used to
model the behavior of a system over time, such as
during a use case scenario or a specific process.
Element Description
SEQUENCE DIAGRAM
COMMUNICATION DIAGRAM
Here are some key elements of a sequence diagram: Figure 10. Communication Diagram
Element Description
Merge node A merge node IBM Rational Software A UML modeling tool
represents a point in the Architect that supports all UML
interaction where diagram types and
multiple control flows provides features for
converge into a single software design,
flow. development, and
testing. It also supports
Interaction overview diagrams can be used to integration with other
model complex interactions between objects or IBM software products.
components in a system and to simplify their
Lucidchart A cloud-based UML
representation. They can help developers to
modeling tool that
understand the overall structure of an interaction
supports all UML
and to identify potential issues and areas for
diagram types and
improvement.
provides collaboration
features for team
POPULAR
POPULARUML
UMLSOFTWARE
SOFTWARE members to work
together in real-time.
These UML software tools are popular among
StarUML An open-source UML
developers and teams for modeling software
modeling tool that
systems using UML diagrams. They provide various
supports all UML
features and capabilities to support software
diagram types and
design, development, and documentation, as well as
provides basic features
team collaboration and project management.
for software design and
development.
Software Description
Gliffy A cloud-based UML
Visual Paradigm A comprehensive UML
modeling tool that
modeling tool that
supports all UML
supports all UML
diagram types and
diagram types and
provides collaboration
provides various
features for team
features for software
members to work
development, project
together in real-time. It
management, and team
also integrates with
collaboration.
other software tools like
Sparx Systems A powerful UML JIRA and Confluence.
Enterprise Architect modeling tool that
MagicDraw A UML modeling tool
supports all UML
that supports all UML
diagram types and
diagram types and
provides a range of
provides a range of
features for software
features for software
design, development,
design, development,
and documentation.
and documentation. It
also supports
integration with other
software tools and
frameworks.
Software Description
JCG delivers over 1 million pages each month to more than 700K software
developers, architects and decision makers. JCG offers something for everyone,
including news, tutorials, cheat sheets, research guides, feature articles, source code
and more.
CHEATSHEET FEEDBACK
WELCOME
support@javacodegeeks.com
Copyright © 2014 Exelixis Media P.C. All rights reserved. No part of this publication may be SPONSORSHIP
reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, OPPORTUNITIES
mechanical, photocopying, or otherwise, without prior written permission of the publisher. sales@javacodegeeks.com