PlantUML Pleasantness: Change Line Style And Color – Messages from mrhaki
Posted by jpluimers on 2019/06/24
Learned a new thing today: you can change the line styles in PlantUML to these:
- plain
- dotted
- dashed
- bold
This in addition to the colour I already knew about. The order of these does not matter:
@startuml ' Make a dashed line, alternative syntax for ..> (*) -[dashed]-> "Write outline" ' Make line bold and use color name "Write outline" -[bold,#green]-> "Find example" ' Only change the color with hexadecimal RGB code "Find example" -[#ff00ff]-> "Write blog" ' Order of line style and color can be reversed "Write blog" -[#6666ff,dashed]-> "Publish" ' Use dotted line style "Publish" -[dotted]-> (*) @enduml
Source: [WayBack] PlantUML Pleasantness: Change Line Style And Color – Messages from mrhaki
–jeroen
Leave a Reply