Atlas
  • All-in-one
  • Solutions
  • Compare
  • Pricing
PricingGet started
All guides
July 11, 2026·9 min read·UML, object diagram, instances, modeling

UML Object Diagrams: A Complete Guide

An object diagram is a snapshot of specific instances at one moment in time. This guide explains how it complements the class diagram and when a concrete example is worth a thousand abstractions.

A class diagram tells you that a Customer can have many Orders. An object diagram tells you that the customer named Ada has exactly three orders, with these order numbers and these totals, right now. The class diagram is the general rule; the object diagram is a specific instance of that rule, frozen at a moment in time. This makes object diagrams humble but genuinely useful: when an abstract model is hard to grasp, a concrete example of it often makes everything click.

Object diagrams are among the least discussed UML types precisely because they are so closely tied to class diagrams, but they solve a real problem: verifying and communicating what a model actually produces. This guide explains the notation, how object diagrams relate to class diagrams, and the specific situations where drawing one pays off. You can create both at /diagrams, and the class diagram foundations are covered at /diagram-tools/uml-diagram.

The notation: instances with values

An object in an object diagram looks like a class box but with two key differences. First, the name at the top is underlined and written in the form "instanceName : ClassName", such as "ada : Customer" or ": Order" if the instance is anonymous. The underline is the signal that you are looking at a specific instance rather than a class. Second, the attributes compartment shows actual values, not types: "name = Ada Lovelace" and "email = ada@example.com" rather than the abstract "name: String".

Operations are usually omitted, because an instance does not have its own methods distinct from its class; the methods live on the class. Objects are connected by links, drawn as plain solid lines, which are specific instances of the associations defined in the class diagram. Where the class diagram says "Customer relates to Order", a link in the object diagram says "this particular Ada relates to that particular Order #1042". The whole diagram is a snapshot: a valid configuration of real objects at one instant.

Object diagram versus class diagram

The relationship between the two is the relationship between a rule and an example, or in programming terms between a class and an instance. A class diagram is drawn once and describes every possible valid configuration. An object diagram is one such configuration made concrete. You could draw infinitely many different object diagrams that all conform to the same class diagram, each showing a different set of instances and values.

This is why object diagrams are excellent for validating a class diagram. If you cannot draw a sensible object diagram that satisfies your class diagram, the class diagram probably has a flaw: a multiplicity that does not work, a missing relationship, an impossible constraint. Sketching a concrete instance is a cheap way to test an abstract model before you build against it, the modeling equivalent of writing a quick example to check that an API design actually holds together.

When to draw an object diagram

Object diagrams are situational rather than routine, but in the right situation nothing else does the job as well. They shine whenever a concrete example communicates faster than an abstract one.

  • Explaining a complex or unintuitive class diagram by showing a real, filled-in example of it.
  • Validating that a class diagram's multiplicities and relationships actually permit the scenarios you need.
  • Documenting a specific test fixture or seed data configuration so others understand the expected shape of data.
  • Illustrating an edge case, such as a self-referential structure or a recursive relationship, with concrete instances.
  • Debugging by drawing the actual object graph at the moment a bug occurs to see how instances are linked.
  • Onboarding, where a worked example of the domain model lands faster than the abstract class diagram alone.

A worked example

Suppose the class diagram says a Team has one to many Players, and each Player belongs to exactly one Team. An object diagram might show "redSox : Team" linked to three player instances: "ortiz : Player", "betts : Player", and "bogaerts : Player", each with concrete attribute values like a jersey number and a position, and each linked back to redSox. In one glance, anyone can see a valid, populated instance of the model.

Notice how the object diagram makes the multiplicity real. The class diagram's "one to many" is abstract; the object diagram shows one team with exactly three players, which is a legal instance of "one to many". If your class diagram had accidentally required each player to belong to two teams, you would discover it the moment you tried to draw a coherent object diagram and could not. That fast feedback is the quiet value of a diagram type that rarely gets top billing. You can lay one out in minutes at /diagrams.

Keep reading

  • Best Diagramming Software in 2026: The Overall Buyer Guide
  • How to Make Diagrams for Confluence
  • How to Make Diagrams for Notion
  • Free PDF tools
  • The all-in-one work OS

FAQ

Questions, answered.

What is the difference between an object diagram and a class diagram?
A class diagram describes the general structure: the types of things and their possible relationships. An object diagram is a snapshot of specific instances with concrete values at one moment in time. The class diagram is the rule; the object diagram is one example of that rule.
How do you draw an object in an object diagram?
An object is a box with an underlined name in the form "instanceName : ClassName" at the top, and an attributes compartment showing actual values rather than types. Operations are usually omitted. Objects are connected by links, which are instances of the class diagram's associations.
Why are object diagrams useful?
They make abstract class diagrams concrete, which helps with explaining complex models, validating that multiplicities and relationships permit the scenarios you need, documenting test data, and debugging by drawing the actual object graph.
Can an object diagram validate a class diagram?
Yes. If you cannot draw a sensible object diagram that satisfies your class diagram, the class diagram likely has a flaw such as an impossible multiplicity or a missing relationship. Sketching a concrete instance is a cheap way to test an abstract model.
Why is the object name underlined?
The underline is the UML convention that signals you are looking at a specific instance rather than a general class. It distinguishes an object box in an object diagram from a class box in a class diagram, which otherwise look similar.

Ready when you are

One workspace, not ten.

Atlas replaces the stack with one platform for tasks, projects, CRM, contracts, e-signature, PDF tools, and analytics. Start free.

Get started freeSee pricing
AtlasWork, planned itself.

The AI-native, all-in-one work platform. Tasks, projects, CRM, contracts, and analytics in one calm workspace.

All systems operational
  • SOC 2 II
  • ISO 27001
  • HIPAA
  • GDPR

Product

  • Overview
  • PDF tools
  • People & HR
  • Integrations
  • Marketplace
  • Pricing

Resources

  • Guides
  • Docs
  • API reference
  • Support
  • Changelog
  • Status

Company

  • About
  • Careers
  • Press
  • Contact

Legal & trust

  • Trust center
  • Security
  • Privacy
  • Terms
  • DPA
  • GDPR
  • SLA
  • Refunds
Atlas, a product by wrxstack.com·© 2026 wrxstack·All rights reserved
PrivacyTermsSecurityStatus