Book a Demo

Author Topic: State diagrams Questions  (Read 5313 times)

studmad

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
State diagrams Questions
« on: August 23, 2010, 11:24:56 pm »
hello everybody;

I am dealing with state diagram, as the activities inside some of my states are complex; I want to link them to activity diagrams using Entreprise Architect. Is this possible? if so can you help with an illustration.

thank you very much in advance for you help;
« Last Edit: August 24, 2010, 12:13:55 am by studmad »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: State diagrams Questions
« Reply #1 on: August 24, 2010, 12:00:26 am »
Right Click/Advanced/Make Composite

Geert

studmad

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: State diagrams Questions
« Reply #2 on: August 24, 2010, 12:10:28 am »
no, i am not talking about substates; i meant linking the state action to an Activity Diagram.

thanks;

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: State diagrams Questions
« Reply #3 on: August 24, 2010, 03:09:57 am »
You can either link another diagram to your state using the said "composite" feature, or link an activity to your state using the behavior tab of an entry/do/exit behavioral feature.

Geert

studmad

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: State diagrams Questions
« Reply #4 on: August 24, 2010, 06:59:59 am »
Hello Geert,

this is exactly what i wanted; however, we can even link Sequence diagrams; am i right?

thank you very much,  :)
studmad

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: State diagrams Questions
« Reply #5 on: August 24, 2010, 01:12:59 pm »
Quote
this is exactly what i wanted; however, we can even link Sequence diagrams; am i right?

Yes the first diagram nested under the element will be linked, regardless of its type.

Geert

studmad

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: State diagrams Questions
« Reply #6 on: August 25, 2010, 09:26:53 pm »
hello Geert;
I have an other small question if you please. what are semantics of having the black name for the activity; i mean could there be inconsistence;" see state Ringing" .
.

thanks.

studmad

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: State diagrams Questions
« Reply #7 on: August 31, 2010, 01:41:30 am »
sorry if my last question wasn't that obvious;
using entrprise architect, i linked the activities to sequence diagrams;
and EA shows inside the state the name of the activity and the name of linked activity"this one could be hidden";

but for me i want to keep the latter and remove the first to avoid redundancy is this possible;

thank you very much for you answer, and please tell me if i am not very clear;  

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: State diagrams Questions
« Reply #8 on: August 31, 2010, 03:30:07 pm »
Quote
i linked the activities to sequence diagrams;
and EA shows inside the state the name of the activity and the name of linked activity"this one could be hidden";

Sorry, I'm not following.
You are saying you linked sequence diagrams activities yet you see something inside a state? So what are you talking about, states, or activities?
And the thing you are seeing is the name of a linked activity? So what did you link with the state/activity, a sequence diagram or an activity?

Geert

studmad

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: State diagrams Questions
« Reply #9 on: September 01, 2010, 06:25:01 pm »
hello Geert,

can you please take a look at this image of state ringing http://www.4shared.com/photo/prn7ZsAN/RingingState.html;

here i linked the state/activity to an activity diagram, in the picture you see the names "do/startRinging" and "<<activity>> StartRinging";
but for me i want to keep the latter and remove the former to avoid redundancy if this is possible;

thank you very much,
Studmad

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: State diagrams Questions
« Reply #10 on: September 01, 2010, 06:43:00 pm »
Sadly the image site is blocked here (gotta love websense >:()

But to remove the do/StartRinging from the diagram you can right click on the state and select "feature visibility".
Then untick the "all" from the operations section.

Geert

studmad

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: State diagrams Questions
« Reply #11 on: September 01, 2010, 06:56:42 pm »
Sorry for the image;
thank you very much Geert,