-
Notifications
You must be signed in to change notification settings - Fork 31
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
How to set TypeDisplay.NONE? #383
Comments
sorry for the late reply The Currently there is not yet a more fine-grained way to configure the inclusion or exclusion of members in the diagrams, other than using |
The members themselves are fine (and I certainly don't want to completely hide them from the javadoc), but I'd like to hide the method parameters (and their types) from the UML diagrams, which is too verbose for larger projects. I could not find a custom-directive that would have this effect. |
For my particular use case, a global command line option would be sufficient here, but in other cases, I'd like to be able to hide inner classes on a per-package or per-class configuration level. Either way, I am convinced that some kind of annotation mechanism will be necessary for certain features. I believe UML Composition vs. Aggregation are semantic properties that cannot be automatically inferred from the class signature, nor will the quantities of 1:n relationships. |
@kno10 I agree with everything you say, this is also the reason that this has not yet been attempted to be solved.
Furthermore, annotations could be used as a non-tranistive dependency (provided or optional in maven terms), that way you wouldn't have to propagate them with the resulting artifact. Java will just ignore annotations for which it cannot find the definition on the classpath without throwing exceptions. I'll look into RetentionPolicy |
I'm sorry this has been left inactive as long as it has. |
The auto-generated diagrams in my (complex) project tend to become a bit cluttered.
Hence I am looking at ways to reduce contents.
V1 had
-umlIncludeMethodParamTypes false
, and it seems this functionality may be implemented via TypeDisplay.NONE, but not available via parameters? This should shorten the method signatures in the diagrams, and hence make them more concise.Is it possible to somehow set local options (per package, per class)? E.g. local remove statements and other plantuml options.
The text was updated successfully, but these errors were encountered: