Representing Customized icon on diagram

Astah_Customized_Icon_UML7

With Astah, you can add images which are associated with models stereotype. For example, when you want to show Database icon on UseCase diagram, this is how you do so.

(1) Have an image file to represent a database ready.
(2) Open .asta file, select a root package in the tree structure, and then go to [Profile Stereotype] tab in the pane below. Click [Add] button.
Astah_Customized_Icon

 

 

 

 

 

 

 

 

 

 

 

 

(3) A stereotype will be added, click [Edit] button
Astah_Customized_Icon_UML2

 

 

 

 

 

 

(4) Another dialog appears. In the stereotype field, enter a stereotype in it and then click [Icon] button and specify the image file you want to associate with model which has this stereotype. In this example, I type “database” and upload an image of database.
Astah_Customized_Icon_UML3

 

 

 

 

 

 

 

(5) Create a model and add a stereotype, database
Astah_Customized_Icon_UML5

 

 

 

(6) At last, right-click on the model in a diagram and select [Icon Notation] – [Customized Icon] from its Pop-up menu.
Astah_Customized_Icon_UML7

 

 

 

 

 

 

 

 

 

 

Then the model will turn into the image uploaded!

database_icon_astah

 

 

 

 

 

 

 

 

Give it a try!

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