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

Exclude enums in class diagram #131

Closed
fleroy-witekio opened this issue May 5, 2023 · 5 comments · Fixed by #136
Closed

Exclude enums in class diagram #131

fleroy-witekio opened this issue May 5, 2023 · 5 comments · Fixed by #136

Comments

@fleroy-witekio
Copy link

In a class diagram, how can I exclude all the enums?
I thought I had found the solution, but it doesn't work:
in https://github.com/bkryza/clang-uml-examples/blob/master/cppast/.clang-uml there is

	exclude:
	  entity_types:
	    - enums

but it is not used or documented anywhere else, and it doesn't work when I try it.

(Thank you for this wonderful tool :) )

@bkryza
Copy link
Owner

bkryza commented May 5, 2023

@fleroy-witekio Sorry this not possible at the moment, I have an issue for this (#100), I'll try to schedule it for the next release - it's been long overdue ;-)

@bkryza
Copy link
Owner

bkryza commented May 5, 2023

@fleroy-witekio However if your list of enums is not very long, you should be able to exclude them one by one, e.g.:

exclude:
  elements: [ns1::enum1, ns2::enum2]

@fleroy-witekio
Copy link
Author

fleroy-witekio commented May 5, 2023

Thank you, yes I did that for now, I used multi-cursor edition on the generated .puml file to get and format all the enums.

@fleroy-witekio
Copy link
Author

I had read #100 but I didn't understood that it was the same problem!

bkryza added a commit that referenced this issue May 8, 2023
@bkryza
Copy link
Owner

bkryza commented May 8, 2023

@fleroy-witekio This is now resolved in master branch: https://github.com/bkryza/clang-uml/blob/master/docs/diagram_filters.md#element_types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants