title: How to get the referred diagram from an element in Enterprise Architect
body: <p>I have a UseCase in a Usecase Diagram for which there is a reference to another composite structure diagram as shown in the figure</p>
  <p>.<a href="https://i.stack.imgur.com/aXRTS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aXRTS.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/QV8Gf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QV8Gf.png" alt="enter image description here" /></a></p>
  <p>Now, I want to fetch the diagram that is added to this Usecase using Enterprise Architect's Java API or from the Database. I could not find any reference to the diagram from the element in<code>t_object</code> table or any reference to usecase from the referred diagram in <code>t_diagram</code> table. Is there a way to achieve this?</p>