Multiline style in association labels [message #1835198] |
Thu, 26 November 2020 23:13 |
|
Hi, Team,
I'm doing some metamodelling with the class diagram and so have a need to show subsets and redefines constraints on association ends in the diagram. I'm using CSS styling of the mask label for this purpose, and it works, but I end up with labels stretched out very long horizontally, e.g.,
+ /owningTarget { unique, subsets owningType, subsets target }
I thought I could address this problem by using the multiline style, e.g.
.hasSubsets {
maskLabel: visibility derived name modifiers multiline;
}
which works insofar as it generates better label text, e.g.,
+ /owningTarget
{ unique,
subsets owningType,
subsets target }
but it doesn't actually work in the diagram because the labels don't resize vertically to show this text. They only show the first line, which omits all of the constraints. e.g.,
Am I missing some way to tell the diagram to expand these labels vertically to show all of the text?
Thanks,
Christian
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03375 seconds