Book a Demo

Author Topic: Connection not UML compliant any more?  (Read 6120 times)

ufechner

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Connection not UML compliant any more?
« on: January 04, 2006, 06:42:58 pm »
Hello,

with EA 6.0 (different builds) I cannot create a connection from an state to a submachine (on a state diagram).

I get the message "The requested connection is not UML compliant."

Is this really true?
It worked fine with EA 5.0.

I have many old diagrams using this kind of connection and can't edit them any longer.

Is this a bug or a feature?

Regards:

Uwe Fechner

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Connection not UML compliant any more?
« Reply #1 on: January 04, 2006, 07:09:32 pm »
Uwe,

According to UML 2.0 Superstructure, a Transition goes from a Vertex to a Vertex. A State is a Vertex, but what's an EA Submachine? In 6.0 we took the view that a Submachine was a StateMachine, which isn't a Vertex, it's a Behavior. Hence the error message. In the next release we have decided that that wasn't terribly useful and have called a Submachine a State (a composite one) and the error message has disappeared.

Until the next release is available, you can switch off syntax checking: "Tools | Options | Diagram | Strict UML Syntax".

HTH,

Neil
The Sparx Team
[email protected]

ufechner

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Connection not UML compliant any more?
« Reply #2 on: January 04, 2006, 10:43:19 pm »
Thanks a lot for the quick response.

Another work-around might be, to add an input to the submachine and connect the other state to the input ot the submachine.

Regards:

Uwe Fechner