Style 'Chopped-off Corners' for Archimate: Motivation elements?

0 votes
asked May 9, 2019 in Question / help by zimchaa (1,040 points)
edited May 9, 2019 by zimchaa

So, thanks very much for helping with the rounded corners on behavioural vs. structural elements - but for Motivation elements, the 'chopped-off' corners are used to separate them (see below - click through for reference).

Archimate - Motivation: Assessment Element

Is there a way to recreate this look, similar to the skinparam for rounded corners, perhaps 'chamfercorner'?

Example:


@startuml
skinparam archimate {
    shadowing false
}
skinparam archimate<<strategy-capability>> {
    roundcorner 25
}
skinparam archimate<<assessment>> {
    chamfercorner 25 
}

 archimate #STRATEGY "Resource" as SResource <<strategy-resource>>
archimate #STRATEGY "Capability" as SCapability <<strategy-capability>>
archimate #STRATEGY "Course Of Action" as SCourseAction <<strategy-course-of-action>>
archimate #MOTIVATION "Assessment" as MAsssessment <<assessment>>
 @enduml

1 Answer

+1 vote
answered May 9, 2019 by plantuml (294,960 points)
selected May 10, 2019 by zimchaa
 
Best answer

This is not well documented, but you can have

@startuml
skinparam StereotypeAlignment right
skinparam archimate {
    shadowing false
}
skinparam archimate<<strategy-capability>> {
    roundcorner 25
}
skinparam archimate<<assessment>> {
    diagonalcorner 10
}

archimate #STRATEGY "Resource" as SResource <<strategy-resource>>
archimate #STRATEGY "Capability" as SCapability <<strategy-capability>>
archimate #STRATEGY "Course Of Action" as SCourseAction <<strategy-course-of-action>>
archimate #MOTIVATION "Assessment" as MAsssessment <<assessment>>
 @enduml

I am not sure which syntax is better. Does chamfercorner sounds better than diagonalcorner ?

commented May 10, 2019 by zimchaa (1,040 points)
DiagonalCorner probably works much better than Chamfer - I had to look it up. Thanks very much.
...