Book a Demo

Author Topic: refresh diagram / unhide connection  (Read 4775 times)

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
refresh diagram / unhide connection
« on: February 25, 2021, 03:09:10 pm »
I wonder if someone came accross this problem:

To an icreasing degree on component diagrams I am missing usage connections between a component and an interface.
The connection is shown on other component diagrams but is missing on some. If I add the connection, I get two connections on some of the component diagrams. If I look in Properties/Links the connection is there, it is part of the model, however not shown on the diagram. Why?
I do not have a clear correlation to what I am doing to get this unwanted behavior of EA.

I know that I am able to hide a connection in the Visibility dialog.
It may help if I would know how to un-hide the connection or to redraw the diagram at all.

Does some know how this can be achieved?

p.s. Also generalization connections between interfaces on component diagrams sometimes also not showing up.
« Last Edit: February 25, 2021, 03:48:50 pm by ngong »
Rolf

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: refresh diagram / unhide connection
« Reply #1 on: February 25, 2021, 04:47:35 pm »
I'm guessing that your diagram has the 'Freeze Visible' Connectors enabled.

That's the only way that EA offers to not show new connectors by default on a diagram.

The only other situation I can think of is that it has been explicitly hidden.

Both the relationships docked window and the element properties window at either end will allow you to restore visibility for a relationship.

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
Re: refresh diagram / unhide connection
« Reply #2 on: February 25, 2021, 05:55:41 pm »
Thank you Eve.
Freze Visible was unchecked. I checked it, saved the diagram, unchecked it - no improvement.
I exported the diagram to xmi, than deleted it, imported it again - no improvement.

My current workaroung is, do a new diagram with both elements. There, the connection appears. Than delete the connection and connect the elements newly.
With this procedure both diagram - the old and the new - show the connections. Than delete the helper diagram.

But this is not a workaround for the long run.
Rolf

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: refresh diagram / unhide connection
« Reply #3 on: February 25, 2021, 05:59:00 pm »
Did you have a look at the "visible relations" dialog?

Layout | Diagram | Appearance | Set Visible Relations

Then click [All] and [OK]

Geert

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
Re: refresh diagram / unhide connection
« Reply #4 on: February 25, 2021, 07:12:11 pm »
super, Geert - second valueable help today.

The question remains why this happens. I may come back on it. However, now I have a much faster way to repair it when I see it.
Rolf

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: refresh diagram / unhide connection
« Reply #5 on: February 25, 2021, 07:27:25 pm »
When someone presses the delete button after selecting a connector on a diagram, they can choose to either delete it, or hide it from this diagram.

You can also disable the popup and make EA always do the same thing (not recommended)

Geert