Object Diagram

From Open Risk Manual

Definition

An Object Diagram is a graphical UML diagram that is a type of static structure diagram. It describes a system by showing the system's objects, their attributes, operations (or methods), and the relationships among objects. It is based on the definitions of the related Class Diagram but an object diagram shows a concrete snapshot of the system state at a specific time.

PlantUML Elements

A PlantUML use object diagram specifies and shows the following:

  • An Object
  • A Map


Example

@startuml
skinparam handwritten true

object London
object Washington
object Berlin
object NewYork

map CapitalCity {
 UK *-> London
 USA *--> Washington
 Germany *---> Berlin
}

NewYork --> CapitalCity::USA
@enduml

Object Diagram

References