Skip to content

Commit ba22375

Browse files
Improve PlantUML parsing compatibility and add component note
1 parent 1bcd536 commit ba22375

38 files changed

Lines changed: 1462 additions & 117 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
' *******************************************************************************
2+
' Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
'
4+
' See the NOTICE file(s) distributed with this work for additional
5+
' information regarding copyright ownership.
6+
'
7+
' This program and the accompanying materials are made available under the
8+
' terms of the Apache License Version 2.0 which is available at
9+
' https://www.apache.org/licenses/LICENSE-2.0
10+
'
11+
' SPDX-License-Identifier: Apache-2.0
12+
' *******************************************************************************
13+
@startuml
14+
15+
component Baselibs
16+
component Logging
17+
18+
note "Component boundary" as N2
19+
20+
note as N1
21+
Repository boundary note.
22+
end note
23+
24+
note over Baselibs #PeachPuff
25+
Over note.
26+
end note
27+
28+
note left
29+
Left note.
30+
end note
31+
32+
note right
33+
Right note.
34+
end note
35+
36+
note left of Baselibs
37+
Left-of note.
38+
end note
39+
40+
note right of Logging
41+
Right-of note.
42+
end note
43+
44+
note bottom of Baselibs
45+
Bottom-of note.
46+
end note
47+
48+
note top of Logging
49+
Top-of note.
50+
end note
51+
52+
Baselibs -[hidden]down-> N1
53+
Logging -[hidden]down-> N1
54+
Baselibs -[hidden]down-> N2
55+
Logging -[hidden]down-> N2
56+
57+
@enduml
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"component_note_alias_hidden_relation.puml": {
3+
"name": null,
4+
"statements": [
5+
{
6+
"Element": {
7+
"identity": {
8+
"name": "Baselibs",
9+
"alias": null,
10+
"stereotype": null,
11+
"element_kind": "component",
12+
"source_location": {
13+
"file": "",
14+
"line": 15
15+
}
16+
},
17+
"style": null,
18+
"statements": []
19+
}
20+
},
21+
{
22+
"Element": {
23+
"identity": {
24+
"name": "Logging",
25+
"alias": null,
26+
"stereotype": null,
27+
"element_kind": "component",
28+
"source_location": {
29+
"file": "",
30+
"line": 16
31+
}
32+
},
33+
"style": null,
34+
"statements": []
35+
}
36+
}
37+
]
38+
}
39+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
' *******************************************************************************
2+
' Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
'
4+
' See the NOTICE file(s) distributed with this work for additional
5+
' information regarding copyright ownership.
6+
'
7+
' This program and the accompanying materials are made available under the
8+
' terms of the Apache License Version 2.0 which is available at
9+
' https://www.apache.org/licenses/LICENSE-2.0
10+
'
11+
' SPDX-License-Identifier: Apache-2.0
12+
' *******************************************************************************
13+
@startuml
14+
component Backend <<score_logging>> as BackendAlias
15+
component Storage as StorageAlias <<persistent>>
16+
@enduml
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"element_modifier_order.puml": {
3+
"name": null,
4+
"statements": [
5+
{
6+
"Element": {
7+
"identity": {
8+
"name": "Backend",
9+
"alias": "BackendAlias",
10+
"stereotype": "score_logging",
11+
"element_kind": "component",
12+
"source_location": {
13+
"file": "",
14+
"line": 14
15+
}
16+
},
17+
"style": null,
18+
"statements": []
19+
}
20+
},
21+
{
22+
"Element": {
23+
"identity": {
24+
"name": "Storage",
25+
"alias": "StorageAlias",
26+
"stereotype": "persistent",
27+
"element_kind": "component",
28+
"source_location": {
29+
"file": "",
30+
"line": 15
31+
}
32+
},
33+
"style": null,
34+
"statements": []
35+
}
36+
}
37+
]
38+
}
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
' *******************************************************************************
2+
' Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
'
4+
' See the NOTICE file(s) distributed with this work for additional
5+
' information regarding copyright ownership.
6+
'
7+
' This program and the accompanying materials are made available under the
8+
' terms of the Apache License Version 2.0 which is available at
9+
' https://www.apache.org/licenses/LICENSE-2.0
10+
'
11+
' SPDX-License-Identifier: Apache-2.0
12+
' *******************************************************************************
13+
@startuml element_style_keyword_prefix_color
14+
component "Trace Collector" #linen
15+
component "Signal Adapter" #line:linen
16+
component "Status Fanout" #line.dashed:linen
17+
component "Text Overlay" #text:linen
18+
component "Control Plane" #LightSteelBlue
19+
"Trace Collector" --> "Signal Adapter"
20+
"Signal Adapter" --> "Status Fanout"
21+
"Status Fanout" --> "Text Overlay"
22+
"Text Overlay" --> "Control Plane"
23+
@enduml
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
{
2+
"element_style_keyword_prefix_color.puml": {
3+
"name": "element_style_keyword_prefix_color",
4+
"statements": [
5+
{
6+
"Element": {
7+
"identity": {
8+
"name": "Trace Collector",
9+
"alias": null,
10+
"stereotype": null,
11+
"element_kind": "component",
12+
"source_location": {
13+
"file": "",
14+
"line": 14
15+
}
16+
},
17+
"style": {
18+
"color": null,
19+
"attributes": []
20+
},
21+
"statements": []
22+
}
23+
},
24+
{
25+
"Element": {
26+
"identity": {
27+
"name": "Signal Adapter",
28+
"alias": null,
29+
"stereotype": null,
30+
"element_kind": "component",
31+
"source_location": {
32+
"file": "",
33+
"line": 15
34+
}
35+
},
36+
"style": {
37+
"color": null,
38+
"attributes": []
39+
},
40+
"statements": []
41+
}
42+
},
43+
{
44+
"Element": {
45+
"identity": {
46+
"name": "Status Fanout",
47+
"alias": null,
48+
"stereotype": null,
49+
"element_kind": "component",
50+
"source_location": {
51+
"file": "",
52+
"line": 16
53+
}
54+
},
55+
"style": {
56+
"color": null,
57+
"attributes": []
58+
},
59+
"statements": []
60+
}
61+
},
62+
{
63+
"Element": {
64+
"identity": {
65+
"name": "Text Overlay",
66+
"alias": null,
67+
"stereotype": null,
68+
"element_kind": "component",
69+
"source_location": {
70+
"file": "",
71+
"line": 17
72+
}
73+
},
74+
"style": {
75+
"color": null,
76+
"attributes": []
77+
},
78+
"statements": []
79+
}
80+
},
81+
{
82+
"Element": {
83+
"identity": {
84+
"name": "Control Plane",
85+
"alias": null,
86+
"stereotype": null,
87+
"element_kind": "component",
88+
"source_location": {
89+
"file": "",
90+
"line": 18
91+
}
92+
},
93+
"style": {
94+
"color": null,
95+
"attributes": []
96+
},
97+
"statements": []
98+
}
99+
},
100+
{
101+
"Relation": {
102+
"lhs": "Trace Collector",
103+
"arrow": {
104+
"left": null,
105+
"line": {
106+
"raw": "--"
107+
},
108+
"middle": null,
109+
"right": {
110+
"raw": ">"
111+
}
112+
},
113+
"rhs": "Signal Adapter",
114+
"style": null,
115+
"description": null,
116+
"source_location": {
117+
"file": "",
118+
"line": 19
119+
}
120+
}
121+
},
122+
{
123+
"Relation": {
124+
"lhs": "Signal Adapter",
125+
"arrow": {
126+
"left": null,
127+
"line": {
128+
"raw": "--"
129+
},
130+
"middle": null,
131+
"right": {
132+
"raw": ">"
133+
}
134+
},
135+
"rhs": "Status Fanout",
136+
"style": null,
137+
"description": null,
138+
"source_location": {
139+
"file": "",
140+
"line": 20
141+
}
142+
}
143+
},
144+
{
145+
"Relation": {
146+
"lhs": "Status Fanout",
147+
"arrow": {
148+
"left": null,
149+
"line": {
150+
"raw": "--"
151+
},
152+
"middle": null,
153+
"right": {
154+
"raw": ">"
155+
}
156+
},
157+
"rhs": "Text Overlay",
158+
"style": null,
159+
"description": null,
160+
"source_location": {
161+
"file": "",
162+
"line": 21
163+
}
164+
}
165+
},
166+
{
167+
"Relation": {
168+
"lhs": "Text Overlay",
169+
"arrow": {
170+
"left": null,
171+
"line": {
172+
"raw": "--"
173+
},
174+
"middle": null,
175+
"right": {
176+
"raw": ">"
177+
}
178+
},
179+
"rhs": "Control Plane",
180+
"style": null,
181+
"description": null,
182+
"source_location": {
183+
"file": "",
184+
"line": 22
185+
}
186+
}
187+
}
188+
]
189+
}
190+
}

0 commit comments

Comments
 (0)