Author Topic: Relationships on Sequence Diagram are hidden and can not be displayed  (Read 22360 times)

Prekky

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
We have sequences diagram developed to show interactions between elements using elements time-line. it was all fine.
but when I open it in the morning, all the interactions on the diagrams are gone. but when I check relationships on each element, relationship with 'sequence' type are still there.

but only I'm not able make relationships visible on the diagram,
- Appearance-->Set Visible Relationship ---- This popup shows empty
- on Relationship window, right click on a relationship connection, Appearance option is disabled (not selectable).

What could be the problem? I checked other default settings on connectors, nothing seems to be working...please help




« Last Edit: March 26, 2024, 02:26:23 am by Prekky »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Relationships on Sequence Diagram are hidden and can not be displayed
« Reply #1 on: March 26, 2024, 03:10:38 am »
Did you use elements as link on sequence diagrams (e.g. one element used on many diagrams)

Or did you use proper lifelines?

Using elements as link on sequence diagrams is not recommended, and will fail like this, for example when doing xmi import/export

Are you sure nothing has changed? You didn't upgrade or anything?

What happens if you restore an older backup, do you still have valid sequence diagrams?

Geert

Prekky

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Relationships on Sequence Diagram are hidden and can not be displayed
« Reply #2 on: March 26, 2024, 05:09:05 am »
No, I have used parts (property elements) of a block (in other diagrams, corresponding instances are referred). Recently I did package base-lining of rootnode. If I restore from the previous baseline, I can see the connectors, diagrams are restored, but I will be losing all the recent work done since previous baseline (I would want to avoid it)
 :-[ :-[.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Relationships on Sequence Diagram are hidden and can not be displayed
« Reply #3 on: March 26, 2024, 09:45:43 am »
Using lifelines (aka instances) is crucial in SDs. There's a hidden side-note somewhere (!) in EA's docs. Still they allow the use of non-lifelines. Simply stupid that is - I have no other words for that.

You could use scripting to convert your work. Still that would be a bit of work. Good luck.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Relationships on Sequence Diagram are hidden and can not be displayed
« Reply #4 on: March 26, 2024, 10:24:37 am »
Do you have the 'Freeze Visible' option set for the diagram? It doesn't work with sequence diagrams.
The Sparx Team
[email protected]

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Relationships on Sequence Diagram are hidden and can not be displayed
« Reply #5 on: March 26, 2024, 06:26:32 pm »
No, I have used parts (property elements) of a block (in other diagrams, corresponding instances are referred). Recently I did package base-lining of rootnode. If I restore from the previous baseline, I can see the connectors, diagrams are restored, but I will be losing all the recent work done since previous baseline (I would want to avoid it)
 :-[ :-[.
So you don't have a backup, only a baseline? That's just reckless. :o
Think about how much time you (and the other modellers?) spend on creating/modifying the model. That quickly amounts to a serious investment.
Loose 2 days of work, that means loosing the financial equivalent of two days pay.

There might be a way to restore the model by examining the differences between the current model and the baseline; especially since you still see the sequence connectors in the traceability.
But you might need to contact an expert to help you with that.

Geert

Prekky

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Relationships on Sequence Diagram are hidden and can not be displayed
« Reply #6 on: March 26, 2024, 09:17:46 pm »
we have the nightly backups on the cloud, back up retrieval option is final, we see it as inevitable :(
I have mailed to Support@SparxSystems, no response yet. also I'm trying my luck through script.
I'm able to access all the details of connectors on elements, unfortunately all the diagram links from the diagram are gone, count showing as zero. looks like I may need to rebuild the diagram(which is huge effort, even through the script, arranging interactions within conditional frames and all)

Prekky

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Relationships on Sequence Diagram are hidden and can not be displayed
« Reply #7 on: March 26, 2024, 10:00:11 pm »
Hurray..I got a fix :) .. all I had to do, is to update DiagramID on all connectors of elements (which was set to some random number). After DiagramID update, all operations on sequence diagram are back thankfully.
Thank you everyone for your support.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Relationships on Sequence Diagram are hidden and can not be displayed
« Reply #8 on: March 27, 2024, 12:39:37 am »
Hurray..I got a fix :) .. all I had to do, is to update DiagramID on all connectors of elements (which was set to some random number). After DiagramID update, all operations on sequence diagram are back thankfully.
Thank you everyone for your support.

well done  :)

Geert