Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: matEgis31 on April 07, 2023, 06:42:30 pm

Title: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: matEgis31 on April 07, 2023, 06:42:30 pm
Hi,

help ! help !

On EA version 16 (build 1622) the symbol "A" is not displaying on diagram Elements.
Impossible for users to know if there is a linked document attached to one element by a visual control.
Do you face the same problem ?

Best regards
Mathieu
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: Geert Bellekens on April 07, 2023, 06:54:35 pm
There is an option somewhere to show/hide the little red A.

I don't remember where exactly

Geert
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: matEgis31 on April 28, 2023, 10:32:05 pm
i did not see where to set this parameter, and in sparx help nothing is mentionned.
it's only said "A symbol" is displayed by default , strange , isn't it ?

Come on ! nobody else faces this issue ?

bye all
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: wivel on April 28, 2023, 11:41:59 pm
Hi

I think it depends on the MDG. I use BPMN2 extensively, and here the 'A Symbol' is not showing even when the element, mainly Activities, have linked documents attached.

Really annoying.

Henrik
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: qwerty on April 29, 2023, 06:24:30 am
This is because they render shapes with shape script. And there is no vade-me-cum for the A (at least I don't remember one). And placing such text in the right coolr, size and location is difficult to impossibe.

q.
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: Geert Bellekens on April 29, 2023, 06:41:22 pm
This is because they render shapes with shape script. And there is no vade-me-cum for the A (at least I don't remember one). And placing such text in the right coolr, size and location is difficult to impossibe.

q.
I don't think it's actually that difficult at all.
I've "drawn" many letters in the past using shapescripts. A capital A is one the easy ones.

Geert
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: qwerty on April 29, 2023, 07:11:23 pm
Well, in RED? How?

q.
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: Geert Bellekens on April 29, 2023, 08:52:41 pm
Well, in RED? How?

q.
Is that a challenge? Accepted! ;D

Give me some time...

Geert
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: Geert Bellekens on April 29, 2023, 09:43:10 pm
Here's the result
(https://i.imgur.com/gSHfy5c.png)

from this shapescript:

Code: [Select]
decoration linkedDocument
{
orientation="se";
AddSubShape("redA",35,35, 50, 0);
shape redA
{
SetPenColor(255,0,0);
moveto(20,100);
lineto(85,0);
lineto(100,100);
moveto(42,73);
lineto(93,73);
}
}

On the left the original, on the right my version
Not 100% the same, but close enough I would guess.

Geert
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: jfzouain on April 30, 2023, 02:46:14 am
Gert

The difference is only the font, just add a line to change the font.
Voila. will be the same.
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: qwerty on April 30, 2023, 02:55:29 am
@Geert, phew! I'm getting old :-(

@jfzouain, well then. Here's the 2nd challenge. Alter the font in shape script.

q.
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: wivel on May 01, 2023, 01:51:52 am
Now all we need it for Sparx to implement it  :)

Henrik
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: qwerty on May 01, 2023, 04:49:14 am
If it were 20 years ago I would have said: ETA mid May. Nowadays I would add "year unknown" :-/

q.
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: matEgis31 on May 11, 2023, 05:33:50 pm
ok thanks for your answers ! will wait for a fix ! really annoying !
thanks geert for shape script ! nice job !
have a good day
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: Takeshi K on May 11, 2023, 06:41:28 pm
Hello Mathieu,

Please check the 'Display Linked Document Icon' checkbox in the Properties window for diagrams.
This is the option which Geert mentioned in the answer of your first post.

HTH,

Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: Geert Bellekens on May 11, 2023, 08:40:23 pm
Thanks Takeshi,

I tried, but couldn't find the option myself.

For reference, you can find the manual entry about it here: https://sparxsystems.com/enterprise_architect_user_guide/16.1/the_application_desktop/diagram_properties_tab.html (https://sparxsystems.com/enterprise_architect_user_guide/16.1/the_application_desktop/diagram_properties_tab.html)
It's one of those cases, that you have to know exactly what you are looking for before you can find it.

Geert
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: qwerty on May 11, 2023, 10:44:05 pm
It's one of those cases, that you have to know exactly what you are looking for before you can find it.

Geert
Is there any case where it's vice versa (so as one would expect from a help)?  :-X

q.
Title: Re: Linked document : symbol "A" not displaying on diagram elements EA version 16
Post by: Geert Bellekens on May 12, 2023, 12:43:25 am
Is there any case where it's vice versa (so as one would expect from a help)?  :-X

q.
[/quote]
Searching "Red Triangle" works and brings you to Bookmarks.
Searching "Red A" doesn't

Geert