‘skinparam’ command is used to customize the font and colors in a diagram.
customizeColor.txt
@startuml skinparam class { BackgroundColor LightBlue ArrowColor Tomato BorderColor SpringGreen } abstract class Mammal Class Dog <<Animal>> class BullDog class Poodle class Beagle class Cat <<Animal>> class PersianCat class Ragdoll Mammal <|-- Cat Mammal <|-- Dog Dog <|-- BullDog Dog <|-- Poodle Dog <|-- Beagle Cat <|-- PersianCat Cat <|-- Ragdoll @enduml
Above snippet generate below diagram.
No comments:
Post a Comment