Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: tengel on August 04, 2012, 08:46:13 am

Title: Linking a diagram to an element
Post by: tengel 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!
Title: Re: Linking a diagram to an element
Post by: g.makulik 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
Title: Re: Linking a diagram to an element
Post by: qwerty on August 05, 2012, 06:38:07 am
Drag one diagram onto the other. Check the three options EA offers.

q.
Title: Re: Linking a diagram to an element
Post by: tengel 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.
Title: Re: Linking a diagram to an element
Post by: Paulus 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

Title: Re: Linking a diagram to an element
Post by: qwerty 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.
Title: Re: Linking a diagram to an element
Post by: tengel 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
Title: Re: Linking a diagram to an element
Post by: qwerty 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.
Title: Re: Linking a diagram to an element
Post by: tengel on August 07, 2012, 03:43:50 am
Cheating but work :)

thank you so much guys!!!!