UML Diagram

Structure Diagram

Behavior Diagram

Class Diagram

Object Diagram

Package Diagram

Composite Structure Diagram

Component Diagram

Deployment Diagram

Profile Diagram

Use to show

Instance level class diagram

Common types

Elements

class

interface

feature

constraint

association

generalization

dependency

domain model diagram

diagram of implementation classes

structure of the designed system at the level of classes and interfaces

features, constraints and relationships

Instance level class diagram

Elements

Notes

Use to show

instance specifications of classes and interfaces (objects)

slots with value specifications

links (instances of association)

instance specification

object

slot

link

UML 2.5 standard hierachy of diagrams (see UML 2.5 diagrams overview), shows class diagrams and object diagrams as completely unrelated

Some other authoritative UML sources state that component diagrams are deployment diagrams containing only instance specifications are also special kinds of object diagrams

Use to show

Instance level class diagram

Elements

package

packageable element

dependency

element import

package import

package merge

packages

relationships between packages

Uses to show

Elements

internal structure of classifier - internal structure diagram

classifier interactions with environment through ports

a behavior of collaboration - collaborations use diagram

class

part

port

connector

usage

collaboration

Use to show

Use in

Elements

Component - Based Development (CBD) to describe systems with Service - Oriented Architecture (SOA)

components, provided and required interfaces

ports

relationships between components

component

interface

provided interface

required interface

class

port

connector

artifact

usage

component realization

Use to show

Elements

Notes

Architecture of the system as deployment (distribution) of software artifacts to deployment targets

Components were directly deployed to nodes in UML 1.x deployment diagrams

In UML 2.x artifacts are deployed to nodes, and artifacts could manifest (implement) components. Components are deployed to nodes indirectly through artifacts.

deployment

artifact

deployment target

node

device

execution environment

communication path

deployment specification

Use to describes

Elements

tagged values

constraints

lightweight extension mechanism to the UML by defining custom stereotypes

profile

metaclass

stereotype

extension

reference

profile application

Use Case Diagram

Activity Diagram

Interaction Diagram

State Machine Diagram

Use to show

Elements

a set of use cases that system can perform in collaboration to provide some observable and valuable results

Use Case

Actor

Subject

Extend

Include

Association

Use to show

Elements

Sequence and conditions for coordinating lower-level behaviors

activity

partition

action

object

control

activity edge

Sequence Diagram

Communication Diagram

Timing Diagram

Interaction Overview Diagram

Use to describe

Elements

An interaction by focusing on the sequence of message that are exchanged

lifeline

execution specification

message

combined fragment

interaction use

state invariant

destruction occurrence

Use to show

Elements

the interaction between lifelines where the architecture of the internal and how this corresponds with the message passing is central

lifeline

message

Use to

Elements

focus on conditions changing within and among lifelines along a linear time axis

lifeline

state or condition timeline

destruction event

duration constraint

time constraint

Use to

Elements

Note

focus on the overview of the flow of control where the nodes are interactions or interaction uses

The Lifelines and the Message do not appear at this overview level

That can only have inline interactions or interaction uses instead of invocation actions

initial node

flow final node

activity final node

decision node

merge node

fork node

join node

interaction

interaction use

duration constraint

time constraint

Kinds

Behavioral State Machine

Protocol State Machine

Use to show

Elements

discrete behavior of a part of designed system through finite state transitions

behavioral state

behavioral transition

pseudostate

Use to express

Elements

the usage protocol of part of a system

protocol transition

protocol state

pseudostate