Bug with ArchiMate shapes

0 votes
asked Apr 6 in Bug by anonymous

Hi,

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 by plantuml (273,620 points)

In your example :

Which one shows the error?

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

commented Apr 6 by anonymous
edited Apr 6

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.

Thanks

commented Apr 7 by Martin (8,160 points)
edited Apr 7 by Martin

I think the minimal example is as follows:

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

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

Replacing the archimate shape with a rectangle works fine:

@startuml
skinparam rectangle {
  DiagonalCorner<<motivation-driver>> 12
}

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

...