0

I searched the web, but I find a bunch of very different diagrams. Most of them don't even look like object diagrams. They have no object's value. I want to know how I must draw an object diagram in such a way, that my prof won't tell me it's absolutely wrong. Any good tutorial link is highly appreciated!

Sled
  • 18,541
  • 27
  • 119
  • 168
Thanks
  • 40,109
  • 71
  • 208
  • 322
  • 1
    I recommend attending your lectures. FWIW, you don't usually draw object graphs in design diagrams, class diagrams are much more common. – millimoose May 02 '09 at 11:51

3 Answers3

6

alt text
(source: developer.com)

An object uml diagram probably should look like this. You can find lots of examples on the net. Good luck

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Blerta
  • 2,170
  • 5
  • 23
  • 34
  • 1
    google.com type "object diagram" hit enter and click "Images" ftw! Sometimes it's we are like concierge for google rejects – Chad Grant May 02 '09 at 12:20
1

You're probably thinking of a class diagram, that shows the relationship between classes (not object instances), right?

UML (Unified Modeling Language) is the standard way of doing this.

tpdi
  • 34,554
  • 11
  • 80
  • 120
1

Object diagrams tend to have limited use (they're usually working for other diagrams). I suspect you want a class or communication diagram. A class diagram will have fields but no values, while a communication diagram includes messages.

This is an object diagram. There is a more detailed description as part of this tutorial.

Read this page for the different uses of class diagrams, and this for a tutorial.

Here are two examples of communication diagrams.

Mark
  • 6,269
  • 2
  • 35
  • 34