scala2plantuml icon indicating copy to clipboard operation
scala2plantuml copied to clipboard

Hide members

Open steinybot opened this issue 4 years ago • 0 comments

You may also want to discuss this in Ideas.

Description

I'd like to be able to hide class members.

Hiding unnecessary details when all that is wanted is an overview of how types are related.

Potential Solution

Add a --hide option which accepts: fields, methods, constructors, synthetics.

I think we would still want to include the associations between types and so this should remain as a rendering option rather than something that the processor needs to know about.

Additional Information

This will solve part of #14 as it provides a way of hiding the constructors.

The default value of --hide will be synthetics so we should also add a --show option which can undo this default. It could also be useful if we provide "presets" which are easier to customise than specifying all the options manually, similar to what is available in the core API.

steinybot avatar Mar 10 '21 23:03 steinybot