milo-minderbinder/AWS-PlantUML

Recommend text centering / center labels

SevereOverfl0w opened this issue · 3 comments

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