Updated to process instead of definelong

pull/70/head
Wolfgang Frank 6 years ago
parent 58b5da5570
commit 1b04b4350d

@ -43,12 +43,12 @@ skinparam rectangle<<boundary>> {
' Layout
' ##################################
!definelong LAYOUT_AS_SKETCH
!procedure 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
!endprocedure
!define LAYOUT_TOP_DOWN top to bottom direction
!define LAYOUT_LEFT_RIGHT left to right direction

@ -32,7 +32,7 @@ skinparam database<<component>> {
' Layout
' ##################################
!definelong LAYOUT_WITH_LEGEND
!procedure LAYOUT_WITH_LEGEND()
hide stereotype
legend right
|= |= Type |
@ -43,7 +43,7 @@ legend right
|<CONTAINER_BG_COLOR> | container |
|<COMPONENT_BG_COLOR> | component |
endlegend
!enddefinelong
!endprocedure
' Elements
' ##################################

@ -32,7 +32,7 @@ skinparam database<<container>> {
' Layout
' ##################################
!definelong LAYOUT_WITH_LEGEND
!procedure LAYOUT_WITH_LEGEND()
hide stereotype
legend right
|= |= Type |
@ -42,7 +42,7 @@ legend right
|<EXTERNAL_SYSTEM_BG_COLOR> | external system |
|<CONTAINER_BG_COLOR> | container |
endlegend
!enddefinelong
!endprocedure
' Elements
' ##################################

@ -63,7 +63,7 @@ skinparam database<<external_system>> {
' Layout
' ##################################
!definelong LAYOUT_WITH_LEGEND
!procedure LAYOUT_WITH_LEGEND()
hide stereotype
legend right
|= |= Type |
@ -72,7 +72,7 @@ legend right
|<SYSTEM_BG_COLOR> | system |
|<EXTERNAL_SYSTEM_BG_COLOR> | external system |
endlegend
!enddefinelong
!endprocedure
' Elements
' ##################################

@ -15,7 +15,7 @@ With the two macros `LAYOUT_TOP_DOWN` and `LAYOUT_LEFT_RIGHT` it is possible to
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml
/' Not needed because this is the default '/
LAYOUT_TOP_DOWN
LAYOUT_TOP_DOWN()
Person(admin, "Administrator")
System_Boundary(c1, 'Sample') {
@ -36,7 +36,7 @@ Using `LAYOUT_LEFT_RIGHT`
@startuml LAYOUT_LEFT_RIGHT Sample
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml
LAYOUT_LEFT_RIGHT
LAYOUT_LEFT_RIGHT()
Person(admin, "Administrator")
System_Boundary(c1, 'Sample') {
@ -63,7 +63,7 @@ This can be enabled with `LAYOUT_WITH_LEGEND`.
@startuml LAYOUT_WITH_LEGEND Sample
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml
LAYOUT_WITH_LEGEND
LAYOUT_WITH_LEGEND()
Person(admin, "Administrator")
System_Boundary(c1, 'Sample') {
@ -96,7 +96,7 @@ With `LAYOUT_AS_SKETCH` you can make a difference.
@startuml LAYOUT_AS_SKETCH Sample
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml
LAYOUT_AS_SKETCH
LAYOUT_AS_SKETCH()
Person(admin, "Administrator")
System_Boundary(c1, 'Sample') {

@ -3,7 +3,7 @@
' uncomment the following line and comment the first to use locally
' !include C4_Component.puml
LAYOUT_WITH_LEGEND
LAYOUT_WITH_LEGEND()
title Component diagram for Internet Banking System - API Application

@ -3,9 +3,9 @@
' uncomment the following line and comment the first to use locally
' !include C4_Container.puml
LAYOUT_TOP_DOWN
'LAYOUT_AS_SKETCH
LAYOUT_WITH_LEGEND
LAYOUT_TOP_DOWN()
'LAYOUT_AS_SKETCH()
LAYOUT_WITH_LEGEND()
title Container diagram for Internet Banking System

@ -6,9 +6,9 @@
skinparam wrapWidth 200
skinparam maxMessageSize 200
LAYOUT_TOP_DOWN
'LAYOUT_AS_SKETCH
LAYOUT_WITH_LEGEND
LAYOUT_TOP_DOWN()
'LAYOUT_AS_SKETCH()
LAYOUT_WITH_LEGEND()
Person(customer, Customer, "A customer")

@ -3,9 +3,9 @@
' uncomment the following line and comment the first to use locally
' !include C4_Container.puml
LAYOUT_TOP_DOWN
'LAYOUT_AS_SKETCH
LAYOUT_WITH_LEGEND
LAYOUT_TOP_DOWN()
'LAYOUT_AS_SKETCH()
LAYOUT_WITH_LEGEND()
Person_Ext(anonymous_user, "Anonymous User")

@ -3,9 +3,9 @@
' uncomment the following line and comment the first to use locally
' !include C4_Context.puml
'LAYOUT_TOP_DOWN
'LAYOUT_AS_SKETCH
LAYOUT_WITH_LEGEND
'LAYOUT_TOP_DOWN()
'LAYOUT_AS_SKETCH()
LAYOUT_WITH_LEGEND()
title System Landscape diagram for Big Bank plc

@ -3,7 +3,7 @@
' uncomment the following line and comment the first to use locally
' !include C4_Context.puml
LAYOUT_WITH_LEGEND
LAYOUT_WITH_LEGEND()
title System Context diagram for Internet Banking System

@ -3,9 +3,9 @@
' uncomment the following line and comment the first to use locally
' !include C4_Context.puml
LAYOUT_TOP_DOWN
'LAYOUT_AS_SKETCH
LAYOUT_WITH_LEGEND
LAYOUT_TOP_DOWN()
'LAYOUT_AS_SKETCH()
LAYOUT_WITH_LEGEND()
Person(customer, "Customer", "A customer of Widgets Limited.")

Loading…
Cancel
Save