Take the 2-minute tour ×

I have a class diagram for my application which consists of several compositions and aggregations.

Now I want to have diagram based on the class diagram which shows class instances. A snapshot if you will. I need this because it would help discussing some functional requirements.

Class diagram:

| Parent |----------------------| Child |

"Instance" diagram:

                    |            ---------
                    +-----------| Child 2 |
                    |            ---------
                    |            ---------
                    +-----------| Child 3 |

Is there a diagram type for this? (Currently I'm mis-using a class diagram, where all my instances are separate classes)

share|improve this question

3 Answers 3

up vote 5 down vote accepted
share|improve this answer
I agree with this comment. –  UML GURU Nov 17 '10 at 10:00
Object diagram likely most appropriate as, from original q, an objective is to illustrate relationship cardinality. –  sfinnie Nov 17 '10 at 12:30

An "instance" diagram in UML is called an Object Diagram.

share|improve this answer

You can use the "Object Diagram" as Peter G. McDonald said.

See the wiki :Object Diagram Wiki
In UML if what you want doesn't exist you can adapt classic Diagram for what you want
something just like you did but with comment block to explain your choices
Documentation is as important as diagrams.

If you want to describe the life cycle of yours instances you can use "State machine diagram".

share|improve this answer

Your Answer


