Book a Demo

Author Topic: Diagramtype does not restrict UML elements  (Read 3085 times)

eppinkf

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Diagramtype does not restrict UML elements
« on: January 24, 2007, 07:20:11 am »
Enterprise Architect allows to put any UML element on a diagram independant from the diagramtype. For example I can create a Use Case Diagram from scratch, then add an Actor, add a Class, add an Activity, add a State and I can add any UML element even if it does not "fit" to the diagram type, like an Activity originally does NOT belong to a UseCase diagram.

In my opinion this possibility however is a benefit, because it allows the user to really model ("put to paper") what is in his mind.

Other tools (like Together) do not allow this and UML conformity is another thing.

Therefore I would like to know, if this is an intended feature of Enterprise Architect and if it will stay this way in the future (which I prefer)

Thanks

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagramtype does not restrict UML elements
« Reply #1 on: January 24, 2007, 01:07:59 pm »
Quote
Therefore I would like to know, if this is an intended feature of Enterprise Architect and if it will stay this way in the future (which I prefer)
Hopefully if we users have any say in it.  ;D

However, there is also the Tools|Options|Diagram|[X]Strict UML Syntax option that should have a bearing...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

eppinkf

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Diagramtype does not restrict UML elements
« Reply #2 on: January 24, 2007, 10:49:57 pm »
I have

Tools|Options|Diagram|[X]Strict UML Syntax

checked, but it does not restrict the UML elements for a certain UML diagramtype, but as mentioned before I prefer this "freestyle"

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Diagramtype does not restrict UML elements
« Reply #3 on: January 25, 2007, 07:19:40 am »
I'll add my vote for free style as I sometimes put several views (Use Case, Class, etc.) on the same diagram to create an illustration for a document or presentation I may be preparing.

At the same time, I'll add a vote for having
  • Strict UML provide a warning to support those who prefer purity in their diagrams. However, I'm not sure just how this could be accomplished for UML allows elements from one diagram type to be nested in elements appearing in other diagrams.  For example, a state machine may be nested in a compartment of a Class element.
Verbal Use Cases aren't worth the paper they are written upon.