Weird stereotype sprite alignment in rectangle and database containers

0 votes
asked Jul 24, 2018 in Bug by Rob Oxspring

I've been using <<sterotypes>> on containers to represent technology choices which invariable displays nicely in the center, typically along with the container's name:

Trying to add a little iconography to diagrams I've started using <<$sprite>> stereotypes instead but have found that the alignment is oddly right aligned for rectangles, and just plain broken for databases:

For reference, other containers behave as expected:

1 Answer

0 votes
answered Jul 24, 2018 by plantuml (257,860 points)

Many thanks for the feedback.

The "database" issue has been fixed in last beta

The "rectangle" behaviour have been done upon request of some users, so changing this will be more difficult (we may provide a setting to choose alignment).


BTW, cloudinsight has been integrated in last release ( ), so you can write:

!include <cloudinsight/java>

database MyApp <<$java>> {
  class ClassName
commented Jul 25, 2018 by Rob Oxspring
Wow. The rectangle behaviour being intentionally inconsistent with the others is really surprising.

If you're willing to consider a new skinparam to configure the alignment could you give me some outline hints as to where changes would need to be made? I've had a brief look at but it's not at all clear to me where to start working on such a pull request.
commented May 8, 2019 by plantuml (257,860 points)
Could you post a specific question about Nodes in Archimate ? I'm not sure to understand the issue. Thanks!