Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: ufechner on January 04, 2006, 06:42:58 pm

Title: Connection not UML compliant any more?
Post by: ufechner 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
Title: Re: Connection not UML compliant any more?
Post by: KP 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
Title: Re: Connection not UML compliant any more?
Post by: ufechner 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