Book a Demo

Author Topic: Diagram as element list when generating document  (Read 3620 times)

Hurra

  • EA User
  • **
  • Posts: 184
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
Diagram as element list when generating document
« on: January 21, 2020, 12:09:28 am »
Hello!

I have a setup where I choose elements of interest for documentation through placing links on a diagram. I print this diagram in the document. However, I would rather print the diagram as an element list (View as list/Always open as Element List).

Is this possible in a simple manner? My hopes are that I just missed a checkbox somewhere, and not have to change templates/fragments etc.



Thank you for your time!
always learning!

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Diagram as element list when generating document
« Reply #1 on: January 21, 2020, 06:45:46 pm »
Hej!


If I understand you correctly, you want the document generation process to take the diagram and generate output that looks like the diagram when "View as List" is active.

I'm pretty sure there's no support for something like this, not in 15.0 anyway.
In the template, where you specify what to output from the diagram, you can specify Diagram Image, but there's no Diagram List or similar. I can't find anything in the Generate Documentation dialog either, no option to "output diagrams as list".

However, you could create a template to do it, and it doesn't have to be particularly complex.

It would look something like
    package>
    {Pkg.Name}  [if you want]
    [Place a single-row table here and make it a Header Row]
    diagram>
    element>
    [Place a single-row table here and insert the element fields you want in the different columns]
    <element
    <diagram
    <package

This template will output the elements shown in the diagram as a table, but not the diagram image.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.

Hurra

  • EA User
  • **
  • Posts: 184
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
Re: Diagram as element list when generating document
« Reply #2 on: January 21, 2020, 07:06:20 pm »
Yeah, I figured.

While waiting on answer and changed the template.

TY.
always learning!