Book a Demo

Author Topic: Combine Arrowheads When Subclassing?  (Read 3151 times)

apuhjee

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Combine Arrowheads When Subclassing?
« on: January 17, 2007, 09:12:27 am »
Any UML Class diagram I've seen where more than one class connects to another have been drawn with a single arrowhead.  Is that possible with this tool?

Thanks!

incanus

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Combine Arrowheads When Subclassing?
« Reply #1 on: January 17, 2007, 12:02:07 pm »
yes, you have to set line style to Tree Style - Vertical

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Combine Arrowheads When Subclassing?
« Reply #2 on: January 17, 2007, 12:07:54 pm »
If you are talking about association connectors, take a look at Tree Style lines. In the help index this will only lead you to generalization hierarchies.

You'll need to look up Line Style. This will explain what you need to do.

Unfortunately there is not yet a keyboard shortcut for this. Nor can you modify several connectors at once, or set this as a default line style for connectors other than generalizations. This is a relatively new feature in EA, and I guess they have not (yet, he says hopefully) made it consistent with the rest of EA's UI (Unique Interface, according to Paolo).

If you want to do this with aggregation connectors you are outside of the core of UML - check the OCL in the UML metamodel to confirm this. However, OMG has defined just this situation in the SPEM (look it up). Sparx has for some time had a SPEM add-in, which seems to be stuck in an extended beta version.

HTH, David
No, you can't have it!

apuhjee

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Combine Arrowheads When Subclassing?
« Reply #3 on: January 17, 2007, 03:25:52 pm »
Tree Style vertical fits the bill pefectly - and yes, I was only looking to do this (so far) with generalizations.

Thanks guys.

Jan ´Bary´ Glas

  • EA User
  • **
  • Posts: 408
  • Karma: +0/-0
  • Bary
    • View Profile
Re: Combine Arrowheads When Subclassing?
« Reply #4 on: January 19, 2007, 03:05:13 am »
I use this style in two ways: in generalization sets and in organigrams (object diagram) as shown in the picture.

(click for real size)
Jan 'Bary' Glas