Hi there!
I've managed to create this behavior this way:
@startuml
' I hope this (not appropriate at all) tweak works for you.
class SomeClass {
<#transparent,#transparent>| ""- anAttribute"" | ""String"" |
--
<#transparent,#transparent>| ""+ aMethod() "" | ""String"" |
<#transparent,#transparent>| ""+ anotherMethod() "" | ""boolean"" |
<#transparent,#transparent>| ""+ yetAnotherMethod()"" | ""SomeClass"" |
}
@enduml
Explanation:
- I put a table inside the class :(
- I set the border colors to be transparent
- I used ""this"" to ensure monospacing and avoid/prevent layout issues.
Its visual appeal is better than the official one, in my opinion (although not only I encourage but prefer to use the official one).
Hope that helps!