Bug with ArchiMate shapes

0 votes
asked Apr 6, 2022 in Bug by anonymous


Is there a bug with the way that ArchiMate shapes are currently rendered? Judging by the GitHub repo, the shapes varied by ArchiMate layer once but mine all seem to have rounded corners.

See this example diagram that shows the error, as well as a work-around using styles to get the correct Motivation layer shape. Could be something I'm doing wrong as I'm new to using this type of diagram in PlantUML.

If you could have a look, that would be appreciated. Thanks!

1 Answer

0 votes
answered Apr 6, 2022 by plantuml (295,000 points)

In your example :

Which one shows the error?

  • Standard rectangle
  • ArchiMate
  • Custom rectangle #1
  • or Custom rectangle #2

commented Apr 6, 2022 by anonymous
edited Apr 6, 2022

The "ArchiMate" shape with the rounded corners is displayed incorrectly:

archimate #MOTIVATION "ArchiMate" as A <<motivation-driver>>

The "Custom rectangle #1" shape has the correct diagonal corners.


commented Apr 7, 2022 by Martin (8,360 points)
edited Apr 7, 2022 by Martin

I think the minimal example is as follows:

skinparam archimate {
  DiagonalCorner<<motivation-driver>> 12
archimate #MOTIVATION "ArchiMate" as A <<motivation-driver>>

Why doesn't the "DiagonalCorner" skinparam take effect?

Replacing the archimate shape with a rectangle works fine:

skinparam rectangle {
  DiagonalCorner<<motivation-driver>> 12

rectangle #MOTIVATION "ArchiMate" as A <<motivation-driver>>