forked from awslabs/aws-icons-for-plantuml
-
Notifications
You must be signed in to change notification settings - Fork 15
/
GCPC4Integration.puml
70 lines (67 loc) · 2.38 KB
/
GCPC4Integration.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
' Copyright (c) 2020 David Holsgrove
' Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
' SPDX-License-Identifier: MIT (For details, see https://github.com/davidholsgrove/gcp-icons-for-plantuml/blob/master/LICENSE-CODE)
' GCP C4 UML Integration
!ifdef COMPONENT_BG_COLOR
!define COMPONENT_LEGEND
!else
!ifdef CONTAINER_BG_COLOR
!define CONTAINER_LEGEND
!else
!define CONTEXT_LEGEND
!endif
!endif
!ifdef CONTEXT_LEGEND
!definelong LAYOUT_WITH_LEGEND
hide <<person>> stereotype
hide <<external_system>> stereotype
hide <<system>> stereotype
hide <<external_system>> stereotype
legend right
|= |= Type |
|<PERSON_BG_COLOR> | person |
|<EXTERNAL_PERSON_BG_COLOR> | external person |
|<SYSTEM_BG_COLOR> | system |
|<EXTERNAL_SYSTEM_BG_COLOR> | external system |
|<GCP_BG_COLOR> | GCP service container |
endlegend
!enddefinelong
!endif
!ifdef CONTAINER_LEGEND
!definelong LAYOUT_WITH_LEGEND
hide <<person>> stereotype
hide <<external_system>> stereotype
hide <<system>> stereotype
hide <<external_system>> stereotype
hide <<container>> stereotype
legend right
|= |= Type |
|<PERSON_BG_COLOR> | person |
|<EXTERNAL_PERSON_BG_COLOR> | external person |
|<SYSTEM_BG_COLOR> | system |
|<EXTERNAL_SYSTEM_BG_COLOR> | external system |
|<CONTAINER_BG_COLOR> | container |
|<GCP_BG_COLOR> | GCP service container |
endlegend
!enddefinelong
!endif
!ifdef COMPONENT_LEGEND
!definelong LAYOUT_WITH_LEGEND
hide <<person>> stereotype
hide <<external_system>> stereotype
hide <<system>> stereotype
hide <<external_system>> stereotype
hide <<container>> stereotype
hide <<component>> stereotype
legend right
|= |= Type |
|<PERSON_BG_COLOR> | person |
|<EXTERNAL_PERSON_BG_COLOR> | external person |
|<SYSTEM_BG_COLOR> | system |
|<EXTERNAL_SYSTEM_BG_COLOR> | external system |
|<CONTAINER_BG_COLOR> | container |
|<GCP_BG_COLOR> | GCP service container |
|<COMPONENT_BG_COLOR> | component |
endlegend
!enddefinelong
!endif