Author Topic: Activity diagrams in a package - hierchary  (Read 11007 times)

SJHUK01

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Activity diagrams in a package - hierchary
« on: February 12, 2013, 02:53:43 am »
I have created several activity diagrams within a package:  within each activity diagram there are class diagrams, a classic relational diagram where an object type is described to Level 2 (ie defined spreadsheet columns and validations).    
I need to change the relational or linked aspects of one diagram , i.e. move a diagram containing many class diagrams of varying degrees of complexity to another diagram in the same package.    
Is there a way of doing this in EA UML without having to copy and paste new for everything  - will this be automatically reflected in the Project Browser or will I have to update the browser?
 :-/  thank you, Susanna

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Activity diagrams in a package - hierchary
« Reply #1 on: February 12, 2013, 02:59:14 am »
Just move the diagram to where you want in the project browser. Else I would not understand what you mean by "move a diagram ... to another diagram".

q.

SJHUK01

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Activity diagrams in a package - hierchary
« Reply #2 on: February 12, 2013, 03:22:15 am »
Hello there,
I have created several diagrams that sit within a package.   So, they are a group of dataflows belonging to one business model.  within the diagrams I have dataflow connectors that connect to objects that are composite, i.e the objects can be either a function or a spreadsheet.  within the activity diagram of the object I have describedthe function or the spreadsheet to detailed level.
What I want to do is re-assign a master diagram and its composite components within it to another diagram:    so, where I have created a master diagram, as the parent, and linked this out to other diagrams and models, I now need to re-assign that master, ie move the master to another diagram/model to represent the master and then link out from that new location?  does tha make sense?  I am sorry I cant think of any other way to describe it as I am EA self taught and sometimes misunderstand the terminology
Kr  for being patient !! Susanna

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Activity diagrams in a package - hierchary
« Reply #3 on: February 12, 2013, 04:48:37 am »
Still non understanding. You're talking of a master diagram. What do you mean by that? Also you say you have connectors inside a diagram. That's so to say nonsense. A diagram does not "have" anything. It just represents aspects of the model. So in order to help you, I would need the information what you're actually modeling. And then what you want to present with those diagrams to whom.

q.

SJHUK01

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Activity diagrams in a package - hierchary
« Reply #4 on: February 12, 2013, 07:08:02 pm »
Thank you - I will find another source to find help in future.

philchudley

  • EA User
  • **
  • Posts: 736
  • Karma: +20/-0
  • UML/EA Principal Consultant / Trainer
    • View Profile
Re: Activity diagrams in a package - hierchary
« Reply #5 on: February 12, 2013, 07:55:07 pm »
If I understand correctly, the following steps are what you need

1) Locate your new master element (the one you want to link the diagram to) in the project browser
2) Locate the diagram you wish to link to in the project browser
3) Drag this diagram up the project browser tree structure and drop it over the element found in 1) above
4) Locate the element found in 1) on any diagram and then make this element a composite element (if it is already set to be a composite then make it a "normal" element)
5) Move the diagram back to its original position within the project browser tree structure

You should now have navigation from your element (in 1) to the diagram in 2)

Repeat the process with the same diagram for as many other elements as you wish.

You cannot however have one element linked to many diagrams, but you have have many composite elements linked to the same diagram.

I hope the above makes sense, as this trick is far easier to do than it is to describe in words.

Please note that if you are using version 10, then the method of making an element a composite is slightly different to previous versions

Cheers

Phil
follow me on Twitter

@SparxEAGuru