Support visibility on compositions and aggregations

0 votes
asked Sep 26 in Bug by Pander (1,080 points)

Please, support visibility on compositions and aggregations.

@startuml
class Aaa {
    -bbb : int
    +ccc : string
    #aa : float
    +void addEntry(mmm : Entry)
    +int setFactory(ddd : string)
}
class Factory {
    #fff : string
}
class Entry {
    -yyy : int
}
class Parent {
}
Aaa *--> "1..100" Entry : -entries
Aaa o--> Factory : #factory
Aaa o--> Parent : +parent
@enduml

Now results in:

But should result in Perhaps this should only work on single-direction compositions and aggregations, as the visibility is regarding class Aaa in this example.

1 Answer

0 votes
answered Oct 2 by plantuml (189,260 points)
Thanks for the suggestion.

This should be working in last beta http://beta.plantuml.net/plantuml.jar
commented Oct 3 by albert (2,690 points)
Works with 1.2018.12beta2 but not in the webserver (version 1.2018.11).
...