Will there be an option for multiple cardinality labels?

0 votes
asked Oct 20, 2021 in Wanted features by Milan

The option for 2 cardinality labels so that the cardinality and given members (-attribute) can be displayed.

Address "1" "-address" -- Location

Like this. Now it is more clear that Location will have an address

commented Oct 20, 2021 by Martin (8,280 points)

don't forget that you can use multiline text with \n (or \r for right justify).
e.g. (click diagram for online server)

Does this get you close to what you wanted?
 

1 Answer

0 votes
answered Oct 23, 2021 by chris (1,820 points)

I would use the convention from Association Classes https://plantuml.com/class-diagram#fbbc0504d940020e

or perhaps using the various connector types?

...