Нашел решение в документах с использованием пользовательских стилей:
skinparam useBetaStyle true
<style>
' scope to sequenceDiagram elements
sequenceDiagram {
' define a new style, using CSS class syntax
.todo {
FontColor white
LineColor #52A0DC
BackgroundColor #52A0DC
}
.exists {
LineColor #a9a9a9
BackgroundColor #a9a9a9
}
}
}
</style>
participant Dockerfile <<todo>>
participant "AWS SSM" as SSM <<exists>>
Результат, как и ожидалось: