#186 LAYOUT_AS_SKETCH() styles can be set via SET_SKETCH_STYLE() (2 - border and arrow color changed too)
parent
ec41e918fa
commit
e607396e47
@ -0,0 +1,28 @@
|
|||||||
|
@startuml LAYOUT_AS_SKETCH Sample
|
||||||
|
!if %variable_exists("RELATIVE_INCLUDE")
|
||||||
|
!include ./../C4_Container.puml
|
||||||
|
!else
|
||||||
|
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/extended/C4_Container.puml
|
||||||
|
!endif
|
||||||
|
|
||||||
|
SET_SKETCH_STYLE($bgColor="lightblue", $fontColor="darkblue", $warningColor="darkred", $footerWarning="Sketch", $footerText="Created for discussion")
|
||||||
|
|
||||||
|
' PNG with font jlm_cmmi10 (typically another font is used)
|
||||||
|
' SET_SKETCH_STYLE($fontName="jlm_cmmi10")
|
||||||
|
|
||||||
|
' SVG with fallback fonts MS Gothic,Comic Sans MS, Comic Sans, Chalkboard SE, Comic Neue, cursive, sans-serif (typically without "MS Gothic")
|
||||||
|
SET_SKETCH_STYLE($fontName="MS Gothic,Comic Sans MS,Comic Sans,Chalkboard SE,Comic Neue,cursive,sans-serif")
|
||||||
|
|
||||||
|
LAYOUT_AS_SKETCH()
|
||||||
|
|
||||||
|
Person(admin, "Administrator")
|
||||||
|
System_Boundary(c1, 'Sample') {
|
||||||
|
Container(web_app, "Web Application", "C#, ASP.NET Core 2.1 MVC", "Allows users to compare multiple Twitter timelines")
|
||||||
|
}
|
||||||
|
System(twitter, "Twitter")
|
||||||
|
|
||||||
|
Rel(admin, web_app, "Uses", "HTTPS")
|
||||||
|
Rel(web_app, twitter, "Gets tweets from", "HTTPS")
|
||||||
|
|
||||||
|
SHOW_LEGEND()
|
||||||
|
@enduml
|
||||||
Loading…
Reference in New Issue