Book a Demo

Author Topic: Tagged values relationships  (Read 5239 times)

Alex9329

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Tagged values relationships
« on: August 18, 2017, 06:04:35 pm »
HI!

I have one interesting case.
I created MDG technologie. There, I have 2 stereotypes 1. Application component 2. Collaboration.
Can I make an attribute of the Application component stereotype that will be a tagged value for the element of this stereotype, and also make the same for Collaboration stereotype element. And then in element that is Application component stereotype I would like to select in tagged values only the Collaborations elements. Mirror situation will be for the Collaboration element. That means that I would like to create some "relationship tagged value".
Also I would like to show some connector on the diagram between these 2 elements. Maybe I will have to create a new connector and in properties of this connector stereotype I will say that based on the tagged values in app component and collaboration, the elements of those stereotype will be linked.
I can explain everything if you don't understand my question. I will be great if I have an opportunity to show it to the specialist using skype, show my screen, the example.

Thank you!

Eamonn John Casey

  • EA User
  • **
  • Posts: 110
  • Karma: +0/-1
    • View Profile
Re: Tagged values relationships
« Reply #1 on: August 18, 2017, 06:30:07 pm »
Hi!
You could upload a picture of what you want. But I am guessing that you will be needing some scripting either within EA or outside using the EA API.
EJC

Alex9329

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: Tagged values relationships
« Reply #2 on: August 18, 2017, 09:02:23 pm »
I have made what I want in another EA tool called QPR EA. The first several pictures are from this tool.

1. You see I have a simple connection between 3 elements.
https://yadi.sk/i/Ihd1LVJ63M84qP

2. This connection was establish because I drill down to the element called "ITC-IUM" - this is a Collaboration element, and in tagged values (tagged values = custom attributes in QPR) I chose 2 elements with which it should be connected (ITC and IUM)
https://yadi.sk/i/8ZidXkR03M84qT

3. If I go to the ITC element custom attributes (tagged values) I will see this collaboration.
https://yadi.sk/i/LWiJ9lvU3M8A5V

4. Sparx. I would like to see this in tagged values.
You see, I have connection of 3 elements.
https://yadi.sk/i/SEA8vYu03M84qf

and I would like to set see this connection in tagges values.
https://yadi.sk/i/cIE4T1i03M84qn

5. This is what I have created in MDG
https://yadi.sk/i/l0qAhrkY3M84qs

The task is not complicated. If I have a chance to show on video, you will immediatelly get my point, it will take 15 min max.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tagged values relationships
« Reply #3 on: August 18, 2017, 11:56:31 pm »
You should look into RefGUID use of tagged values. You can create them via <<taggedValue>> associations. This will allow to select just certain elements depending on how you constraint access.

q.