Please provide a way to display class visibility attributes: public, private, or protected

0 votes
asked Jul 18, 2016 in Closed feature request by uwong15 (360 points)

Please provide a way to display class visibility attributes: public, private, or protected. Usually we use the symbols: +  -  # for those.

1 Answer

0 votes
answered Jul 20, 2016 by plantuml (295,000 points)
selected Jul 7, 2018 by Anthony-Gaudino
 
Best answer

With last beta: https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You can have:

@startuml
-class fo{
    # field1 : type
    - field2 : type
    - foo1(param : type2) : type3
    # foo2(param : type2) : type3
}
@enduml

We display a graphical symbol instead of the character.
What do you think about it ?

...