Author Topic: Linking a diagram to an element  (Read 3839 times)

tengel

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Linking a diagram to an element
« on: August 04, 2012, 08:46:13 am »
Hey,
I have two diagrams in my project, I want that by clicking a specific lement in Diagram1 it will "jump" to diagram 2.
I couldn't find any documentation for that,can you assist

thanx!

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Linking a diagram to an element
« Reply #1 on: August 04, 2012, 07:32:30 pm »
You can make the element composite, remove the automatically created diagram and drag your linked diagram inside the composite element.

May be there are other options.

HTH
Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Linking a diagram to an element
« Reply #2 on: August 05, 2012, 06:38:07 am »
Drag one diagram onto the other. Check the three options EA offers.

q.

tengel

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Linking a diagram to an element
« Reply #3 on: August 06, 2012, 02:17:34 am »
Qwery hey;
Dragging a diagram just puts another componenet on my diagram.
I would like to "drag a diagram" onto an existing componenet.

T.

Paulus

  • EA User
  • **
  • Posts: 152
  • Karma: +0/-0
    • View Profile
Re: Linking a diagram to an element
« Reply #4 on: August 06, 2012, 05:41:03 am »
Like Günther said: make the element composite. If you first move the diagram below the element in the project browser EA will not create a new diagram but use that one.

Btw not all elements can be made composite,

regards,

Paulus


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Linking a diagram to an element
« Reply #5 on: August 06, 2012, 03:59:42 pm »
Quote
Qwery hey;
Dragging a diagram just puts another componenet on my diagram.
I would like to "drag a diagram" onto an existing componenet.

T.
Yes. Sorry. I did not read well enough. Günther's solution is the preferred one.

q.

tengel

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Linking a diagram to an element
« Reply #6 on: August 07, 2012, 03:29:39 am »
Great ,thanx Guys,
using a composite does work, but it creates a child diagram.
how can I link to just any diagram? (and not a child)

thanx

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Linking a diagram to an element
« Reply #7 on: August 07, 2012, 03:39:36 am »
make the element no composite
move the desired diagram under the element
make the element composite
-> now this diagram opens on dbl-click
you can move it back to where you want.


q.

tengel

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Linking a diagram to an element
« Reply #8 on: August 07, 2012, 03:43:50 am »
Cheating but work :)

thank you so much guys!!!!