Wednesday 8 March 2023

PlantUML: Add a spotted character in a coloured circle in stereotype

You can add a a spotted character in a colored circle in stereotype using the syntax (X,color).

 

spottedCharStereotype.txt

@startuml

participant clientStub << (C,#00FFFF) Generated>>
participant server << (T,#FFFF00) Tested>>

clientStub -> server : Send request
server -> clientStub : Send response

@enduml

 

Above snippet generate below diagram.

 


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment