Book a Demo

Author Topic: Sequence Diagram References  (Read 7922 times)

Alan

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Sequence Diagram References
« on: April 26, 2006, 06:36:49 am »
I'm a new user and I'm trying to figure out how to create a reference from one sequence diagram to another (like this http://www.holub.com/goodies/uml/images/sequence.regionref.gif root page of site is here http://www.holub.com/goodies/uml/).

I've tried using "Add diagram as reference", but that doesn't seem to work for me (I've followed help as well as searched around the forums some).  Thanks in advance.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Sequence Diagram References
« Reply #1 on: April 26, 2006, 07:07:14 am »
EA seems to consider these for references to diagrams only, rather than regions. [At least this is what the docs suggest.] To create one you drag the 'referenced' diagram from the Project View onto the 'referencing' diagram at the appropriate point. EA then creates the "ref" frame. [You could try dragging a Region element from the Project View, which might give you the 'region' type reference; I have not tried this and don't have a convenient model handy.]

EA considers these to be references to a sequence (for example) diagram, and expects (again, from reading the docs) that the "ref" frame will appear in an Activity(ish) diagram. The don't explicitly say you cannot make the reference from another sequence diagram, so it's worth a try.

Please let us know if you try this - or anything - and what results you get. It might be worth browsing the UML Superstructure specification to see if there is additional information beyond that which Sparx cites.

David
No, you can't have it!

Alan

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Sequence Diagram References
« Reply #2 on: April 26, 2006, 07:18:40 am »
Thanks for your detailed response.  I didn't even think of dragging one to another.  When I did this operation EA prompted me with a "Select Element Type" dialog box.  It had 3 options.  1) Interaction Occurrence 2) Diagram Reference 3) Hyperlink.

Oddly enough, "Diagram Reference" was grayed out.  When I select "Interaction Occurrence" it gives me the "ref fragment" box that I was looking for.  The "Hyperlink" option inserted a little icon onto the diagram.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Sequence Diagram References
« Reply #3 on: April 26, 2006, 07:31:04 am »
What kind of diagram you dragging the "ref" onto? And, of course, what kind of diagram were you referring to?

David
No, you can't have it!

Alan

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Sequence Diagram References
« Reply #4 on: April 26, 2006, 07:38:41 am »
I'm going sequence diagram to sequence diagram.  When I select the "Interaction Occurrence" I get the ref I was looking for along with the ability to double click the ref to go directly to the sequence diagram I was referencing.

Thanks for all of your help.