Book a Demo

Author Topic: Add Tagged value to custom diagram type  (Read 9591 times)

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Add Tagged value to custom diagram type
« on: February 03, 2017, 12:36:31 am »
Can you add tagged values to custom diagram types using an MDG Technology?

I have successfully added tagged values to model elements by creating attributes on the stereotype in the profile. When I try the same trick with a diagram it doesn't seem to work.



Has anyone managed to do this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Add Tagged value to custom diagram type
« Reply #1 on: February 03, 2017, 02:33:12 am »
Diagrams don't have tagged values.

q.

Nabil

  • EA User
  • **
  • Posts: 149
  • Karma: +5/-2
    • View Profile
    • View My LinkedIn Profile Here
Re: Add Tagged value to custom diagram type
« Reply #2 on: February 03, 2017, 04:16:05 pm »
Something you would be interested in, an alternate approach..

http://sparxsystems.com/forums/smf/index.php/topic,37644.msg235807.html#msg235807

BR,
Nabil
Nabil

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Add Tagged value to custom diagram type
« Reply #3 on: February 10, 2017, 08:22:24 pm »
Excellent suggestion. Thanks for the link to that other thread. Lots for me to think about.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Add Tagged value to custom diagram type
« Reply #4 on: February 10, 2017, 10:49:54 pm »
As an alternative, if you can decide beforehand that you won't need to use diagram notes, you can put formatted text (eg XML or parameter=value pairs) in the Notes field. This has the advantage of being easily accessible in the GUI, but it comes with a bunch of disadvantages too of course.

/U
My theories are always correct, just apply them to the right reality.

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Add Tagged value to custom diagram type
« Reply #5 on: March 09, 2017, 10:22:25 am »
I went for the stereotype option. A good balance between simplicity and functionality