Change circled symbol in class diagram

0 votes
asked Jan 7 in Question / help by anonymous
Am I possible to change symbol in circle in a class diagram?

There are "C" for class, "I" for interface and so on.

I would like to have "H", "L", "S" and - if possible two letters ", "HL ", " LS

1 Answer

0 votes
answered Jan 7 by The-Lu (67,040 points)

Hello A., and all,

For that you can use stereotype, (only one letter, for two or more that is not yet implemented...) as:

@startuml

class C1-H << (H, #FF7700) >>
class C2-L << (L, orchid) >>
class C3-S << (S, #cccccc) >>

@enduml

See also doc. here:

Enjoy,
Regards,
Th. 

...