Book a Demo

Author Topic: Creating a link between a Use Case and Activity Di  (Read 3612 times)

morjorjacemm

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Creating a link between a Use Case and Activity Di
« on: June 16, 2004, 08:17:08 am »
I am trying to establish a link between a Use Case and an Activity Diagram.  I have reviewed several posts, and there seems to be several 'work arounds' available to accomplish this feat.

It would seem logical to me that one would be able to easily create a link between a Use Case and an Activity Diagram through the 'Create Link' function.  This option is available when I right click on the Use Case, but Activity Diagram is not an available option to choose for a link.  If I right click on the Activity Diagram, I do not have the option to 'Create Link'.

Am I missing something here?  Is there a way to accomplish this without employing a 'work around'?  I have even tried using the Relationship Matrix - but again diagrams are not a part of the drop down list only the elements.  

I would think that this would be a simple thing to accomplish, and perhaps I have overlooked the option.

I am using EA 4.0 build 726

thomaskilian

  • Guest
Re: Creating a link between a Use Case and Activit
« Reply #1 on: June 17, 2004, 01:01:55 am »
Hi,
you can create a link between an Use Case and an Activitiy but not an Activity Diagram. What kind of link would you expect or what do you want to express? Maybe you can simply place the Activity Diagram inside the Use Case?

morjorjacemm

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Creating a link between a Use Case and Activit
« Reply #2 on: June 17, 2004, 05:45:15 am »
Thanks for the reply.  What I am attempting to do is link a diagram (activity diagram) to an element (use case) to represent visually the scenario and alternate flows.   I have overcome this issue by adding an element on my activity diagram to the use case to create the relationship between the two.

For traceability, I think it would be good to be able establish links between diagrams (diagram to diagram or element to diagram) within the EA tool.  Perhaps this could be considered for a future release.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Creating a link between a Use Case and Activit
« Reply #3 on: June 17, 2004, 07:25:08 am »
Hi,

you cetainly can do that by placing the Use Case on a diagram, drag the diagram you want to link to onto the same diagram (place it there as a hyperlink) and use the <<realize>> relationship to link it back to the Use Case.
However, I think that much better solution would be to place the Activity Diagram underneath the Use Case in the Project Browser and set the Use Case as a composite element. Thus, just by double clicking the Use Case, the Activity Diagram would open.

Bruno