Book a Demo

Author Topic: Do you use an arrow for aggregations?  (Read 3729 times)

ocroquette

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Do you use an arrow for aggregations?
« on: October 10, 2007, 03:48:57 am »
Hi all

Does it make sense to use an arrow for the aggregation or the composition?
I mean it must be quite rare that the parent can not navigate to the child.

However, some people are showing it explicitly:
http://images.google.co.uk/images?q=uml+aggregation

thomaskilian

  • Guest
Re: Do you use an arrow for aggregations?
« Reply #1 on: October 10, 2007, 05:42:55 am »
I always thought this is more a matter of taste. Showing navigability sometimes can put a stress where appropriate. Especially with aggregation I think it does not add much information.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Do you use an arrow for aggregations?
« Reply #2 on: October 10, 2007, 07:12:11 am »
As always Thomas is correct.

Some shops are particular about explicitly noting navigability, and might require the pointer on all links. However, it is true that in the case of aggregation the pointer could be viewed as superfluous.

This might be a good candidate for an options setting, along the lines of the similar option for use cases.

What say?
No, you can't have it!

thomaskilian

  • Guest
Re: Do you use an arrow for aggregations?
« Reply #3 on: October 10, 2007, 08:56:47 am »
Quote
This might be a good candidate for an options setting, along the lines of the similar option for use cases.

What say?

In general I agree. But I'd appreciate some woodworker to come and bring light in the options djungle first ;)

ocroquette

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: Do you use an arrow for aggregations?
« Reply #4 on: October 10, 2007, 10:45:53 pm »
Thanks all the comments!