Book a Demo

Author Topic: Hide stereotype on Information Items Conveyed  (Read 5457 times)

peterc

  • Guest
Hide stereotype on Information Items Conveyed
« on: October 25, 2018, 07:57:38 pm »
I have created Information Items as blocks. When I add them using the Information Items Conveyed to an Information Flow, the names on the diagram are prefixed with their stereotype - <<block>>. I feel this is unhelpful for wider sharing of the diagram (non-technical people will wonder what <<block>> means!).

I have unticked "Show Stereotype Labels" on the Connectors section of the diagram Properties dialog, but that has no effect.

1. Am I correct in creating the information items as blocks?
2. If so, is there a way to suppress the stereotype?

For now I have removed from the information items the block stereotype, and they and now Class elements.

PS - I am modelling in SysML if it makes any difference for the "rules" for creation of elements.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Hide stereotype on Information Items Conveyed
« Reply #1 on: October 25, 2018, 08:29:02 pm »
It depends. SysML is a language of it's own and EA just mimics it with a profile. Personally I went my own SysML way by explicitly borrowing certain parts and create my own dialect. So in that domain it was perfect to mix with "normal" UML elements. However, if you're in a strict SysML domain you should look into what the SysML specs say. I'm no expert here, but other guys here are. But my guess would be that normal UML is just not allowed.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Hide stereotype on Information Items Conveyed
« Reply #2 on: October 26, 2018, 11:43:25 am »
SysML is a language of it's own and EA just mimics it with a profile.
Actually, the current version of SysML is defined as a UML profile. SysML 2, which is still in very early stages is expected to be defined as both a metamodel and profile.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Hide stereotype on Information Items Conveyed
« Reply #3 on: October 26, 2018, 06:45:48 pm »
I did not intend to say that using the profile is bad. It's just that SysML has its own origins and rule sets. The latter will be kept even if one day SysML might be just completely an UML dialect (which from my POV is a good thing).

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Hide stereotype on Information Items Conveyed
« Reply #4 on: January 13, 2023, 08:28:59 pm »
Just found this post because I got the exact same question.

Can we suppress the stereotype on the label of the informationflow connector?

I was thinking about writing my own shapescript, but I don't even find the conveyed item in the properties available to shapescripts.
It looks like the only solution is to use an add-in function in the shapescript to get the conveyed item name without the stereotype.

Probably too much hassle for such a simple thing (removing the stereotype from the label)

Geert

Takeshi K

  • EA User
  • **
  • Posts: 632
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: Hide stereotype on Information Items Conveyed
« Reply #5 on: January 16, 2023, 10:16:08 am »
Hello Geert,

This might not be your solution, but the 'Show Element Stereotypes' checkbox in the Elements group of the diagram properties dialog will manage stereotypes for conveyed InformationFlow items.

But as you know, all other stereotypes of elements will be hidden by using this checkbox. I had the same question and looked further, and there is no way to hide stereotypes of only conveyed Information Items.

HTH,
--
t-kouno

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Hide stereotype on Information Items Conveyed
« Reply #6 on: January 16, 2023, 04:01:03 pm »
Hello Geert,

This might not be your solution, but the 'Show Element Stereotypes' checkbox in the Elements group of the diagram properties dialog will manage stereotypes for conveyed InformationFlow items.

But as you know, all other stereotypes of elements will be hidden by using this checkbox. I had the same question and looked further, and there is no way to hide stereotypes of only conveyed Information Items.

HTH,
Thanks Takeshi,

I didn't realize that setting would get rid of the stereotypes on the informationflows as well.
Since they have this problem on an ArchiMate diagram, and ArchiMate objects don't show stereotypes anyway, this is actually a perfect solution for this case.

Geert