Book a Demo

Author Topic: Find relationships not shown in any diagrams  (Read 2475 times)

avzdk

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Find relationships not shown in any diagrams
« on: June 30, 2023, 12:00:39 am »
During some workshops we may have hidden relationships between uml classes instead of deleting them from the model.
How can I find relationships not shown in any diagrams?

I know that I can find objects with the Diagram Search - Find Orphans, but dont know how to do the same for the relationships.

Can anyone help?

BobM

  • EA User
  • **
  • Posts: 144
  • Karma: +9/-0
    • View Profile
Re: Find relationships not shown in any diagrams
« Reply #1 on: June 30, 2023, 12:11:20 am »
You can find them in the element properties -> links

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Find relationships not shown in any diagrams
« Reply #2 on: June 30, 2023, 12:46:49 am »
You can make an SQL Search,

Start here:

Code: [Select]
select * from t_connector c
where not exists (select * from t_diagramlinks dl
where dl.ConnectorID = c.Connector_ID
and dl.Hidden = 0)

Geert