Book a Demo

Author Topic: Filter diagrams during document generation  (Read 3714 times)

ErikSc

  • Guest
Filter diagrams during document generation
« on: July 01, 2021, 05:48:10 pm »
Hi all,

For our project we want to create documentation from EA. While generating the documentation, we’d like to filter which diagrams from a certain package are taken into account. Unfortunately it is not possible for us to put the diagrams in seperate packages.

For example, let’s say we have a single package X with 4 diagrams: A-1, A-2, B-1 and B-2:

Package X
     Diagram A-1
     Diagram A-2
     Diagram B-1
     Diagram B-2

In this example we only want diagrams A-1 and A-2 to be taken into account during the document generation. If the diagrams were elements we could use either an element filter in the user template or write an SQL-query in a fragment that searches for the elements. However, I cannot find any solution to filter diagrams, preferably by name.

We’d like to use virtual documents, so any solution outside of user templates or SQL-queries in fragments but within virtual documents are also welcome.

Does anybody know a solution on how to filter diagrams during document generation, preferably by name?

Thanks and best regards,
Erik

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Filter diagrams during document generation
« Reply #1 on: July 01, 2021, 05:55:48 pm »
Erik,

You can't filter diagrams by name.
You can filter them by type, or by owner.

I think the best option is to put each diagram in a separate package, or under a separate element.

Geert