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

+1 vote
asked Apr 20, 2017 in Bug by benoitek (160 points)
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

1 Answer

+1 vote
answered Apr 20, 2017 by plantuml (294,960 points)
Could you post the simplest and shortest example that does not work ?

It would help, thanks!
commented Apr 21, 2017 by benoitek (160 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
commented Apr 21, 2017 by plantuml (294,960 points)
Ok, thanks for the details.
This is fixed in last beta
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Thanks again!
...