Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to traverse selected translation units only once for multiple diagrams #157

Open
bkryza opened this issue Jun 13, 2023 · 0 comments
Labels
class diagrams enhancement New feature or request

Comments

@bkryza
Copy link
Owner

bkryza commented Jun 13, 2023

Currently, translation units specified by glob patterns are unique to each diagram, i.e. for each diagram specified translation units are traversed separately.

This can be very inefficient for cases when we want to generate a large number of diagrams from a large number of translation units (or in particular from all translation units in a project) and then generate diagrams from a single large intermediate model.

The option could be for instance:

share_translation_units: true

in which case the glob pattern can be specified at the top level of the configuration file and each diagram will use the entire intermediate model from these translation units and the include/exclude filters will be applied only during diagram generation phase (e.g. filters will be applied only to diagrams with (is_completed() == true).

@bkryza bkryza added enhancement New feature or request class diagrams labels Jun 13, 2023
@bkryza bkryza added this to the Release 0.3.8 milestone Jun 13, 2023
@bkryza bkryza removed this from the Release 0.3.8 milestone Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class diagrams enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant