Created
August 30, 2019 03:03
-
-
Save XueshiQiao/5fe1ea190f212c8b4eebf31f4711b10e to your computer and use it in GitHub Desktop.
Style configuration for PlantUML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'ORIGNAL: https://raw.githubusercontent.com/xuanye/plantuml-style-c4/master/core.puml | |
@startuml core | |
!includeurl https://raw.githubusercontent.com/xuanye/plantuml-style-c4/master/colors.puml | |
' uncomment the following line and comment the first to use locally | |
'!include colors.puml | |
!includeurl https://raw.githubusercontent.com/xuanye/plantuml-style-c4/master/skinparam.puml | |
' uncomment the following line and comment the first to use locally | |
'!include skinparam.puml | |
!define TECHN_FONT_SIZE 12 | |
!define LAYOUT_TOP_DOWN top to bottom direction | |
!define LAYOUT_LEFT_RIGHT left to right direction | |
!definelong LAYOUT_AS_SKETCH | |
skinparam backgroundColor #EEEBDC | |
skinparam handwritten true | |
'skinparam defaultFontName "Comic Sans MS" | |
center footer <font color=red>Warning:</font> Created for discussion, needs to be validated | |
!enddefinelong | |
!define RED_ARROW skinparam ArrowColor Red | |
!define MEGENTA_ARROW skinparam ArrowColor Magenta | |
!define GREEN_ARROW skinparam ArrowColor MD_GREEN_200 | |
!define GREY_ARROW skinparam ArrowColor DC_1 | |
!define YELLOW_ARROW skinparam ArrowColor Yellow | |
' help layer | |
!define Lay_D(e_from, e_to) e_from -[hidden]D- e_to | |
!define Lay_U(e_from, e_to) e_from -[hidden]U- e_to | |
!define Lay_R(e_from, e_to) e_from -[hidden]R- e_to | |
!define Lay_L(e_from, e_to) e_from -[hidden]L- e_to | |
!define UserCasePackage(e_alias, e_label) rectangle "==e_label" <<usercase>> as e_alias | |
!define UserCasePackage(e_alias, e_label, e_type) rectangle "==e_label\n<size:TECHN_FONT_SIZE>[e_type]</size>" <<usercase>> as e_alias | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment