Main Menu
Login
SSL SecureMode
Username:
Password:  
Lost Password?
Register now!
ChangeVision Members Map
Search
Forum Index   -   Topic Index
   How to use of Astah (Pro/SysML/GSN/Com)
     How to model statemachine when state is dependent on a function ?

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
hjo1620
Posted on: 2010/5/7 17:15
Just popping in
Joined: 2010/5/7
From:
Posts: 7
How to model statemachine when state is dependent on a function ?
I'm having this conversation on stackoverflow:

http://stackoverflow.com/questions/2779922/how-model-statemachine-when-state-is-dependent-on-a-function

I was under the impression that you can only have one initial state, but in Jude/Astah you can have multiple arrows pointing out of one initial state on a statemachine diagram.

Is it bad tool support of the language or do you know of a normative reference in the UML spec somewhere where this is allowed ?
Joba
Posted on: 2010/5/11 16:16
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: How to model statemachine when state is dependent on a function ?
Hello, thank you very much for your post.

As you pointed out, an initial state should not have more than one transition coming out.
Quote:
15.3.8 Pseudostate
Constraints
[1] An initial vertex can have at most one outgoing transition.
UML Superstructure Specification, v2.2 P.541

We will fix astah* according to the specification in the future release.

Thank you very much again.

Cheers,
Satomi
hjo1620
Posted on: 2010/5/15 14:34
Just popping in
Joined: 2010/5/7
From:
Posts: 7
Re: How to model statemachine when state is dependent on a function ?
Thankyou for your quick response and ambition to align Astah with the UML spec.

I can see 2 valuable use-cases for Astah:

* Drawing tool: no rules regarding connections
* UML specification tool: adherence to the UML spec important

Working as a software architect, I use both use-cases, and both are valuable to me.

Ideally, if you could provide a mode setting ex. "mode=strict", I could use Astah in both cases.
Joba
Posted on: 2010/5/17 10:16
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: How to model statemachine when state is dependent on a function ?
Thank you so much for your feedback

Actually we've received the same request (Being able to draw/model with whatever models without being tied up with any rules) from other customers.

Quote:
Ideally, if you could provide a mode setting ex. "mode=strict", I could use Astah in both cases.
This is a new idea!
Will consider implementing it in the future. It would not happen too soon, though hopefully in the future.

Please feel free to let us know if you have any more feedback, anytime.

Cheers,
Sato
Threaded | Newest First Previous Topic | Next Topic | Top