Book a Demo

Author Topic: Composite Diagrams  (Read 4608 times)

j76nm5

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Composite Diagrams
« on: April 16, 2014, 01:29:29 am »
It seems that when I instantiate an operational activity with a use case, that my ability to link to a composite diagram of my choice disappears. If I have already linked the operational activity to a composite diagram the link remains.  But if I want to select a new composite diagram to link to I no longer have that option.  Is that correct?

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: Composite Diagrams
« Reply #1 on: April 16, 2014, 02:06:44 am »
which version of ea are you using.  You should still be able to change the composite diagram by right clicking on the element (in diagram) - new diagram - select composite diagram

j76nm5

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Composite Diagrams
« Reply #2 on: April 17, 2014, 03:12:00 am »
We are using Sparx EA 10. I just confirmed the problem in the model we are using.  Once I instantiate an operational activity I can't select a composite diagram for it.  We are using the UPDM 2.0 add-in.  Don't know if that is causing the problem or not.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Composite Diagrams
« Reply #3 on: April 17, 2014, 09:11:24 am »
If I understand you right, what you are doing is creating an Action that invokes an Activity. You will need to either select the Action and press Ctrl+L to change the Activity that you are invoking, or select the Activity and change its composite structure diagram.
The Sparx Team
[email protected]

j76nm5

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Composite Diagrams
« Reply #4 on: April 18, 2014, 12:47:34 am »
It is difficult to explain, but here is an example of what I am doing:  
1. I create a use case called "Do X"
2.  I create an activity diagram called "Process Yankee Activity Diagram"
3.  I create an operational activity called "Do X" on that activity diagram.
4.  I right click on the operational activity called "Do X">advanced>instance classifier and select the use case called "Do X"
5. I then create an activity diagram called "Decomp of Do X Activity Diagram" for the operational activity called "Do X". The purpose of the activity diagram is to "break open" the operational activity called "Do X".
6. I then go back to the operational activity called "Do X" which is on the "Process Yankee Activity Diagram , I right click on it>New Diagram> Select Composite Diagram.  I do not get a window to select the activity diagram called "Further Decomp of Do X". I thought I should be able to .  

What am I doing wrong?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Composite Diagrams
« Reply #5 on: April 22, 2014, 04:05:54 pm »
Step 5, use the "Composite Structure Diagram" command to create a new activity diagram beneath the "Do X" activity and name it "Decomp of Do X Activity Diagram". Then you won't need step 6.

The Sparx Team
[email protected]