Book a Demo

Author Topic: Unable to view link between deriving diagram and derived UMLelement  (Read 3352 times)

ea0921

  • EA User
  • **
  • Posts: 104
  • Karma: +0/-1
    • View Profile
When linking a diagram to another diagram if the diagram link is established as Diagram Frame or Diagram Reference, in that case an UMLDiagram element is created linking it to the deriving diagram. However, this linkage of deriving diagram and derived element is not found. Where can these detail of linkage be fetched as to which diagram does this UMLDiagram element refer to?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Unable to view link between deriving diagram and derived UMLelement
« Reply #1 on: December 14, 2022, 07:48:42 pm »
You can't really see the link in EA, but you can query it.

The field t_object.pdata1 contains the diagramID of the diagram: t_diagram.diagram_ID

Code: [Select]
select d.Name, * from t_object o
inner join t_diagram d on d.Diagram_ID = o.PDATA1
where o.ea_guid = '{guid of your diagram reference element}'

Geert