How to draw Object diagrams in Astah

UML_Object_diagrams_in_Astah

UML Object diagram

Object diagram is used for representing a relationship between instances. In OMG UML 1.5 specification, it is defined as “a graph of instances, including objects and data values. A static object diagram is an instance of a class diagram; it shows a snapshot of the detailed state of a system at a point in time.” Analyzing the system structure using object diagram is useful in understanding class diagrams clearly.

UML_Object_diagrams_in_Astah

How to draw Object diagrams in Astah?

Astah doesn’t have an independent menu of “Object diagram”, so use Class Diagram.

InstanceSpecification (Object)

To add an object, select “InstanceSpecification” and click on the diagram.
Astah_UML_InstanceSpecification

 

 

 

 

To input the slots, select the InstanceSpecification, go to the left bottom pane called “Property View” then click [Property] button from its [Base] tab.
UML_Object_diagram_BaseClass_Property

 

 

 

 

 

Configuration dialog box appears, select [Attribute] tab and add its slots from [Add] button.
UML_Object_Diagram_InstanceSpecification3

 

 

 

 

 

 

If you go back to the [Base] tab, all the slots are listed, now add the values in directly.
UML_Object_diagram_InstanceSpecification7

Line

To create a line between InstanceSpecifications, simply select [Link] from tool bar or click “L” and draw between InstanceSpecifications, which appears when you have mouse over the InstanceSpecification then click another InstanceSpecification to connect to.

Hope this helps!

Cheers,
SJ

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s