11@startuml
22
3- !global $ARCH_LOCAL = false
3+ !global $ARCH_LOCAL = true
44!global $ARCH_DEBUG = false
55
66!if ($ARCH_LOCAL == false)
@@ -27,29 +27,66 @@ title Archimate Example - Relationships
2727LAYOUT_LEFT_RIGHT()
2828'LAYOUT_TOP_DOWN()
2929
30- Business_Service(Service01, "Service 01")
31- Application_Service(Service02, "Service 02")
32- Technology_Service(Service03, "Service03")
33- Technology_Artifact(Art1, "Artifact")
34-
35- Rel_Composition_Right(Service01, Service02, "Composition")
36- Rel_Aggregation(Service01, Service02, "Aggregation")
37- Rel_Assignment(Service01, Service02, "Assignment")
38- Rel_Specialization(Service01, Service02, "Specialization")
39- Rel_Serving(Service01, Service02, "Serving")
40- Rel_Association(Service02, Service03, "Association")
41- Rel_Association_dir(Service02, Service03, "Association_dir")
42- Rel_Flow(Service02, Service03, "Flow")
43- Rel_Realization(Service02, Service03, "Realization")
44- Rel_Triggering(Service02, Service03, "Triggering")
45- 'Rel_Access(Service02, Service03, "Access")
46- Rel_Influence(Service02, Service03, " + Influence")
47- Rel_Access(Service03, Art1, "access")
48- Rel_Access_r(Service03, Art1, "access r")
49- Rel_Access_w(Service03, Art1, "access w")
50- Rel_Access_rw(Service03, Art1, "access rw")
30+ <style>
31+ rectangle {
32+ LineColor #transparent
33+ LineStyle 8-5
34+ 'MinimumWidth 10
35+ }
36+ </style>
37+ !unquoted procedure C($alias, $label=" ")
38+ rectangle "$label" as $alias
39+ !endprocedure
5140
52- Grouping(Example01, "Example 01"){
41+ Boundary(R, "Relationships"){
42+ C(f15, "access rw")
43+ C(t15)
44+ C(f14, "access w")
45+ C(t14)
46+ C(f13, "access r")
47+ C(t13)
48+ C(f12, "access")
49+ C(t12)
50+ C(f11, "+ Influence")
51+ C(t11)
52+ C(f10, "Triggering")
53+ C(t10)
54+ C(f9, "Realization")
55+ C(t9)
56+ C(f8, "Flow")
57+ C(t8)
58+ C(f7, "Association_dir")
59+ C(t7)
60+ C(f6, "Association")
61+ C(t6)
62+ C(f5, "Serving")
63+ C(t5)
64+ C(f4, "Specialization")
65+ C(t4)
66+ C(f3, "Assignment")
67+ C(t3)
68+ C(f2, "Aggregation")
69+ C(t2)
70+ C(f1, "Composition")
71+ C(t1)
72+ }
73+ Rel_Composition(f1, t1)
74+ Rel_Aggregation(f2, t2)
75+ Rel_Assignment(f3, t3)
76+ Rel_Specialization(f4, t4)
77+ Rel_Serving(f5, t5)
78+ Rel_Association(f6, t6)
79+ Rel_Association_dir(f7, t7)
80+ Rel_Flow(f8, t8)
81+ Rel_Realization(f9, t9)
82+ Rel_Triggering(f10, t10)
83+ Rel_Influence(f11, t11)
84+ Rel_Access(f12, t12)
85+ Rel_Access_r(f13, t13)
86+ Rel_Access_w(f14, t14)
87+ Rel_Access_rw(f15, t15)
88+
89+ Boundary(Example01, "Example"){
5390 Strategy_Capability(TestCapability01, "Test Capability")
5491 Business_Product(TestProduct01, "Test Product")
5592 Application_Service(TestService01, "Test Service")
@@ -61,5 +98,4 @@ Grouping(Example01, "Example 01"){
6198 Rel_Composition_Up(TestDevice01, TestCapability01, "D-C")
6299}
63100
64- Lay_D(Service01, Example01)
65101@enduml
0 commit comments