Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

class Diagram : hide private in case of !include file use

0 votes
Hello,

I was triing the feature "hide private members".

It works well in general but, in my case, I use a dedicated file where I declare all the classes and then a second file to describe the relationships between them.

In that case, in the 2nd file, the "hide private members" has no effect.

Thanks,

Benoit
asked Apr 20 in bug by benoitek (170 points)

1 Answer

0 votes
Could you post the simplest and shortest example that does not work ?

It would help, thanks!
answered Apr 20 by plantuml (124,290 points)
Hello,

In fact, the issue is not the one I exposed.
The issue is linked to separations (with no seperation, it works):

Working sample :
@startuml
class class1 {
    + public_member
    - private_member
}

hide private members
@enduml

Not working sample :
@startuml
class class1 {
    + public_member
    --
    - private_member
}

hide private members
@enduml
Ok, thanks for the details.
This is fixed in last beta
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Thanks again!
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...