|
|
|
|
@ -152,21 +152,21 @@ With the macros `HIDE_PERSON_SPRITE()` and `SHOW_PERSON_SPRITE()` it is possible
|
|
|
|
|
|
|
|
|
|
```csharp
|
|
|
|
|
@startuml predefined sprites Sample
|
|
|
|
|
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
|
|
|
|
|
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/extended/C4_Container.puml
|
|
|
|
|
|
|
|
|
|
Person(userA, "User A", "with predefined sprite person", "person")
|
|
|
|
|
Person(userB, "User B", "with predefined sprite person2", "person2")
|
|
|
|
|
@enduml
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**Using HIDE_PERSON_SPRITE()**
|
|
|
|
|
|
|
|
|
|
```csharp
|
|
|
|
|
@startuml HIDE_PERSON_SPRITE Sample
|
|
|
|
|
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
|
|
|
|
|
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/extended/C4_Container.puml
|
|
|
|
|
|
|
|
|
|
HIDE_PERSON_SPRITE()
|
|
|
|
|
|
|
|
|
|
@ -181,13 +181,13 @@ Rel(web_app, twitter, "Gets tweets from", "HTTPS")
|
|
|
|
|
@enduml
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
**Using SHOW_PERSON_SPRITE()**
|
|
|
|
|
|
|
|
|
|
```csharp
|
|
|
|
|
@startuml SHOW_PERSON_SPRITE Sample
|
|
|
|
|
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
|
|
|
|
|
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/extended/C4_Container.puml
|
|
|
|
|
|
|
|
|
|
/' Not needed because this is the default with sprite "person" '/
|
|
|
|
|
SHOW_PERSON_SPRITE()
|
|
|
|
|
@ -203,13 +203,13 @@ Rel(web_app, twitter, "Gets tweets from", "HTTPS")
|
|
|
|
|
@enduml
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
**Using SHOW_PERSON_SPRITE(sprite)**
|
|
|
|
|
|
|
|
|
|
```csharp
|
|
|
|
|
@startuml SHOW_PERSON_SPRITE(sprite) Sample
|
|
|
|
|
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
|
|
|
|
|
!include https://raw.githubusercontent.com/kirchsth/C4-PlantUML/extended/C4_Context.puml
|
|
|
|
|
!define osaPuml https://raw.githubusercontent.com/Crashedmind/PlantUML-opensecurityarchitecture2-icons/master
|
|
|
|
|
!include osaPuml/Common.puml
|
|
|
|
|
!include osaPuml/User/all.puml
|
|
|
|
|
@ -227,5 +227,5 @@ Rel(web_app, twitter, "Gets tweets from", "HTTPS")
|
|
|
|
|
@enduml
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
")
|
|
|
|
|
")
|
|
|
|
|
|
|
|
|
|
|