Recommend text centering / center labels
SevereOverfl0w opened this issue · 3 comments
The router looks strange without:
skinparam defaultTextAlignment center
Test by commenting out that line here:
It might be a good idea to always center the labels somehow to prevent this, or generally recommend this attribute be turned on in uml docs.
Thanks!
Hmm, I'll have to think about this one a little bit. I definitely agree that in your specific example things look odd without the skinparam
directive to force the text alignment, but I also want to make sure that the project doesn't get too prescriptive about formatting and general usage, or force people into changing their diagrams to fit the project. In your example, I might just suggest breaking up long labels into multiple lines (like the stereotype names are already) by inserting a few strategic \r
's or \n
's into the label as preferred. But I'll see if I can't figure out a more elegant way to fit most use cases. Open to any ideas!
I agree, it's something to think about.
long time coming, but fixed in latest release