Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML component diagram

 
Srinivasan Rengan
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am designing my component diagram in the way Humphrey Sheil had done it. I found that way of representation very simple and effective.

But unfortunately starUML does not allow that to happen.

I am trying to indirectly make it happen by using the rectangles in starUML annotation and placing component inside. But unfortunately the rectangles don't accept dependency relation.

Any thoughts about a work around or any other tool would greatly be appreciated :-)

Thanks
Srini
 
Caldwell Baxter
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can, use MS Visio 2003+.

There are UML stencils freely available for download. They work in all versions of Visio (Basic, Pro and Deluxe) <-- or whatever the actual MS names are.

In Visio Pro and up you also have the Microsoft stencils available.

I didn't find those of much use, except for the class classifier which has all three compartments, as opposed to one compartment in the downloadable stencils.

You can work around the one compartment limitation though by inserting "--------------" between the lines.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These are the Visio UML stencils, Cadwell is alluding to.
 
Caldwell Baxter
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup, and if you look closely at chapter 9 in Sheil's book, it appears that most of the diagrams were drawn in Visio and using the very downloadable stencils above.

Also, this is exactly what I used for my submission (including the "----------" trick to simulate compartments in the class classifier), and I've passed from the first try!

Free additional tip (to help with passing from the first try): I love Tomasz Romanowski! Or what he had to say, rather.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic