@linked.archi/la-gram-git 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +2 -0
  3. package/README.md +214 -2
  4. package/assets/arch-decision/arch-decision-metamodel.ttl +44 -0
  5. package/assets/arch-decision/arch-decision-onto.ttl +1566 -0
  6. package/assets/arch-decision/arch-decision-shapes.ttl +582 -0
  7. package/assets/arch-decision/arch-decision-tax.ttl +129 -0
  8. package/assets/arch-processes/arch-processes-metamodel.ttl +42 -0
  9. package/assets/arch-processes/arch-processes-tax.ttl +136 -0
  10. package/assets/arch-processes/archProcesses-shapes.ttl +189 -0
  11. package/assets/arch-processes/archProcesses.ttl +953 -0
  12. package/assets/archimate3/archimate3.2-element-shapes.ttl +379 -0
  13. package/assets/archimate3/archimate3.2-metamodel.ttl +205 -0
  14. package/assets/archimate3/archimate3.2-notation.ttl +1503 -0
  15. package/assets/archimate3/archimate3.2-onto.ttl +1579 -0
  16. package/assets/archimate3/archimate3.2-presentation-contexts.ttl +90 -0
  17. package/assets/archimate3/archimate3.2-principle-shapes.ttl +923 -0
  18. package/assets/archimate3/archimate3.2-questions.ttl +1125 -0
  19. package/assets/archimate3/archimate3.2-reference-data.ttl +74 -0
  20. package/assets/archimate3/archimate3.2-relationship-shapes.ttl +30956 -0
  21. package/assets/archimate3/archimate3.2-relationship-tables.ttl +5992 -0
  22. package/assets/archimate3/archimate3.2-tax.ttl +724 -0
  23. package/assets/archimate3/archimate3.2-viewpoint-shapes.ttl +59 -0
  24. package/assets/archimate3/archimate3.2-viewpoints.ttl +793 -0
  25. package/assets/archimate3/icons/and-junction.svg +3 -0
  26. package/assets/archimate3/icons/application-collaboration.svg +22 -0
  27. package/assets/archimate3/icons/application-component.svg +18 -0
  28. package/assets/archimate3/icons/application-event.svg +15 -0
  29. package/assets/archimate3/icons/application-function.svg +14 -0
  30. package/assets/archimate3/icons/application-interaction.svg +17 -0
  31. package/assets/archimate3/icons/application-interface.svg +16 -0
  32. package/assets/archimate3/icons/application-process.svg +14 -0
  33. package/assets/archimate3/icons/application-service.svg +14 -0
  34. package/assets/archimate3/icons/artifact.svg +16 -0
  35. package/assets/archimate3/icons/assessment.svg +17 -0
  36. package/assets/archimate3/icons/business-actor.svg +22 -0
  37. package/assets/archimate3/icons/business-collaboration.svg +21 -0
  38. package/assets/archimate3/icons/business-event.svg +15 -0
  39. package/assets/archimate3/icons/business-function.svg +14 -0
  40. package/assets/archimate3/icons/business-interaction.svg +18 -0
  41. package/assets/archimate3/icons/business-interface.svg +16 -0
  42. package/assets/archimate3/icons/business-object.svg +14 -0
  43. package/assets/archimate3/icons/business-process.svg +15 -0
  44. package/assets/archimate3/icons/business-role.svg +16 -0
  45. package/assets/archimate3/icons/business-service.svg +14 -0
  46. package/assets/archimate3/icons/capability.svg +40 -0
  47. package/assets/archimate3/icons/communication-network.svg +18 -0
  48. package/assets/archimate3/icons/constraint.svg +18 -0
  49. package/assets/archimate3/icons/contract.svg +13 -0
  50. package/assets/archimate3/icons/course-of-action.svg +20 -0
  51. package/assets/archimate3/icons/data-object.svg +14 -0
  52. package/assets/archimate3/icons/deliverable.svg +11 -0
  53. package/assets/archimate3/icons/device.svg +18 -0
  54. package/assets/archimate3/icons/distribution-network.svg +19 -0
  55. package/assets/archimate3/icons/driver.svg +24 -0
  56. package/assets/archimate3/icons/equipment.svg +31 -0
  57. package/assets/archimate3/icons/facility.svg +16 -0
  58. package/assets/archimate3/icons/gap.svg +22 -0
  59. package/assets/archimate3/icons/glyphs/activity.svg +3 -0
  60. package/assets/archimate3/icons/glyphs/actor.svg +14 -0
  61. package/assets/archimate3/icons/glyphs/application-component.svg +12 -0
  62. package/assets/archimate3/icons/glyphs/artifact.svg +9 -0
  63. package/assets/archimate3/icons/glyphs/assessment.svg +9 -0
  64. package/assets/archimate3/icons/glyphs/capability.svg +32 -0
  65. package/assets/archimate3/icons/glyphs/cloud-gear.svg +3 -0
  66. package/assets/archimate3/icons/glyphs/collaboration.svg +15 -0
  67. package/assets/archimate3/icons/glyphs/communication-network.svg +12 -0
  68. package/assets/archimate3/icons/glyphs/constraint.svg +10 -0
  69. package/assets/archimate3/icons/glyphs/contract.svg +5 -0
  70. package/assets/archimate3/icons/glyphs/course-of-action.svg +12 -0
  71. package/assets/archimate3/icons/glyphs/data-object.svg +4 -0
  72. package/assets/archimate3/icons/glyphs/deliverable.svg +3 -0
  73. package/assets/archimate3/icons/glyphs/device.svg +10 -0
  74. package/assets/archimate3/icons/glyphs/distribution-network.svg +11 -0
  75. package/assets/archimate3/icons/glyphs/driver.svg +16 -0
  76. package/assets/archimate3/icons/glyphs/equipment.svg +22 -0
  77. package/assets/archimate3/icons/glyphs/event.svg +6 -0
  78. package/assets/archimate3/icons/glyphs/facility.svg +7 -0
  79. package/assets/archimate3/icons/glyphs/function.svg +6 -0
  80. package/assets/archimate3/icons/glyphs/gap.svg +14 -0
  81. package/assets/archimate3/icons/glyphs/goal.svg +10 -0
  82. package/assets/archimate3/icons/glyphs/grouping.svg +4 -0
  83. package/assets/archimate3/icons/glyphs/interaction.svg +10 -0
  84. package/assets/archimate3/icons/glyphs/interface.svg +8 -0
  85. package/assets/archimate3/icons/glyphs/location.svg +6 -0
  86. package/assets/archimate3/icons/glyphs/material.svg +12 -0
  87. package/assets/archimate3/icons/glyphs/meaning.svg +3 -0
  88. package/assets/archimate3/icons/glyphs/node.svg +8 -0
  89. package/assets/archimate3/icons/glyphs/object.svg +4 -0
  90. package/assets/archimate3/icons/glyphs/outcome.svg +16 -0
  91. package/assets/archimate3/icons/glyphs/path.svg +10 -0
  92. package/assets/archimate3/icons/glyphs/person-silhouette.svg +3 -0
  93. package/assets/archimate3/icons/glyphs/plateau.svg +8 -0
  94. package/assets/archimate3/icons/glyphs/principle.svg +12 -0
  95. package/assets/archimate3/icons/glyphs/process.svg +6 -0
  96. package/assets/archimate3/icons/glyphs/product.svg +4 -0
  97. package/assets/archimate3/icons/glyphs/representation.svg +4 -0
  98. package/assets/archimate3/icons/glyphs/requirement.svg +6 -0
  99. package/assets/archimate3/icons/glyphs/resource.svg +14 -0
  100. package/assets/archimate3/icons/glyphs/role.svg +6 -0
  101. package/assets/archimate3/icons/glyphs/service.svg +6 -0
  102. package/assets/archimate3/icons/glyphs/stakeholder.svg +6 -0
  103. package/assets/archimate3/icons/glyphs/system-software.svg +14 -0
  104. package/assets/archimate3/icons/glyphs/value-stream.svg +3 -0
  105. package/assets/archimate3/icons/glyphs/value.svg +3 -0
  106. package/assets/archimate3/icons/glyphs/work-package.svg +4 -0
  107. package/assets/archimate3/icons/goal.svg +18 -0
  108. package/assets/archimate3/icons/grouping.svg +12 -0
  109. package/assets/archimate3/icons/implementation-event.svg +15 -0
  110. package/assets/archimate3/icons/location.svg +14 -0
  111. package/assets/archimate3/icons/material.svg +21 -0
  112. package/assets/archimate3/icons/meaning.svg +11 -0
  113. package/assets/archimate3/icons/node.svg +14 -0
  114. package/assets/archimate3/icons/or-junction.svg +3 -0
  115. package/assets/archimate3/icons/outcome.svg +25 -0
  116. package/assets/archimate3/icons/path.svg +18 -0
  117. package/assets/archimate3/icons/plateau.svg +16 -0
  118. package/assets/archimate3/icons/principle.svg +21 -0
  119. package/assets/archimate3/icons/product.svg +12 -0
  120. package/assets/archimate3/icons/representation.svg +12 -0
  121. package/assets/archimate3/icons/requirement.svg +14 -0
  122. package/assets/archimate3/icons/resource.svg +23 -0
  123. package/assets/archimate3/icons/stakeholder.svg +15 -0
  124. package/assets/archimate3/icons/system-software.svg +22 -0
  125. package/assets/archimate3/icons/technology-collaboration.svg +22 -0
  126. package/assets/archimate3/icons/technology-event.svg +15 -0
  127. package/assets/archimate3/icons/technology-function.svg +14 -0
  128. package/assets/archimate3/icons/technology-interaction.svg +18 -0
  129. package/assets/archimate3/icons/technology-interface.svg +16 -0
  130. package/assets/archimate3/icons/technology-process.svg +14 -0
  131. package/assets/archimate3/icons/technology-service.svg +14 -0
  132. package/assets/archimate3/icons/value-stream.svg +11 -0
  133. package/assets/archimate3/icons/value.svg +11 -0
  134. package/assets/archimate3/icons/work-package.svg +12 -0
  135. package/assets/archimate4/archimate4-element-shapes.ttl +404 -0
  136. package/assets/archimate4/archimate4-metamodel.ttl +179 -0
  137. package/assets/archimate4/archimate4-notation.ttl +1147 -0
  138. package/assets/archimate4/archimate4-onto.ttl +1559 -0
  139. package/assets/archimate4/archimate4-presentation-contexts.ttl +60 -0
  140. package/assets/archimate4/archimate4-principle-shapes.ttl +893 -0
  141. package/assets/archimate4/archimate4-questions.ttl +1224 -0
  142. package/assets/archimate4/archimate4-reference-data.ttl +56 -0
  143. package/assets/archimate4/archimate4-relationship-shapes.ttl +16920 -0
  144. package/assets/archimate4/archimate4-relationship-tables.ttl +3200 -0
  145. package/assets/archimate4/archimate4-tax.ttl +749 -0
  146. package/assets/archimate4/archimate4-viewpoint-shapes.ttl +55 -0
  147. package/assets/archimate4/archimate4-viewpoints.ttl +777 -0
  148. package/assets/archimate4/icons/and-junction.svg +3 -0
  149. package/assets/archimate4/icons/application-component.svg +18 -0
  150. package/assets/archimate4/icons/application-interface.svg +16 -0
  151. package/assets/archimate4/icons/artifact.svg +16 -0
  152. package/assets/archimate4/icons/assessment.svg +17 -0
  153. package/assets/archimate4/icons/business-actor.svg +22 -0
  154. package/assets/archimate4/icons/business-interface.svg +16 -0
  155. package/assets/archimate4/icons/business-object.svg +14 -0
  156. package/assets/archimate4/icons/capability.svg +40 -0
  157. package/assets/archimate4/icons/collaboration.svg +21 -0
  158. package/assets/archimate4/icons/communication-network.svg +18 -0
  159. package/assets/archimate4/icons/course-of-action.svg +20 -0
  160. package/assets/archimate4/icons/data-object.svg +14 -0
  161. package/assets/archimate4/icons/deliverable.svg +11 -0
  162. package/assets/archimate4/icons/device.svg +18 -0
  163. package/assets/archimate4/icons/distribution-network.svg +19 -0
  164. package/assets/archimate4/icons/driver.svg +24 -0
  165. package/assets/archimate4/icons/equipment.svg +31 -0
  166. package/assets/archimate4/icons/event.svg +15 -0
  167. package/assets/archimate4/icons/facility.svg +16 -0
  168. package/assets/archimate4/icons/function.svg +13 -0
  169. package/assets/archimate4/icons/glyphs/activity.svg +3 -0
  170. package/assets/archimate4/icons/glyphs/actor.svg +14 -0
  171. package/assets/archimate4/icons/glyphs/application-component.svg +12 -0
  172. package/assets/archimate4/icons/glyphs/artifact.svg +9 -0
  173. package/assets/archimate4/icons/glyphs/assessment.svg +9 -0
  174. package/assets/archimate4/icons/glyphs/capability.svg +32 -0
  175. package/assets/archimate4/icons/glyphs/cloud-gear.svg +3 -0
  176. package/assets/archimate4/icons/glyphs/collaboration.svg +15 -0
  177. package/assets/archimate4/icons/glyphs/communication-network.svg +12 -0
  178. package/assets/archimate4/icons/glyphs/constraint.svg +10 -0
  179. package/assets/archimate4/icons/glyphs/contract.svg +5 -0
  180. package/assets/archimate4/icons/glyphs/course-of-action.svg +12 -0
  181. package/assets/archimate4/icons/glyphs/data-object.svg +4 -0
  182. package/assets/archimate4/icons/glyphs/deliverable.svg +3 -0
  183. package/assets/archimate4/icons/glyphs/device.svg +10 -0
  184. package/assets/archimate4/icons/glyphs/distribution-network.svg +11 -0
  185. package/assets/archimate4/icons/glyphs/driver.svg +16 -0
  186. package/assets/archimate4/icons/glyphs/equipment.svg +22 -0
  187. package/assets/archimate4/icons/glyphs/event.svg +6 -0
  188. package/assets/archimate4/icons/glyphs/facility.svg +7 -0
  189. package/assets/archimate4/icons/glyphs/function.svg +6 -0
  190. package/assets/archimate4/icons/glyphs/gap.svg +14 -0
  191. package/assets/archimate4/icons/glyphs/goal.svg +10 -0
  192. package/assets/archimate4/icons/glyphs/grouping.svg +4 -0
  193. package/assets/archimate4/icons/glyphs/interaction.svg +10 -0
  194. package/assets/archimate4/icons/glyphs/interface.svg +8 -0
  195. package/assets/archimate4/icons/glyphs/location.svg +6 -0
  196. package/assets/archimate4/icons/glyphs/material.svg +12 -0
  197. package/assets/archimate4/icons/glyphs/meaning.svg +3 -0
  198. package/assets/archimate4/icons/glyphs/node.svg +8 -0
  199. package/assets/archimate4/icons/glyphs/object.svg +4 -0
  200. package/assets/archimate4/icons/glyphs/outcome.svg +16 -0
  201. package/assets/archimate4/icons/glyphs/path.svg +10 -0
  202. package/assets/archimate4/icons/glyphs/person-silhouette.svg +3 -0
  203. package/assets/archimate4/icons/glyphs/plateau.svg +8 -0
  204. package/assets/archimate4/icons/glyphs/principle.svg +12 -0
  205. package/assets/archimate4/icons/glyphs/process.svg +6 -0
  206. package/assets/archimate4/icons/glyphs/product.svg +4 -0
  207. package/assets/archimate4/icons/glyphs/representation.svg +4 -0
  208. package/assets/archimate4/icons/glyphs/requirement.svg +6 -0
  209. package/assets/archimate4/icons/glyphs/resource.svg +14 -0
  210. package/assets/archimate4/icons/glyphs/role.svg +6 -0
  211. package/assets/archimate4/icons/glyphs/service.svg +6 -0
  212. package/assets/archimate4/icons/glyphs/stakeholder.svg +6 -0
  213. package/assets/archimate4/icons/glyphs/system-software.svg +14 -0
  214. package/assets/archimate4/icons/glyphs/value-stream.svg +3 -0
  215. package/assets/archimate4/icons/glyphs/value.svg +3 -0
  216. package/assets/archimate4/icons/glyphs/work-package.svg +4 -0
  217. package/assets/archimate4/icons/goal.svg +18 -0
  218. package/assets/archimate4/icons/grouping.svg +12 -0
  219. package/assets/archimate4/icons/location.svg +14 -0
  220. package/assets/archimate4/icons/material.svg +21 -0
  221. package/assets/archimate4/icons/meaning.svg +11 -0
  222. package/assets/archimate4/icons/node.svg +14 -0
  223. package/assets/archimate4/icons/or-junction.svg +3 -0
  224. package/assets/archimate4/icons/outcome.svg +25 -0
  225. package/assets/archimate4/icons/path.svg +18 -0
  226. package/assets/archimate4/icons/plateau.svg +16 -0
  227. package/assets/archimate4/icons/principle.svg +21 -0
  228. package/assets/archimate4/icons/process.svg +15 -0
  229. package/assets/archimate4/icons/product.svg +12 -0
  230. package/assets/archimate4/icons/requirement.svg +14 -0
  231. package/assets/archimate4/icons/resource.svg +23 -0
  232. package/assets/archimate4/icons/role.svg +16 -0
  233. package/assets/archimate4/icons/service.svg +13 -0
  234. package/assets/archimate4/icons/stakeholder.svg +15 -0
  235. package/assets/archimate4/icons/system-software.svg +22 -0
  236. package/assets/archimate4/icons/technology-interface.svg +16 -0
  237. package/assets/archimate4/icons/value-stream.svg +11 -0
  238. package/assets/archimate4/icons/value.svg +11 -0
  239. package/assets/archimate4/icons/work-package.svg +12 -0
  240. package/assets/basic/basic-metamodel.ttl +100 -0
  241. package/assets/basic/basic-notation-bubble.ttl +175 -0
  242. package/assets/basic/basic-notation.ttl +172 -0
  243. package/assets/basic/basic-onto.ttl +171 -0
  244. package/assets/basic/basic-presentation-contexts.ttl +70 -0
  245. package/assets/basic/basic-tax.ttl +130 -0
  246. package/assets/basic/icons/aggregation.svg +7 -0
  247. package/assets/basic/icons/association.svg +6 -0
  248. package/assets/basic/icons/element.svg +5 -0
  249. package/assets/basic/icons/glyphs/aggregation.svg +6 -0
  250. package/assets/basic/icons/glyphs/association.svg +5 -0
  251. package/assets/basic/icons/glyphs/element.svg +5 -0
  252. package/assets/basic/icons/glyphs/relationship.svg +5 -0
  253. package/assets/basic/icons/relationship.svg +7 -0
  254. package/assets/basic/notation-bubble/icons/aggregation.svg +7 -0
  255. package/assets/basic/notation-bubble/icons/association.svg +6 -0
  256. package/assets/basic/notation-bubble/icons/element.svg +5 -0
  257. package/assets/basic/notation-bubble/icons/glyphs/aggregation.svg +6 -0
  258. package/assets/basic/notation-bubble/icons/glyphs/association.svg +5 -0
  259. package/assets/basic/notation-bubble/icons/glyphs/element.svg +5 -0
  260. package/assets/basic/notation-bubble/icons/glyphs/relationship.svg +5 -0
  261. package/assets/basic/notation-bubble/icons/relationship.svg +7 -0
  262. package/assets/catalog.ttl +7302 -0
  263. package/assets/core/core-notation.ttl +131 -0
  264. package/assets/core/core-onto.ttl +2811 -0
  265. package/assets/core/core-questions.ttl +957 -0
  266. package/assets/core/core-shapes.ttl +915 -0
  267. package/assets/core/core-vis-onto.ttl +1408 -0
  268. package/assets/core/core-vis-shapes.ttl +840 -0
  269. package/assets/core-vis/markers/circle-dot.svg +3 -0
  270. package/assets/core-vis/markers/closed-arrowhead.svg +3 -0
  271. package/assets/core-vis/markers/filled-diamond.svg +3 -0
  272. package/assets/core-vis/markers/half-arrowhead.svg +3 -0
  273. package/assets/core-vis/markers/hollow-arrowhead.svg +3 -0
  274. package/assets/core-vis/markers/hollow-diamond.svg +3 -0
  275. package/assets/core-vis/markers/open-arrowhead.svg +3 -0
  276. package/ci/README.md +126 -0
  277. package/ci/github/la-gram-git.yml +30 -0
  278. package/ci/gitlab/la-gram-git.gitlab-ci.yml +20 -0
  279. package/dist/637.js +51 -0
  280. package/dist/637.js.map +1 -0
  281. package/dist/la-gram-git.js +22936 -0
  282. package/dist/la-gram-git.js.map +1 -0
  283. package/package.json +31 -4
@@ -0,0 +1,1408 @@
1
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
2
+ @prefix adms: <http://www.w3.org/ns/adms#> .
3
+ @prefix dcterms: <http://purl.org/dc/terms/> .
4
+ @prefix cc: <http://creativecommons.org/ns#> .
5
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
9
+ @prefix vann: <http://purl.org/vocab/vann/> .
10
+ @prefix arch: <https://meta.linked.archi/core#> .
11
+ @prefix arch-vis: <https://meta.linked.archi/core-vis#> .
12
+ @prefix schema: <http://schema.org/> .
13
+ @prefix : <https://meta.linked.archi/core-vis#> .
14
+
15
+ <https://meta.linked.archi/core-vis#>
16
+ rdf:type owl:Ontology ;
17
+ cc:license <http://creativecommons.org/licenses/by-sa/3.0/> ;
18
+ cc:license "This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License."@en ;
19
+ vann:preferredNamespaceUri "https://meta.linked.archi/core-vis#" ;
20
+ vann:preferredNamespacePrefix "arch-vis" ;
21
+ dcterms:creator "Kalin Maldzhanski"^^xsd:string ;
22
+ dcterms:description '''Core Linked.Archi Ontology for Diagrams and Visual Notation.
23
+ Provides vocabulary for diagram interchange (nodes, links, bounds) and visual styling
24
+ (colors, fonts, shapes, icons). Used both at the instance level (diagram elements) and
25
+ at the type level (default notation for model concepts via NotationSet).'''@en ;
26
+ dcterms:issued "2019-03-17"^^xsd:date ;
27
+ dcterms:modified "2026-11-26"^^xsd:date ;
28
+ dcterms:publisher <https://linked.archi> ;
29
+ dcterms:publisher "Linked.Archi"@en ;
30
+ dcterms:title "Core Linked.Archi Ontology for Diagrams and Visual Notation"@en ;
31
+ owl:versionInfo "0.10"@en ;
32
+ rdfs:seeAlso <https://meta.linked.archi/core-vis-shapes#> ;
33
+ skos:historyNote '''0.10: Which node is drawn above which. arch-vis:zOrder, an integer on a node, orders it
34
+ among the nodes drawn in the same place — the view's top level, or inside the same container — the higher above
35
+ the lower, the same in the order of their IRIs; absent, 0. A diagram's drawing order was nowhere in its data:
36
+ a tool drew the nodes in whatever order it read them, so two overlapping nodes could swap after a save and a
37
+ load, and the order a converted file gave its nodes was lost. What is nested stays above its container.
38
+
39
+ 0.9: A diagram may hold a reference to another view. arch-vis:ViewReferenceNode is
40
+ the appearance of a view on another diagram, as an ArchNode is an element's: a node that opens the view
41
+ its arch-vis:referencesView names, such as an index view's entry for each view it lists, or the way from
42
+ an element's box to the view that details it. The ArchiMate exchange format writes one as a Label node
43
+ with a viewRef. It is not a LabelNode, which stands for nothing:
44
+ it stands for a view. arch-vis:referencesView pairs with it as arch-vis:archElement does with ArchNode,
45
+ its rdfs:domain the class, and functional. It is not arch-vis:view, the view a diagram element is drawn
46
+ in.
47
+ 0.8: A model element's picture for the presentation context shown (core's
48
+ arch:prefVisNotation, arch:altVisNotation) is drawn where its diagram element is drawn as a box too —
49
+ arch-vis:ShapeWithBadge or arch-vis:ShapeOnly — inside it, at the diagram element's
50
+ arch-vis:imagePosition, unless its own style gives it a picture of its own (arch-vis:image) or an icon
51
+ of its own (arch-vis:iconSymbol); the badge stays the notation's glyph. Where 0.7 drew it only as the
52
+ icon of a diagram element drawn arch-vis:IconCentric, choosing an audience showed nothing of it on a
53
+ box. And a style may say arch-vis:useElementPicture: the diagram element's icon is its model element's
54
+ picture for the context shown — its badge, drawn arch-vis:ShapeWithBadge, or its figure, drawn
55
+ IconCentric — in place of the notation's glyph, following the picture as it changes and as the context
56
+ does.
57
+
58
+ 0.7: A diagram element's own style says more than its colours and its font:
59
+ arch-vis:lineWidth, the width of its outline or its line; arch-vis:fontStyle, whether its text is
60
+ bold, italic or underlined; where its text sits — arch-vis:textAlignment across it
61
+ (arch-vis:AlignLeft, AlignCenter, AlignRight), arch-vis:textPosition down it
62
+ (arch-vis:PositionTop, PositionMiddle, PositionBottom); arch-vis:gradient, the side its fill shades
63
+ from (arch-vis:GradientTop, GradientLeft, GradientRight, GradientBottom); arch-vis:iconColor,
64
+ its glyph's colour; arch-vis:image, a picture drawn in it, at arch-vis:imagePosition — an
65
+ arch-vis:IconPlacement, which gains MiddleLeft, MiddleRight, BottomLeft, BottomRight and Fill; and,
66
+ for a line, arch-vis:labelAnchor, where along it its text sits (arch-vis:AnchorSource, AnchorMiddle,
67
+ AnchorTarget). Each absent leaves the choice to the notation or the renderer. A label may say more than
68
+ a name: arch-vis:labelExpression gives an arch-vis:LabelExpression, its arch-vis:expression text with
69
+ {…} placeholders for the concept's name, its type and its properties — on a diagram element's own style,
70
+ on a concept's notation, or on a presentation context for everything shown in it — and, with core's
71
+ arch:inPresentationContext (core 0.5.0), for one presentation context only, so that each audience may
72
+ read the same element its own way. So may it look its own way: arch-vis:style is no longer functional —
73
+ a diagram element has at most one style for every context and one for each context, the latter drawn
74
+ over the former in its context — and a diagram element drawn arch-vis:IconCentric shows its model
75
+ element's picture for the context (core's arch:prefVisNotation, arch:altVisNotation) where its own style
76
+ names no icon. arch-vis:lineStyle, sourceDecor and targetDecor
77
+ name what they may be said of with arch:domainIncludes — a relationship, a relationship type's
78
+ notation, a style, and so one line's own — where an rdfs:domain of arch:QualifiedRelationship made
79
+ every notation saying them a relationship. arch-vis:alternativeStyle gives a notation other figures for
80
+ its concept — ArchiMate's banded, tabbed, wavy and 3D boxes, its cloud and folder, now that each element
81
+ is drawn by default as a box with its glyph. A colour's alpha is CSS's, 0 to 1: the comments
82
+ had given an example with the exchange format's percentage, rgba(255,255,181,100), which CSS reads
83
+ as opaque whatever it is.
84
+
85
+ 0.6: A Link may end on another Link. A relationship can have a relationship as
86
+ its arch:source or arch:target, and its edge on a diagram then ends on the edge drawn for that
87
+ relationship — as a connection may end on a connection in the ArchiMate exchange format. The
88
+ range of arch-vis:source and arch-vis:target is widened from arch-vis:Node to
89
+ arch-vis:DiagElement; core-vis-shapes restricts both to a Node or a Link, since a Point is
90
+ never an end.
91
+ 0.5: Nesting. arch-vis:inNode places a node inside another on the same
92
+ diagram — a grouping around its members, a node around the system software it hosts. And
93
+ arch-vis:nestedEnd says, on a relationship's notation, that nesting may draw the relationship
94
+ and which end goes inside the other (arch-vis:SourceEnd, arch-vis:TargetEnd): an editor that
95
+ nests one element in another can then offer the relationships the nesting may stand for.
96
+
97
+ 0.4: A notation declares the shapes it needs beyond the core ones in its own
98
+ namespace, with arch-vis:fallbackShape (a core shape for renderers that cannot draw it) and its
99
+ geometry as path templates: arch-vis:shapeVariables, arch-vis:outlinePath, arch-vis:detailPath,
100
+ arch-vis:contentBox and arch-vis:labelBox. The ArchiMate, EDGY and C4 notations declare theirs
101
+ that way. Added arch-vis:borderStyle (a Style's outline LineStyle) for
102
+ dashed outlines such as ArchiMate's grouping. Documented arch-vis:fontColor as the label colour,
103
+ the line colour when absent. Documented the arch-vis:decorSymbol drawing
104
+ convention, and that an arch-vis:iconSymbol glyph is transparent where the element's fill shows
105
+ through. arch-vis:CircleDot is a filled dot, as ArchiMate's assignment draws it.
106
+
107
+ 0.3: Widened arch-vis:label's domain from arch-vis:Node to
108
+ arch-vis:DiagElement — an edge's label is the ordinary case (BPMN BPMNEdge-label, a named
109
+ sequence flow). Declared Node, Link and Point mutually disjoint (arch-vis:NodeLinkPointDisjoint),
110
+ which makes a wrong domain detectable rather than silently type-adding. Companion SHACL shapes
111
+ published as core-vis-shapes.
112
+
113
+ 0.2: Extended Style with structural properties (shapeType, iconSymbol,
114
+ iconPlacement, defaultWidth, defaultHeight). Added ShapeType, IconPlacement, LineStyle,
115
+ and Decoration individuals. Added NotationSet and VisualNotation classes for type-level
116
+ visual notation management. Added relationship line properties (lineStyle, sourceDecor,
117
+ targetDecor) on QualifiedRelationship.'''@en ;
118
+ .
119
+ # Common classes and properties for visual modeling and diagrams
120
+
121
+ arch-vis:DiagElement
122
+ a owl:Class ;
123
+ rdfs:label "DiagElement"@en ;
124
+ rdfs:comment '''Anything that appears on a diagram — a shape, an edge or a routing point.
125
+ The common superclass of Node, Link and Point, and the domain of the properties that
126
+ apply to all three (arch-vis:view, arch-vis:label, styling).'''@en ;
127
+ .
128
+
129
+ arch-vis:Node
130
+ a owl:Class ;
131
+ rdfs:subClassOf arch-vis:DiagElement ;
132
+ rdfs:label "Node"@en ;
133
+ rdfs:comment "A shape on a diagram: it has bounds and may contain other nodes."@en ;
134
+ .
135
+
136
+ arch-vis:ContainerNode
137
+ a owl:Class ;
138
+ rdfs:subClassOf arch-vis:Node ;
139
+ rdfs:label "Container"@en ;
140
+ rdfs:comment '''A shape on a diagram that stands for no model element: a group around what is
141
+ drawn inside it (arch-vis:inNode), a pool, a lane — or a plain shape, a rectangle, an ellipse, a
142
+ diamond, whose own arch-vis:style gives its arch-vis:shapeType. It carries no arch-vis:archElement.
143
+ Its text, when it has one (a group's name), is its skos:prefLabel, language-tagged; its colours
144
+ are its style's (arch-vis:fillColor, arch-vis:lineColor, arch-vis:fontColor). The ArchiMate
145
+ exchange format's Container node is one.'''@en ;
146
+ .
147
+
148
+ arch-vis:LabelNode
149
+ a owl:Class ;
150
+ rdfs:subClassOf arch-vis:Node ;
151
+ rdfs:label "LabelNode"@en ;
152
+ rdfs:comment '''Text on a diagram. Pointed at by another diagram element's arch-vis:label, it
153
+ places that element's text apart from it — a relationship's name moved off the middle of its line —
154
+ and the text is the name of what that element draws, unless the LabelNode gives its own as
155
+ skos:prefLabel. Pointed at by none, it is free-standing text: a note, its text its skos:prefLabel,
156
+ language-tagged, its colours its arch-vis:style's. The ArchiMate exchange format's Label node is
157
+ one. Either way it stands for no model element and carries no arch-vis:archElement. A Label node
158
+ with a viewRef is not one: it stands for the view it opens, an arch-vis:ViewReferenceNode.'''@en ;
159
+ .
160
+
161
+ arch-vis:ArchNode
162
+ a owl:Class ;
163
+ rdfs:subClassOf arch-vis:Node ;
164
+ rdfs:label "ArchNode"@en ;
165
+ rdfs:comment '''The appearance of a model element on a diagram: its arch-vis:archElement names
166
+ the element. An element may be drawn by more than one ArchNode in one view — placed again to keep
167
+ lines short — each a node of its own, moved, nested and removed on its own.'''@en ;
168
+ .
169
+
170
+ arch-vis:ViewReferenceNode
171
+ a owl:Class ;
172
+ rdfs:subClassOf arch-vis:Node ;
173
+ rdfs:label "ViewReferenceNode"@en ;
174
+ rdfs:comment '''The appearance of a view on another diagram, as an ArchNode is an element's: a node
175
+ that opens the view its arch-vis:referencesView names, exactly one. An index view holds one for each
176
+ view it lists; an element's box may hold one for the view that details it, drawn inside it
177
+ (arch-vis:inNode). Its text is its skos:prefLabel, language-tagged, its colours its arch-vis:style's.
178
+ It is not a LabelNode: a note stands for nothing, and this stands for a view. It carries no
179
+ arch-vis:archElement, a view being no arch:Element. The ArchiMate exchange format writes one as a Label
180
+ node with a viewRef.'''@en ;
181
+ .
182
+
183
+ arch-vis:Link
184
+ a owl:Class ;
185
+ rdfs:subClassOf arch-vis:DiagElement ;
186
+ rdfs:label "Link"@en ;
187
+ rdfs:comment '''An edge on a diagram: it joins a source to a target, may route through a
188
+ PointList, and may carry a LabelNode. Each end is a Node, or another Link where the relationship
189
+ the edge draws has a relationship as its source or target. A relationship may be drawn by more
190
+ than one Link in one view, each joining the nodes it is drawn between.
191
+
192
+ A Link with no arch-vis:archRelationship stands for no relationship: a line drawn on the diagram
193
+ only — from a note to what it is about, as the ArchiMate exchange format's Line connection — its
194
+ ends Nodes. It puts nothing in the view's arch:inView.'''@en ;
195
+ .
196
+
197
+ arch-vis:Point
198
+ a owl:Class ;
199
+ rdfs:subClassOf arch-vis:DiagElement ;
200
+ rdfs:label "Point"@en ;
201
+ rdfs:comment "A single x/y waypoint on a Link's route."@en ;
202
+ .
203
+
204
+ #################################################################
205
+ # Disjointness
206
+ #
207
+ # Node, Link and Point partition DiagElement. Without these axioms
208
+ # nothing says a Node is not a Link, so a too-narrow rdfs:domain on a
209
+ # property asserted about an edge silently adds a type instead of being
210
+ # reported. The axiom is what makes arch-vis:label's DiagElement domain
211
+ # a real constraint rather than a comment.
212
+ #
213
+ # Declared as a single owl:AllDisjointClasses rather than pairwise
214
+ # owl:disjointWith so the partition is one resource to read and to extend.
215
+ #################################################################
216
+
217
+ arch-vis:NodeLinkPointDisjoint
218
+ a owl:AllDisjointClasses ;
219
+ rdfs:label "Node / Link / Point are mutually disjoint"@en ;
220
+ owl:members ( arch-vis:Node arch-vis:Link arch-vis:Point ) ;
221
+ .
222
+
223
+ arch-vis:PointList
224
+ a owl:Class ;
225
+ rdfs:comment "List of points"@en ;
226
+ rdfs:label "List of points"@en ;
227
+ rdfs:subClassOf [ a owl:Class ;
228
+ owl:intersectionOf ( rdf:List [ a owl:Restriction ;
229
+ owl:allValuesFrom arch-vis:Point ;
230
+ owl:onProperty rdf:first ] [ a owl:Restriction ;
231
+ owl:allValuesFrom
232
+ arch-vis:PointList ;
233
+ owl:onProperty rdf:rest ] ) ] .
234
+
235
+ arch-vis:bounds-x
236
+ a owl:DatatypeProperty,
237
+ owl:FunctionalProperty ;
238
+ rdfs:label ""@en ;
239
+ rdfs:comment ""@en ;
240
+ rdfs:domain arch-vis:Node ;
241
+ rdfs:range xsd:double ;
242
+ .
243
+
244
+
245
+ arch-vis:bounds-y
246
+ a owl:DatatypeProperty,
247
+ owl:FunctionalProperty ;
248
+ rdfs:label ""@en ;
249
+ rdfs:comment ""@en ;
250
+ rdfs:domain arch-vis:Node ;
251
+ rdfs:range xsd:double ;
252
+ .
253
+
254
+ arch-vis:bounds-w
255
+ a owl:DatatypeProperty,
256
+ owl:FunctionalProperty ;
257
+ rdfs:label ""@en ;
258
+ rdfs:comment ""@en ;
259
+ rdfs:domain arch-vis:Node ;
260
+ rdfs:range xsd:double ;
261
+ .
262
+
263
+
264
+ arch-vis:bounds-h
265
+ a owl:DatatypeProperty,
266
+ owl:FunctionalProperty ;
267
+ rdfs:label ""@en ;
268
+ rdfs:comment ""@en ;
269
+ rdfs:domain arch-vis:Node ;
270
+ rdfs:range xsd:double ;
271
+ .
272
+
273
+ arch-vis:point-x
274
+ a owl:DatatypeProperty,
275
+ owl:FunctionalProperty ;
276
+ rdfs:label ""@en ;
277
+ rdfs:comment ""@en ;
278
+ rdfs:domain arch-vis:Point ;
279
+ rdfs:range xsd:double ;
280
+ .
281
+
282
+ arch-vis:point-y
283
+ a owl:DatatypeProperty,
284
+ owl:FunctionalProperty ;
285
+ rdfs:label ""@en ;
286
+ rdfs:comment ""@en ;
287
+ rdfs:domain arch-vis:Point ;
288
+ rdfs:range xsd:double ;
289
+ .
290
+
291
+ arch-vis:points
292
+ a owl:ObjectProperty ;
293
+ rdfs:label "points"@en ;
294
+ rdfs:comment '''The ordered list of points of a link's route, in the diagram's coordinates. The
295
+ first and last are its ends — where it meets its nodes — when they lie on their nodes' outlines;
296
+ otherwise they are bends, and the line runs from each node to them, meeting the node's outline
297
+ where a line laid out without them would. A route of bends alone is how the ArchiMate exchange
298
+ format has it; a route with its ends, how BPMN DI has it. One point is one bend.'''@en ;
299
+ rdfs:domain arch-vis:Link ;
300
+ rdfs:range arch-vis:PointList ;
301
+ .
302
+
303
+ arch-vis:label
304
+ a owl:ObjectProperty ;
305
+ rdfs:label "label"@en ;
306
+ rdfs:comment '''The LabelNode carrying this diagram element's rendered text.
307
+ Domain is DiagElement, not Node: both shapes and edges are labellable. BPMN declares
308
+ BPMNShape-label and BPMNEdge-label as separate composite properties, and a named
309
+ sequence flow — an edge with a label — is the ordinary case, not an edge case. Narrowing
310
+ the domain to Node would entail, through the domain axiom, that every labelled edge is
311
+ also a Node, which arch-vis:NodeLinkPointDisjoint now reports as an inconsistency.'''@en ;
312
+ rdfs:domain arch-vis:DiagElement ;
313
+ rdfs:range arch-vis:LabelNode
314
+ .
315
+
316
+ arch-vis:archElement
317
+ a owl:ObjectProperty,
318
+ owl:FunctionalProperty ;
319
+ rdfs:label "archElement"@en ;
320
+ rdfs:comment ""@en ;
321
+ rdfs:domain arch-vis:ArchNode ;
322
+ rdfs:range arch:Element ;
323
+ .
324
+
325
+
326
+ arch-vis:archRelationship
327
+ a owl:ObjectProperty,
328
+ owl:FunctionalProperty ;
329
+ rdfs:label "archRelationship"@en ;
330
+ rdfs:comment '''Links a diagram Link to the qualified relationship resource it represents.
331
+ Absent, the Link stands for no relationship: a line drawn on the diagram only.'''@en ;
332
+ rdfs:domain arch-vis:Link ;
333
+ rdfs:range arch:QualifiedRelationship ;
334
+ .
335
+
336
+ arch-vis:referencesView
337
+ a owl:ObjectProperty,
338
+ owl:FunctionalProperty ;
339
+ rdfs:label "referencesView"@en ;
340
+ rdfs:comment '''The view a ViewReferenceNode stands for and opens, as arch-vis:archElement names the
341
+ element an ArchNode stands for. Not the view the node is drawn in, which is its arch-vis:view. The
342
+ ArchiMate exchange format allows a viewRef, a drill-down, on any node or connection; only a Label
343
+ node's makes a ViewReferenceNode, and a drill-down from an element's box or from a line is not this
344
+ property's.'''@en ;
345
+ rdfs:domain arch-vis:ViewReferenceNode ;
346
+ rdfs:range arch:View ;
347
+ .
348
+
349
+ arch-vis:source
350
+ a owl:ObjectProperty,
351
+ owl:FunctionalProperty ;
352
+ rdfs:label "source"@en ;
353
+ rdfs:comment '''The diagram element a Link starts from: a Node, or another Link where the
354
+ relationship the Link draws starts at a relationship.'''@en ;
355
+ rdfs:domain arch-vis:Link ;
356
+ rdfs:range arch-vis:DiagElement ;
357
+ .
358
+
359
+ arch-vis:target
360
+ a owl:ObjectProperty,
361
+ owl:FunctionalProperty ;
362
+ rdfs:label "target"@en ;
363
+ rdfs:comment '''The diagram element a Link ends at: a Node, or another Link where the
364
+ relationship the Link draws ends at a relationship.'''@en ;
365
+ rdfs:domain arch-vis:Link ;
366
+ rdfs:range arch-vis:DiagElement ;
367
+ .
368
+
369
+ #TODO link all elements to arch:View ... or use quads ?
370
+
371
+ arch-vis:view
372
+ a owl:ObjectProperty,
373
+ owl:FunctionalProperty ;
374
+ rdfs:label "view"@en ;
375
+ rdfs:comment "The arch:View this diagram element belongs to. Every DiagElement has exactly one."@en ;
376
+ rdfs:domain arch-vis:DiagElement ;
377
+ rdfs:range arch:View ;
378
+ .
379
+
380
+ arch-vis:inNode
381
+ a owl:ObjectProperty,
382
+ owl:FunctionalProperty ;
383
+ rdfs:label "inNode"@en ;
384
+ rdfs:comment '''The node this one is drawn inside, on the same diagram: a container. Moving the
385
+ container moves what is in it, and it stays large enough to hold it. Stated by the nested
386
+ node, as membership is (arch:inView). Bounds stay in the diagram's coordinates, not the
387
+ container's. Nesting is drawing: what it means in the model, if anything, is a relationship of
388
+ its own (see arch-vis:nestedEnd).'''@en ;
389
+ rdfs:domain arch-vis:Node ;
390
+ rdfs:range arch-vis:Node ;
391
+ .
392
+
393
+ arch-vis:zOrder
394
+ a owl:DatatypeProperty,
395
+ owl:FunctionalProperty ;
396
+ rdfs:label "zOrder"@en ;
397
+ rdfs:comment '''Where a node is drawn among the nodes drawn in the same place — the view's top level, or
398
+ inside the same container (arch-vis:inNode): above those with a lower zOrder, below those with a higher.
399
+ Absent, it is 0. Nodes with the same zOrder are drawn in the order of their IRIs (by code point), the
400
+ later above, so that every tool draws them alike. Only the order counts, not the numbers: bringing a node
401
+ to the front gives it one more than the highest beside it, sending it to the back one less than the
402
+ lowest. A nested node is drawn above its container, whatever either's zOrder; where lines go is the
403
+ tool's. The ArchiMate exchange format draws a view's nodes in the order its file lists them, the last
404
+ above: a converter keeps that order as zOrder.'''@en ;
405
+ rdfs:domain arch-vis:Node ;
406
+ rdfs:range xsd:integer ;
407
+ .
408
+
409
+ # Style
410
+
411
+ arch-vis:Style
412
+ a owl:Class ;
413
+ rdfs:label "Style"@en ;
414
+ rdfs:comment "Visual style applied to a diagram element (fill, line, font)."@en ;
415
+ .
416
+
417
+ arch-vis:style
418
+ a owl:ObjectProperty ;
419
+ rdfs:label "style"@en ;
420
+ rdfs:comment '''How a diagram element looks. It has at most one style for every presentation context — one
421
+ without core's arch:inPresentationContext — and at most one for each context. Drawn for a context, it
422
+ takes its style for every context, overlaid value by value by its style for that context; drawn for none,
423
+ its style for every context alone. A diagram element with one style looks the same to everyone.'''@en ;
424
+ rdfs:domain arch-vis:DiagElement ;
425
+ rdfs:range arch-vis:Style ;
426
+ .
427
+
428
+ arch-vis:fillColor
429
+ a owl:DatatypeProperty,
430
+ owl:FunctionalProperty ;
431
+ rdfs:label "fillColor"@en ;
432
+ rdfs:comment '''A CSS colour string — #rrggbb, #rrggbbaa, rgb() or rgba(), e.g. #fff7b3, or
433
+ rgba(255,247,179,0.5) half transparent. Its alpha is CSS's, from 0 (transparent) to 1 (opaque); opaque
434
+ when it has none. Converters before core-vis 0.7 wrote the ArchiMate exchange format's alpha as it is,
435
+ a percentage (rgba(255,247,179,100)); a reader may take an alpha above 1 as one.'''@en ;
436
+ rdfs:domain arch-vis:Style ;
437
+ rdfs:range xsd:string ;
438
+ .
439
+
440
+ arch-vis:lineColor
441
+ a owl:DatatypeProperty,
442
+ owl:FunctionalProperty ;
443
+ rdfs:label "lineColor"@en ;
444
+ rdfs:comment "A CSS colour string, its alpha CSS's (0–1), as arch-vis:fillColor's."@en ;
445
+ rdfs:domain arch-vis:Style ;
446
+ rdfs:range xsd:string ;
447
+ .
448
+
449
+ arch-vis:fontName
450
+ a owl:DatatypeProperty,
451
+ owl:FunctionalProperty ;
452
+ rdfs:label "fontName"@en ;
453
+ rdfs:domain arch-vis:Style ;
454
+ rdfs:range xsd:string ;
455
+ .
456
+
457
+ arch-vis:fontSize
458
+ a owl:DatatypeProperty,
459
+ owl:FunctionalProperty ;
460
+ rdfs:label "fontSize"@en ;
461
+ rdfs:domain arch-vis:Style ;
462
+ rdfs:range xsd:integer ;
463
+ .
464
+
465
+ arch-vis:fontColor
466
+ a owl:DatatypeProperty,
467
+ owl:FunctionalProperty ;
468
+ rdfs:label "fontColor"@en ;
469
+ rdfs:comment '''Colour of the element's label, as a CSS colour string (its alpha CSS's, as
470
+ arch-vis:fillColor's). When it is absent a renderer draws the label in the line colour
471
+ (arch-vis:lineColor).'''@en ;
472
+ rdfs:domain arch-vis:Style ;
473
+ rdfs:range xsd:string ;
474
+ .
475
+
476
+ arch-vis:gradient
477
+ a owl:ObjectProperty,
478
+ owl:FunctionalProperty ;
479
+ rdfs:label "gradient"@en ;
480
+ rdfs:comment '''The fill shades from its colour (arch-vis:fillColor) at the side named
481
+ (arch-vis:GradientTop, GradientLeft, GradientRight, GradientBottom) to white at the opposite side.
482
+ Absent, the fill is all one colour.'''@en ;
483
+ rdfs:domain arch-vis:Style ;
484
+ rdfs:range arch-vis:Gradient ;
485
+ .
486
+
487
+ arch-vis:iconColor
488
+ a owl:DatatypeProperty,
489
+ owl:FunctionalProperty ;
490
+ rdfs:label "iconColor"@en ;
491
+ rdfs:comment '''Colour of the glyph drawn for an element (arch-vis:iconSymbol) — its badge, or its icon —
492
+ as a CSS colour string: the glyph's opaque lines are drawn in it. Absent, the glyph is drawn as
493
+ published.'''@en ;
494
+ rdfs:domain arch-vis:Style ;
495
+ rdfs:range xsd:string ;
496
+ .
497
+
498
+ arch-vis:fontStyle
499
+ a owl:DatatypeProperty,
500
+ owl:FunctionalProperty ;
501
+ rdfs:label "fontStyle"@en ;
502
+ rdfs:comment '''How the text is set: one or more of the keywords bold, italic and underline,
503
+ separated by spaces ("bold", "bold italic"), as the ArchiMate exchange format's font style lists
504
+ them. Plain when absent.'''@en ;
505
+ rdfs:domain arch-vis:Style ;
506
+ rdfs:range xsd:string ;
507
+ .
508
+
509
+ arch-vis:lineWidth
510
+ a owl:DatatypeProperty,
511
+ owl:FunctionalProperty ;
512
+ rdfs:label "lineWidth"@en ;
513
+ rdfs:comment '''Width of the lines drawn — a node's outline, a link's line — in the diagram's
514
+ units, as its bounds are. 1 when absent; 1, 2 and 3 are a normal, medium and heavy line, the values
515
+ the exchange format's style lineWidth carries.'''@en ;
516
+ rdfs:domain arch-vis:Style ;
517
+ rdfs:range xsd:integer ;
518
+ .
519
+
520
+ arch-vis:textAlignment
521
+ a owl:ObjectProperty,
522
+ owl:FunctionalProperty ;
523
+ rdfs:label "textAlignment"@en ;
524
+ rdfs:comment '''Where a node's text sits across it: from its left, centred, or to its right.
525
+ Absent, the renderer's choice — centred, for an element.'''@en ;
526
+ rdfs:domain arch-vis:Style ;
527
+ rdfs:range arch-vis:TextAlignment ;
528
+ .
529
+
530
+ arch-vis:textPosition
531
+ a owl:ObjectProperty,
532
+ owl:FunctionalProperty ;
533
+ rdfs:label "textPosition"@en ;
534
+ rdfs:comment '''Where a node's text sits down it: from its top, in its middle, or at its bottom.
535
+ Absent, the renderer's choice.'''@en ;
536
+ rdfs:domain arch-vis:Style ;
537
+ rdfs:range arch-vis:TextPosition ;
538
+ .
539
+
540
+ arch-vis:labelAnchor
541
+ a owl:ObjectProperty,
542
+ owl:FunctionalProperty ;
543
+ rdfs:label "labelAnchor"@en ;
544
+ rdfs:comment '''Where along a line its text sits — a relationship's name, or what a line standing for no
545
+ relationship says: near its source end, at its middle, or near its target end. Of a relationship type's
546
+ lines, said on its notation or its notation's default style; of one line, on that Link's own style
547
+ (arch-vis:style). Absent, at the middle. Where the Link has an arch-vis:label — its text moved by hand
548
+ — the text is drawn there.'''@en ;
549
+ arch:domainIncludes arch-vis:VisualNotation, arch-vis:Style ;
550
+ rdfs:range arch-vis:LabelAnchor ;
551
+ .
552
+
553
+
554
+ #################################################################
555
+ # Extended Style Properties (structural)
556
+ #################################################################
557
+
558
+ arch-vis:shapeType
559
+ a owl:ObjectProperty,
560
+ owl:FunctionalProperty ;
561
+ rdfs:label "shapeType"@en ;
562
+ rdfs:comment "The geometric shape used to render the element (e.g., rounded rectangle, hexagon, circle)."@en ;
563
+ rdfs:domain arch-vis:Style ;
564
+ rdfs:range arch-vis:ShapeType ;
565
+ .
566
+
567
+ arch-vis:iconSymbol
568
+ a owl:DatatypeProperty,
569
+ owl:FunctionalProperty ;
570
+ rdfs:label "iconSymbol"@en ;
571
+ rdfs:comment '''URI of the small glyph/icon displayed within the element shape (typically top-right corner).
572
+ The glyph is drawn over the shape as it is: its lines are opaque and the parts that show the element's
573
+ fill are transparent, so one glyph serves every fill colour and notation set. On a diagram element's own
574
+ style (arch-vis:style) it is that element's own icon, in place of its notation's glyph: a picture drawn
575
+ as the figure itself with arch-vis:IconCentric, or as its badge with arch-vis:ShapeWithBadge. A diagram
576
+ element drawn arch-vis:IconCentric with no icon of its own shows its model element's picture for the
577
+ presentation context shown, when it has one (see arch-vis:IconCentric); one whose style says
578
+ arch-vis:useElementPicture shows it as its badge too.'''@en ;
579
+ rdfs:domain arch-vis:Style ;
580
+ rdfs:range xsd:anyURI ;
581
+ .
582
+
583
+ arch-vis:useElementPicture
584
+ a owl:DatatypeProperty,
585
+ owl:FunctionalProperty ;
586
+ rdfs:label "useElementPicture"@en ;
587
+ rdfs:comment '''On a diagram element's own style (arch-vis:style), true: its icon is its model element's
588
+ picture for the presentation context shown — core's arch:altVisNotation with that
589
+ arch:inPresentationContext, else its arch:prefVisNotation — in place of its notation's glyph: its badge,
590
+ drawn arch-vis:ShapeWithBadge, or its figure, drawn arch-vis:IconCentric. The picture is followed, not
591
+ copied: a new picture, or another context chosen, is drawn as it is. An arch-vis:iconSymbol of its own
592
+ comes first; with no picture for the element, the notation's glyph. Where it is absent, a diagram element
593
+ drawn IconCentric with no icon of its own shows the picture as its figure all the same, and one drawn as
594
+ a box shows it inside (see arch-vis:IconCentric).'''@en ;
595
+ rdfs:domain arch-vis:Style ;
596
+ rdfs:range xsd:boolean ;
597
+ skos:example '''A diagram element whose badge, for executives, is its element's picture for them:
598
+
599
+ ex:node-1-style-exec a arch-vis:Style ;
600
+ arch:inPresentationContext ctx:Executive ;
601
+ arch-vis:renderingMode arch-vis:ShapeWithBadge ;
602
+ arch-vis:useElementPicture true .'''@en ;
603
+ .
604
+
605
+ arch-vis:iconPlacement
606
+ a owl:ObjectProperty,
607
+ owl:FunctionalProperty ;
608
+ rdfs:label "iconPlacement"@en ;
609
+ rdfs:comment "Where the icon symbol is placed within the element shape."@en ;
610
+ rdfs:domain arch-vis:Style ;
611
+ rdfs:range arch-vis:IconPlacement ;
612
+ .
613
+
614
+ arch-vis:image
615
+ a owl:DatatypeProperty,
616
+ owl:FunctionalProperty ;
617
+ rdfs:label "image"@en ;
618
+ rdfs:comment '''URI of a picture drawn inside a node, at arch-vis:imagePosition: over its fill, under its
619
+ text and its glyph. An http(s) URL, or a data: URI of an image for a small picture kept in the
620
+ model. The picture is drawn at its own size, made smaller to fit the node; at arch-vis:Fill, scaled
621
+ to the node's bounds. The node's glyph is drawn as its rendering mode says. A picture standing for the
622
+ figure itself is the node's own arch-vis:iconSymbol, drawn arch-vis:IconCentric. A node drawn as a box
623
+ with no image of its own, and no icon of its own, shows its model element's picture for the presentation
624
+ context shown here — at its arch-vis:imagePosition — when it has one (see arch-vis:IconCentric).'''@en ;
625
+ rdfs:domain arch-vis:Style ;
626
+ rdfs:range xsd:anyURI ;
627
+ .
628
+
629
+ arch-vis:imagePosition
630
+ a owl:ObjectProperty,
631
+ owl:FunctionalProperty ;
632
+ rdfs:label "imagePosition"@en ;
633
+ rdfs:comment '''Where a node's picture (arch-vis:image) is drawn in it: a corner, the middle of a side, its
634
+ centre, or arch-vis:Fill, the whole node. Absent, its top left.'''@en ;
635
+ rdfs:domain arch-vis:Style ;
636
+ rdfs:range arch-vis:IconPlacement ;
637
+ .
638
+
639
+ arch-vis:defaultWidth
640
+ a owl:DatatypeProperty,
641
+ owl:FunctionalProperty ;
642
+ rdfs:label "defaultWidth"@en ;
643
+ rdfs:comment "Default width in logical units for palette rendering."@en ;
644
+ rdfs:domain arch-vis:Style ;
645
+ rdfs:range xsd:double ;
646
+ .
647
+
648
+ arch-vis:defaultHeight
649
+ a owl:DatatypeProperty,
650
+ owl:FunctionalProperty ;
651
+ rdfs:label "defaultHeight"@en ;
652
+ rdfs:comment "Default height in logical units for palette rendering."@en ;
653
+ rdfs:domain arch-vis:Style ;
654
+ rdfs:range xsd:double ;
655
+ .
656
+
657
+ arch-vis:renderingMode
658
+ a owl:ObjectProperty,
659
+ owl:FunctionalProperty ;
660
+ rdfs:label "renderingMode"@en ;
661
+ rdfs:comment '''How the element is visually composed from its shape and icon.
662
+ Determines the rendering algorithm a tool should use:
663
+ - ShapeWithBadge: colored shape with a small icon badge (ArchiMate standard)
664
+ - IconCentric: the icon IS the element, label rendered below (AWS/Azure/GCP style)
665
+ - ShapeOnly: colored shape with label, no icon (simplified notation)'''@en ;
666
+ rdfs:domain arch-vis:Style ;
667
+ rdfs:range arch-vis:RenderingMode ;
668
+ .
669
+
670
+ arch-vis:borderStyle
671
+ a owl:ObjectProperty,
672
+ owl:FunctionalProperty ;
673
+ rdfs:label "borderStyle"@en ;
674
+ rdfs:comment "The line style of the shape's outline: solid when absent. ArchiMate's grouping is dashed."@en ;
675
+ rdfs:domain arch-vis:Style ;
676
+ rdfs:range arch-vis:LineStyle ;
677
+ .
678
+
679
+
680
+ #################################################################
681
+ # ShapeType Individuals
682
+ #################################################################
683
+
684
+ arch-vis:ShapeType
685
+ a owl:Class ;
686
+ rdfs:label "ShapeType"@en ;
687
+ rdfs:comment '''Geometric shapes used for element rendering. The individuals below are drawn by every
688
+ renderer; a notation declares any other shape it needs in its own namespace, with a fallback and
689
+ its geometry (see arch-vis:fallbackShape).'''@en ;
690
+ .
691
+
692
+ arch-vis:RoundedRectangle
693
+ a arch-vis:ShapeType ;
694
+ rdfs:label "Rounded Rectangle"@en ;
695
+ rdfs:comment "Rectangle with rounded corners — the default ArchiMate element shape."@en ;
696
+ .
697
+
698
+ arch-vis:Rectangle
699
+ a arch-vis:ShapeType ;
700
+ rdfs:label "Rectangle"@en ;
701
+ rdfs:comment "Sharp-cornered rectangle."@en ;
702
+ .
703
+
704
+ arch-vis:Octagon
705
+ a arch-vis:ShapeType ;
706
+ rdfs:label "Octagon"@en ;
707
+ rdfs:comment "Eight-sided polygon — used for motivation elements in some notations."@en ;
708
+ .
709
+
710
+ arch-vis:Ellipse
711
+ a arch-vis:ShapeType ;
712
+ rdfs:label "Ellipse"@en ;
713
+ rdfs:comment "Oval/ellipse shape — used for values, junctions."@en ;
714
+ .
715
+
716
+ arch-vis:Circle
717
+ a arch-vis:ShapeType ;
718
+ rdfs:label "Circle"@en ;
719
+ rdfs:comment "Perfect circle — used for junctions and connectors."@en ;
720
+ .
721
+
722
+ arch-vis:Hexagon
723
+ a arch-vis:ShapeType ;
724
+ rdfs:label "Hexagon"@en ;
725
+ rdfs:comment "Six-sided polygon — used for events in some notations."@en ;
726
+ .
727
+
728
+ arch-vis:Diamond
729
+ a arch-vis:ShapeType ;
730
+ rdfs:label "Diamond"@en ;
731
+ rdfs:comment "Rotated square — used for decision points."@en ;
732
+ .
733
+
734
+ arch-vis:Parallelogram
735
+ a arch-vis:ShapeType ;
736
+ rdfs:label "Parallelogram"@en ;
737
+ rdfs:comment "Slanted rectangle — used for interfaces in some notations."@en ;
738
+ .
739
+
740
+ # A notation's own shapes
741
+ #
742
+ # The individuals above are the shapes every renderer draws natively. A notation
743
+ # that needs another shape declares it in its own notation file: an
744
+ # arch-vis:ShapeType individual in its namespace with an arch-vis:fallbackShape
745
+ # (one of the shapes above, drawn by a renderer that cannot draw this one) and
746
+ # its geometry as path templates, so any renderer can draw it from the data.
747
+ #
748
+ # A template is SVG path data in absolute commands (M L H V C S Q T A Z), in the
749
+ # shape's own coordinates — (0,0) top left, (w,h) bottom right — where any number
750
+ # may be written as {expression}. An expression uses numbers, w, h and the
751
+ # shape's variables, + - * / and parentheses, and the functions min() and max().
752
+ # Example: M0,{d} L{d},0 L{w},0 with the variable d = min(h * 0.2, 12).
753
+
754
+ arch-vis:fallbackShape
755
+ a owl:ObjectProperty,
756
+ owl:FunctionalProperty ;
757
+ rdfs:label "fallbackShape"@en ;
758
+ rdfs:comment '''The core shape (RoundedRectangle, Rectangle, Octagon, Ellipse, Circle, Hexagon, Diamond or
759
+ Parallelogram) a renderer draws in place of a notation's own shape when it cannot draw that one.'''@en ;
760
+ rdfs:domain arch-vis:ShapeType ;
761
+ rdfs:range arch-vis:ShapeType ;
762
+ .
763
+
764
+ arch-vis:shapeVariables
765
+ a owl:DatatypeProperty,
766
+ owl:FunctionalProperty ;
767
+ rdfs:label "shapeVariables"@en ;
768
+ rdfs:comment '''Named values a shape's templates use, as assignments separated by semicolons and evaluated
769
+ in order, each able to use the ones before it: "b = min(h * 0.173, 14); t = 2 * b".'''@en ;
770
+ rdfs:domain arch-vis:ShapeType ;
771
+ rdfs:range xsd:string ;
772
+ .
773
+
774
+ arch-vis:outlinePath
775
+ a owl:DatatypeProperty,
776
+ owl:FunctionalProperty ;
777
+ rdfs:label "outlinePath"@en ;
778
+ rdfs:comment '''The shape's outline, as a path template: filled with the element's fill colour, stroked with
779
+ its line colour, and what connectors meet. It may have several closed parts (a person's head and
780
+ body).'''@en ;
781
+ rdfs:domain arch-vis:ShapeType ;
782
+ rdfs:range xsd:string ;
783
+ .
784
+
785
+ arch-vis:detailPath
786
+ a owl:DatatypeProperty,
787
+ owl:FunctionalProperty ;
788
+ rdfs:label "detailPath"@en ;
789
+ rdfs:comment '''Lines drawn over the outline, as a path template — a band, a tab, a 3D box's front edges, a
790
+ cylinder's rim: stroked with the line colour, not filled, and not part of the outline connectors
791
+ meet.'''@en ;
792
+ rdfs:domain arch-vis:ShapeType ;
793
+ rdfs:range xsd:string ;
794
+ .
795
+
796
+ arch-vis:contentBox
797
+ a owl:DatatypeProperty,
798
+ owl:FunctionalProperty ;
799
+ rdfs:label "contentBox"@en ;
800
+ rdfs:comment '''Where the badge and the label go: "x y width height", each a number or an {expression}
801
+ (below a band, on a 3D box's front face). The whole shape when absent.'''@en ;
802
+ rdfs:domain arch-vis:ShapeType ;
803
+ rdfs:range xsd:string ;
804
+ .
805
+
806
+ arch-vis:labelBox
807
+ a owl:DatatypeProperty,
808
+ owl:FunctionalProperty ;
809
+ rdfs:label "labelBox"@en ;
810
+ rdfs:comment '''Where the label goes when that is not the content box, as "x y width height": a folder's
811
+ name in its tab. The label takes as many lines as the box is tall enough for.'''@en ;
812
+ rdfs:domain arch-vis:ShapeType ;
813
+ rdfs:range xsd:string ;
814
+ .
815
+
816
+
817
+
818
+ #################################################################
819
+ # IconPlacement Individuals
820
+ #################################################################
821
+
822
+ arch-vis:IconPlacement
823
+ a owl:Class ;
824
+ rdfs:label "IconPlacement"@en ;
825
+ rdfs:comment '''Enumeration of positions within a shape: where its icon is placed (arch-vis:iconPlacement),
826
+ or its picture (arch-vis:imagePosition).'''@en ;
827
+ .
828
+
829
+ arch-vis:TopRight
830
+ a arch-vis:IconPlacement ;
831
+ rdfs:label "Top Right"@en ;
832
+ rdfs:comment "Icon placed in the top-right corner of the shape (ArchiMate default)."@en ;
833
+ .
834
+
835
+ arch-vis:TopLeft
836
+ a arch-vis:IconPlacement ;
837
+ rdfs:label "Top Left"@en ;
838
+ rdfs:comment "Icon placed in the top-left corner of the shape."@en ;
839
+ .
840
+
841
+ arch-vis:TopCenter
842
+ a arch-vis:IconPlacement ;
843
+ rdfs:label "Top Center"@en ;
844
+ rdfs:comment "Icon placed at the top center of the shape."@en ;
845
+ .
846
+
847
+ arch-vis:Center
848
+ a arch-vis:IconPlacement ;
849
+ rdfs:label "Center"@en ;
850
+ rdfs:comment "Icon placed at the center of the shape."@en ;
851
+ .
852
+
853
+ arch-vis:BottomCenter
854
+ a arch-vis:IconPlacement ;
855
+ rdfs:label "Bottom Center"@en ;
856
+ rdfs:comment "Icon placed at the bottom center of the shape."@en ;
857
+ .
858
+
859
+ arch-vis:MiddleLeft
860
+ a arch-vis:IconPlacement ;
861
+ rdfs:label "Middle Left"@en ;
862
+ rdfs:comment "Placed at the middle of the shape's left side."@en ;
863
+ .
864
+
865
+ arch-vis:MiddleRight
866
+ a arch-vis:IconPlacement ;
867
+ rdfs:label "Middle Right"@en ;
868
+ rdfs:comment "Placed at the middle of the shape's right side."@en ;
869
+ .
870
+
871
+ arch-vis:BottomLeft
872
+ a arch-vis:IconPlacement ;
873
+ rdfs:label "Bottom Left"@en ;
874
+ rdfs:comment "Placed in the bottom-left corner of the shape."@en ;
875
+ .
876
+
877
+ arch-vis:BottomRight
878
+ a arch-vis:IconPlacement ;
879
+ rdfs:label "Bottom Right"@en ;
880
+ rdfs:comment "Placed in the bottom-right corner of the shape."@en ;
881
+ .
882
+
883
+ arch-vis:Fill
884
+ a arch-vis:IconPlacement ;
885
+ rdfs:label "Fill"@en ;
886
+ rdfs:comment "Scaled to the shape's bounds, filling it: a node's picture (arch-vis:imagePosition)."@en ;
887
+ .
888
+
889
+
890
+ #################################################################
891
+ # Gradient Individuals
892
+ #################################################################
893
+
894
+ arch-vis:Gradient
895
+ a owl:Class ;
896
+ rdfs:label "Gradient"@en ;
897
+ rdfs:comment "Enumeration of the sides a fill shades from (arch-vis:gradient)."@en ;
898
+ .
899
+
900
+ arch-vis:GradientTop
901
+ a arch-vis:Gradient ;
902
+ rdfs:label "Gradient Top"@en ;
903
+ rdfs:comment "The fill colour at the top, white at the bottom."@en ;
904
+ .
905
+
906
+ arch-vis:GradientLeft
907
+ a arch-vis:Gradient ;
908
+ rdfs:label "Gradient Left"@en ;
909
+ rdfs:comment "The fill colour at the left, white at the right."@en ;
910
+ .
911
+
912
+ arch-vis:GradientRight
913
+ a arch-vis:Gradient ;
914
+ rdfs:label "Gradient Right"@en ;
915
+ rdfs:comment "The fill colour at the right, white at the left."@en ;
916
+ .
917
+
918
+ arch-vis:GradientBottom
919
+ a arch-vis:Gradient ;
920
+ rdfs:label "Gradient Bottom"@en ;
921
+ rdfs:comment "The fill colour at the bottom, white at the top."@en ;
922
+ .
923
+
924
+
925
+ #################################################################
926
+ # TextAlignment and TextPosition Individuals
927
+ #################################################################
928
+
929
+ arch-vis:TextAlignment
930
+ a owl:Class ;
931
+ rdfs:label "TextAlignment"@en ;
932
+ rdfs:comment "Enumeration of where a node's text sits across it (arch-vis:textAlignment)."@en ;
933
+ .
934
+
935
+ arch-vis:AlignLeft
936
+ a arch-vis:TextAlignment ;
937
+ rdfs:label "Align Left"@en ;
938
+ rdfs:comment "Each line of the text starts at the node's left."@en ;
939
+ .
940
+
941
+ arch-vis:AlignCenter
942
+ a arch-vis:TextAlignment ;
943
+ rdfs:label "Align Center"@en ;
944
+ rdfs:comment "Each line of the text is centred across the node."@en ;
945
+ .
946
+
947
+ arch-vis:AlignRight
948
+ a arch-vis:TextAlignment ;
949
+ rdfs:label "Align Right"@en ;
950
+ rdfs:comment "Each line of the text ends at the node's right."@en ;
951
+ .
952
+
953
+ arch-vis:TextPosition
954
+ a owl:Class ;
955
+ rdfs:label "TextPosition"@en ;
956
+ rdfs:comment "Enumeration of where a node's text sits down it (arch-vis:textPosition)."@en ;
957
+ .
958
+
959
+ arch-vis:PositionTop
960
+ a arch-vis:TextPosition ;
961
+ rdfs:label "Position Top"@en ;
962
+ rdfs:comment "The text starts at the node's top."@en ;
963
+ .
964
+
965
+ arch-vis:PositionMiddle
966
+ a arch-vis:TextPosition ;
967
+ rdfs:label "Position Middle"@en ;
968
+ rdfs:comment "The text is centred down the node."@en ;
969
+ .
970
+
971
+ arch-vis:PositionBottom
972
+ a arch-vis:TextPosition ;
973
+ rdfs:label "Position Bottom"@en ;
974
+ rdfs:comment "The text ends at the node's bottom."@en ;
975
+ .
976
+
977
+
978
+ #################################################################
979
+ # LabelAnchor Individuals
980
+ #################################################################
981
+
982
+ arch-vis:LabelAnchor
983
+ a owl:Class ;
984
+ rdfs:label "LabelAnchor"@en ;
985
+ rdfs:comment "Enumeration of where along a line its text sits (arch-vis:labelAnchor)."@en ;
986
+ .
987
+
988
+ arch-vis:AnchorSource
989
+ a arch-vis:LabelAnchor ;
990
+ rdfs:label "Anchor Source"@en ;
991
+ rdfs:comment "The text sits on the line near its source end."@en ;
992
+ .
993
+
994
+ arch-vis:AnchorMiddle
995
+ a arch-vis:LabelAnchor ;
996
+ rdfs:label "Anchor Middle"@en ;
997
+ rdfs:comment "The text sits at the middle of the line."@en ;
998
+ .
999
+
1000
+ arch-vis:AnchorTarget
1001
+ a arch-vis:LabelAnchor ;
1002
+ rdfs:label "Anchor Target"@en ;
1003
+ rdfs:comment "The text sits on the line near its target end."@en ;
1004
+ .
1005
+
1006
+
1007
+ #################################################################
1008
+ # RenderingMode Individuals
1009
+ #################################################################
1010
+
1011
+ arch-vis:RenderingMode
1012
+ a owl:Class ;
1013
+ rdfs:label "RenderingMode"@en ;
1014
+ skos:prefLabel "Rendering Mode"@en ;
1015
+ skos:definition '''Determines how a tool visually composes an element from its shape and icon. Each mode specifies a different rendering algorithm.'''@en ;
1016
+ skos:scopeNote '''A tool implementing element rendering MUST select the algorithm based on the renderingMode value on the Style.
1017
+
1018
+ ## Algorithm by Mode
1019
+
1020
+ ### ShapeWithBadge (default)
1021
+ 1. Draw shape (shapeType) at defaultWidth × defaultHeight
1022
+ 2. Fill with fillColor, stroke with lineColor
1023
+ 3. Center the label (skos:prefLabel) in the shape
1024
+ 4. If iconSymbol present: render as small badge (16-24px) at iconPlacement position
1025
+ 5. If iconSymbol absent: render as ShapeOnly (graceful degradation)
1026
+
1027
+ ### IconCentric
1028
+ 1. Render iconSymbol at full size (defaultWidth × defaultHeight), centered
1029
+ 2. Draw minimal container/border (optional, for selection state) using lineColor
1030
+ 3. Render label BELOW the icon, not inside a shape
1031
+ 4. fillColor applies to container background only (often transparent)
1032
+ 5. Requires iconSymbol — if absent, fall back to ShapeOnly with warning
1033
+
1034
+ ### ShapeOnly
1035
+ 1. Draw shape (shapeType) at defaultWidth × defaultHeight
1036
+ 2. Fill with fillColor, stroke with lineColor
1037
+ 3. Center the label in the shape
1038
+ 4. Ignore iconSymbol and iconPlacement entirely
1039
+
1040
+ ## Fallback Behavior
1041
+ - renderingMode absent → default to ShapeWithBadge
1042
+ - ShapeWithBadge without iconSymbol → render as ShapeOnly
1043
+ - IconCentric without iconSymbol → log warning, fall back to ShapeOnly
1044
+ - iconPlacement absent but iconSymbol present → default to TopRight'''@en ;
1045
+ rdfs:comment "How the element is visually composed from its shape and icon. See skos:scopeNote for the rendering algorithm."@en ;
1046
+ .
1047
+
1048
+ arch-vis:ShapeWithBadge
1049
+ a arch-vis:RenderingMode ;
1050
+ rdfs:label "Shape with Badge"@en ;
1051
+ skos:prefLabel "Shape with Badge"@en ;
1052
+ skos:definition '''Colored geometric shape with a small icon badge in one corner and the element label centered. The shape and fill color carry the primary visual identity; the icon is a secondary classifier.'''@en ;
1053
+ skos:scopeNote '''Algorithm:
1054
+ 1. Draw shape (shapeType) at defaultWidth × defaultHeight
1055
+ 2. Fill with fillColor, stroke with lineColor
1056
+ 3. Center the label (skos:prefLabel) in the shape
1057
+ 4. Render iconSymbol as a small badge (16-24px) at iconPlacement position
1058
+ 5. If no iconSymbol → render as ShapeOnly (no badge)
1059
+
1060
+ Visual layout:
1061
+ ┌──────────────────────┐
1062
+ │ [⚙] │ ← iconSymbol at iconPlacement (e.g., TopRight)
1063
+ │ │
1064
+ │ Element Label │ ← skos:prefLabel, centered
1065
+ │ │
1066
+ └──────────────────────┘
1067
+ filled with fillColor
1068
+
1069
+ Used by: ArchiMate, BPMN, UML standard notations.'''@en ;
1070
+ .
1071
+
1072
+ arch-vis:IconCentric
1073
+ a arch-vis:RenderingMode ;
1074
+ rdfs:label "Icon-Centric"@en ;
1075
+ skos:prefLabel "Icon-Centric"@en ;
1076
+ skos:definition '''The icon IS the element — rendered at full size with the label below. Used for vendor icon sets (AWS, Azure, GCP, Kubernetes) where the icon itself is the primary visual identity.'''@en ;
1077
+ skos:scopeNote '''Algorithm:
1078
+ 1. Render iconSymbol at full size (defaultWidth × defaultHeight) centered in bounds
1079
+ 2. Draw minimal container/border (optional, for selection/hover state) using lineColor
1080
+ 3. Render label (skos:prefLabel) BELOW the icon, not inside a shape
1081
+ 4. fillColor applies to container background only (often transparent/white)
1082
+ 5. iconPlacement MUST be Center for this mode
1083
+
1084
+ Visual layout:
1085
+ ┌────────┐
1086
+ │ [☁️] │ ← iconSymbol rendered at full size
1087
+ └────────┘
1088
+ Element Label ← label below, not inside shape
1089
+
1090
+ Requires: iconSymbol MUST be present. If absent, fall back to ShapeOnly with warning.
1091
+ Used by: AWS Architecture Icons, Azure service icons, GCP icons, Kubernetes.
1092
+
1093
+ The icon of a diagram element drawn so, in this order: the arch-vis:iconSymbol of its own style (for the
1094
+ presentation context shown, else for every context); its model element's picture for that context —
1095
+ its core arch:altVisNotation with that arch:inPresentationContext, else its arch:prefVisNotation; its
1096
+ notation's arch-vis:iconSymbol.
1097
+
1098
+ A model element's picture where its diagram element is drawn as a box (arch-vis:ShapeWithBadge,
1099
+ arch-vis:ShapeOnly): inside it, as an arch-vis:image of its own would be — at its arch-vis:imagePosition
1100
+ — unless its style gives it an image or an icon of its own; the badge stays the notation's glyph, which
1101
+ says the element's type. A style saying arch-vis:useElementPicture makes the picture its badge instead,
1102
+ in place of the glyph.'''@en ;
1103
+ .
1104
+
1105
+ arch-vis:ShapeOnly
1106
+ a arch-vis:RenderingMode ;
1107
+ rdfs:label "Shape Only"@en ;
1108
+ skos:prefLabel "Shape Only"@en ;
1109
+ skos:definition '''Colored shape with the element label centered, no icon. Used for executive-level views, monochrome printing, or when visual simplicity is preferred.'''@en ;
1110
+ skos:scopeNote '''Algorithm:
1111
+ 1. Draw shape (shapeType) at defaultWidth × defaultHeight
1112
+ 2. Fill with fillColor, stroke with lineColor
1113
+ 3. Center the label (skos:prefLabel) in the shape
1114
+ 4. Do NOT render any icon — ignore iconSymbol and iconPlacement entirely
1115
+ 5. Optionally reduce dimensions for a more compact appearance
1116
+
1117
+ Visual layout:
1118
+ ┌──────────────────────┐
1119
+ │ │
1120
+ │ Element Label │ ← label only, no icon
1121
+ │ │
1122
+ └──────────────────────┘
1123
+ filled with fillColor
1124
+
1125
+ Used by: Executive dashboards, printed reports, accessibility-focused views.'''@en ;
1126
+ .
1127
+
1128
+
1129
+ #################################################################
1130
+ # Line Style and Decoration (for relationships)
1131
+ #################################################################
1132
+
1133
+ arch-vis:LineStyle
1134
+ a owl:Class ;
1135
+ rdfs:label "LineStyle"@en ;
1136
+ rdfs:comment "Enumeration of line rendering styles: for relationship connectors (arch-vis:lineStyle) and shape outlines (arch-vis:borderStyle)."@en ;
1137
+ .
1138
+
1139
+ arch-vis:SolidLine
1140
+ a arch-vis:LineStyle ;
1141
+ rdfs:label "Solid Line"@en ;
1142
+ .
1143
+
1144
+ arch-vis:DashedLine
1145
+ a arch-vis:LineStyle ;
1146
+ rdfs:label "Dashed Line"@en ;
1147
+ .
1148
+
1149
+ arch-vis:DottedLine
1150
+ a arch-vis:LineStyle ;
1151
+ rdfs:label "Dotted Line"@en ;
1152
+ .
1153
+
1154
+ arch-vis:Decoration
1155
+ a owl:Class ;
1156
+ rdfs:label "Decoration"@en ;
1157
+ rdfs:comment "Enumeration of endpoint decorations for relationship connectors."@en ;
1158
+ .
1159
+
1160
+ arch-vis:decorSymbol
1161
+ a owl:DatatypeProperty,
1162
+ owl:FunctionalProperty ;
1163
+ rdfs:label "decorSymbol"@en ;
1164
+ rdfs:comment '''URI of the SVG marker symbol for this decoration (typically a small arrow or diamond shape).
1165
+ The symbol is drawn pointing in the +x direction, towards the endpoint it decorates. The connector meets it at
1166
+ the middle of the right edge of its viewBox, so a renderer anchors that point on the endpoint and orients the
1167
+ symbol along the connector; at a source end it mirrors the symbol, so that it points at the source. Strokes and
1168
+ fills that take the connector's colour are currentColor; a hollow symbol's interior is white. The published
1169
+ symbols use a 12 x 12 viewBox, drawn at that size in user units.'''@en ;
1170
+ rdfs:domain arch-vis:Decoration ;
1171
+ rdfs:range xsd:anyURI ;
1172
+ .
1173
+
1174
+ arch-vis:NoDecoration
1175
+ a arch-vis:Decoration ;
1176
+ rdfs:label "No Decoration"@en ;
1177
+ .
1178
+
1179
+ arch-vis:OpenArrowhead
1180
+ a arch-vis:Decoration ;
1181
+ rdfs:label "Open Arrowhead"@en ;
1182
+ rdfs:comment "Open (unfilled) arrowhead pointing at the endpoint."@en ;
1183
+ arch-vis:decorSymbol "https://meta.linked.archi/core-vis/markers/open-arrowhead.svg"^^xsd:anyURI ;
1184
+ .
1185
+
1186
+ arch-vis:ClosedArrowhead
1187
+ a arch-vis:Decoration ;
1188
+ rdfs:label "Closed Arrowhead"@en ;
1189
+ rdfs:comment "Filled (closed) arrowhead pointing at the endpoint — ArchiMate's triggering, flow and assignment."@en ;
1190
+ arch-vis:decorSymbol "https://meta.linked.archi/core-vis/markers/closed-arrowhead.svg"^^xsd:anyURI ;
1191
+ .
1192
+
1193
+ arch-vis:HollowArrowhead
1194
+ a arch-vis:Decoration ;
1195
+ rdfs:label "Hollow Arrowhead"@en ;
1196
+ rdfs:comment "Hollow (white-filled) arrowhead — ArchiMate's realization and specialization."@en ;
1197
+ arch-vis:decorSymbol "https://meta.linked.archi/core-vis/markers/hollow-arrowhead.svg"^^xsd:anyURI ;
1198
+ .
1199
+
1200
+ arch-vis:HollowDiamond
1201
+ a arch-vis:Decoration ;
1202
+ rdfs:label "Hollow Diamond"@en ;
1203
+ rdfs:comment "Hollow diamond — used for aggregation."@en ;
1204
+ arch-vis:decorSymbol "https://meta.linked.archi/core-vis/markers/hollow-diamond.svg"^^xsd:anyURI ;
1205
+ .
1206
+
1207
+ arch-vis:FilledDiamond
1208
+ a arch-vis:Decoration ;
1209
+ rdfs:label "Filled Diamond"@en ;
1210
+ rdfs:comment "Filled diamond — used for composition."@en ;
1211
+ arch-vis:decorSymbol "https://meta.linked.archi/core-vis/markers/filled-diamond.svg"^^xsd:anyURI ;
1212
+ .
1213
+
1214
+ arch-vis:HalfArrowhead
1215
+ a arch-vis:Decoration ;
1216
+ rdfs:label "Half Arrowhead"@en ;
1217
+ rdfs:comment "Half (one-sided) arrowhead, one barb only."@en ;
1218
+ arch-vis:decorSymbol "https://meta.linked.archi/core-vis/markers/half-arrowhead.svg"^^xsd:anyURI ;
1219
+ .
1220
+
1221
+ arch-vis:CircleDot
1222
+ a arch-vis:Decoration ;
1223
+ rdfs:label "Dot"@en ;
1224
+ rdfs:comment "A small filled circle at the end of the connector — ArchiMate's assignment, at the source end."@en ;
1225
+ arch-vis:decorSymbol "https://meta.linked.archi/core-vis/markers/circle-dot.svg"^^xsd:anyURI ;
1226
+ .
1227
+
1228
+
1229
+ #################################################################
1230
+ # NotationSet and VisualNotation Classes
1231
+ #################################################################
1232
+
1233
+ arch-vis:NotationSet
1234
+ a owl:Class ;
1235
+ rdfs:label "NotationSet"@en ;
1236
+ rdfs:comment '''A named collection of visual notation descriptors for a modeling language.
1237
+ Multiple notation sets allow alternative visual representations (standard, simplified,
1238
+ monochrome, etc.) for the same metamodel.
1239
+
1240
+ A Metamodel links to its available notation sets via arch:notationSet (the default set).
1241
+ PresentationContext concepts link to their preferred notation set via arch:usesNotationSet,
1242
+ enabling context-aware palette generation:
1243
+
1244
+ Metamodel ──arch:notationSet──► NotationSet (default)
1245
+ PresentationContext ──arch:usesNotationSet──► NotationSet (context-specific)
1246
+
1247
+ A palette generator determines the active PresentationContext, follows usesNotationSet
1248
+ to get the appropriate NotationSet, then queries VisualNotation instances within it.'''@en ;
1249
+ .
1250
+
1251
+ arch-vis:VisualNotation
1252
+ a owl:Class ;
1253
+ rdfs:label "VisualNotation"@en ;
1254
+ rdfs:comment '''A structured visual notation descriptor for a single ModelConcept.
1255
+ Bundles a default Style (shape, color, icon) with the rendered composite image
1256
+ (arch:prefVisNotation). Used by palette generators and diagram editors to construct
1257
+ element renderings from primitives.'''@en ;
1258
+ .
1259
+
1260
+ arch-vis:notationFor
1261
+ a owl:ObjectProperty,
1262
+ owl:FunctionalProperty ;
1263
+ rdfs:label "notationFor"@en ;
1264
+ rdfs:comment "Links a VisualNotation descriptor to the ModelConcept it describes."@en ;
1265
+ rdfs:domain arch-vis:VisualNotation ;
1266
+ rdfs:range arch:ModelConcept ;
1267
+ .
1268
+
1269
+ arch-vis:inNotationSet
1270
+ a owl:ObjectProperty ;
1271
+ rdfs:label "inNotationSet"@en ;
1272
+ rdfs:comment "Links a VisualNotation to the NotationSet it belongs to."@en ;
1273
+ rdfs:domain arch-vis:VisualNotation ;
1274
+ rdfs:range arch-vis:NotationSet ;
1275
+ .
1276
+
1277
+ arch-vis:LabelExpression
1278
+ a owl:Class ;
1279
+ rdfs:label "LabelExpression"@en ;
1280
+ rdfs:comment '''What a concept's label says on a diagram, as text with placeholders (arch-vis:expression) —
1281
+ in one presentation context when it names one (core's arch:inPresentationContext), else in every one.
1282
+
1283
+ The text is drawn as it is, but for what stands between braces:
1284
+ - {name}: the concept's name for the presentation context shown — its name for that audience (a
1285
+ skosxl:altLabel with that arch:inPresentationContext), else its skos:prefLabel;
1286
+ - {type}: the name of its type;
1287
+ - {prefix:local} or {<iri>}: the values of that property of the concept — a literal as it is (in the
1288
+ language shown, or with none), a resource by its name for the context shown — several joined by ", ";
1289
+ prefixes are those the vocabularies in use declare; {skos:prefLabel} is the canonical name;
1290
+ - a path: properties joined by /, each followed from the concept on, ^ before one to follow it backwards
1291
+ ({am:assignedTo/skos:prefLabel}, {^arch:target});
1292
+ - {{ and }}: a brace.
1293
+ Its lines are the label's lines; a line whose placeholders all come to nothing is left out, so a line
1294
+ can be there only when the concept has what it shows.'''@en ;
1295
+ .
1296
+
1297
+ arch-vis:labelExpression
1298
+ a owl:ObjectProperty ;
1299
+ rdfs:label "labelExpression"@en ;
1300
+ rdfs:comment '''What a concept's label says on a diagram (an arch-vis:LabelExpression), in place of its
1301
+ name alone: on a diagram element's own style (arch-vis:style), that element's; on a concept's
1302
+ VisualNotation, every element of that concept's drawn with the notation; on a presentation context (a
1303
+ concept of a metamodel's arch:presentationContextScheme), every element shown in that context that
1304
+ nothing else says for. The first that applies wins, in this order:
1305
+ 1. the diagram element's own, for the context shown (arch:inPresentationContext);
1306
+ 2. the diagram element's own, for every context;
1307
+ 3. its concept's notation's, for the context shown;
1308
+ 4. its concept's notation's, for every context;
1309
+ 5. the context's;
1310
+ with none, the label is the concept's name for the context shown.'''@en ;
1311
+ arch:domainIncludes arch-vis:Style, arch-vis:VisualNotation, skos:Concept ;
1312
+ rdfs:range arch-vis:LabelExpression ;
1313
+ .
1314
+
1315
+ arch-vis:expression
1316
+ a owl:DatatypeProperty,
1317
+ owl:FunctionalProperty ;
1318
+ rdfs:label "expression"@en ;
1319
+ rdfs:comment "A label expression's text, its placeholders between braces (see arch-vis:LabelExpression)."@en ;
1320
+ rdfs:domain arch-vis:LabelExpression ;
1321
+ rdfs:range xsd:string ;
1322
+ .
1323
+
1324
+ arch-vis:nestedEnd
1325
+ a owl:ObjectProperty ;
1326
+ rdfs:label "nestedEnd"@en ;
1327
+ rdfs:comment '''On a relationship's notation: the relationship may be drawn by nesting one end
1328
+ inside the other (arch-vis:inNode) instead of a line, and this is the end drawn inside. A
1329
+ composition's part inside its whole is arch-vis:TargetEnd; ArchiMate's specialized element
1330
+ inside the generic one is arch-vis:SourceEnd; a relationship nesting may draw either way has
1331
+ both. Absent, nesting does not draw the relationship.'''@en ;
1332
+ rdfs:domain arch-vis:VisualNotation ;
1333
+ rdfs:range arch-vis:RelationshipEnd ;
1334
+ .
1335
+
1336
+ arch-vis:RelationshipEnd
1337
+ a owl:Class ;
1338
+ rdfs:label "RelationshipEnd"@en ;
1339
+ rdfs:comment "Enumeration of the two ends of a relationship: its source and its target."@en ;
1340
+ .
1341
+
1342
+ arch-vis:SourceEnd
1343
+ a arch-vis:RelationshipEnd ;
1344
+ rdfs:label "SourceEnd"@en ;
1345
+ rdfs:comment "The end a relationship goes from (arch:source)."@en ;
1346
+ .
1347
+
1348
+ arch-vis:TargetEnd
1349
+ a arch-vis:RelationshipEnd ;
1350
+ rdfs:label "TargetEnd"@en ;
1351
+ rdfs:comment "The end a relationship goes to (arch:target)."@en ;
1352
+ .
1353
+
1354
+ arch-vis:defaultStyle
1355
+ a owl:ObjectProperty,
1356
+ owl:FunctionalProperty ;
1357
+ rdfs:label "defaultStyle"@en ;
1358
+ rdfs:comment '''Links a VisualNotation to its default Style — the construction recipe
1359
+ for rendering this concept. Contains shape type, colors, icon, and dimensions.'''@en ;
1360
+ rdfs:domain arch-vis:VisualNotation ;
1361
+ rdfs:range arch-vis:Style ;
1362
+ .
1363
+
1364
+ arch-vis:alternativeStyle
1365
+ a owl:ObjectProperty ;
1366
+ rdfs:label "alternativeStyle"@en ;
1367
+ rdfs:comment '''Another figure the concept may be drawn as, besides its default Style
1368
+ (arch-vis:defaultStyle) — a business object, for example, as a box with its glyph or as a banded
1369
+ box. It says only what differs from the default: its shape type and rendering mode, an outline's
1370
+ style; colours and the glyph are the default's. A diagram element drawn as it says so on its own style
1371
+ (arch-vis:style) with the alternative's arch-vis:shapeType and arch-vis:renderingMode.'''@en ;
1372
+ rdfs:domain arch-vis:VisualNotation ;
1373
+ rdfs:range arch-vis:Style ;
1374
+ .
1375
+
1376
+ arch-vis:lineStyle
1377
+ a owl:ObjectProperty,
1378
+ owl:FunctionalProperty ;
1379
+ rdfs:label "lineStyle"@en ;
1380
+ rdfs:comment '''The line rendering style (solid, dashed, dotted): of a relationship type's lines, said on its
1381
+ notation or its notation's default style; or of one line, said on that Link's own style
1382
+ (arch-vis:style) — a line standing for no relationship, a note's to what it is about, whose look is
1383
+ its own.'''@en ;
1384
+ arch:domainIncludes arch:QualifiedRelationship, arch-vis:VisualNotation, arch-vis:Style ;
1385
+ rdfs:range arch-vis:LineStyle ;
1386
+ .
1387
+
1388
+ arch-vis:sourceDecor
1389
+ a owl:ObjectProperty,
1390
+ owl:FunctionalProperty ;
1391
+ rdfs:label "sourceDecor"@en ;
1392
+ rdfs:comment '''The decoration at a line's source end: of a relationship type's lines, said on its notation
1393
+ or its notation's default style; or of one line, said on that Link's own style, as for
1394
+ arch-vis:lineStyle.'''@en ;
1395
+ arch:domainIncludes arch:QualifiedRelationship, arch-vis:VisualNotation, arch-vis:Style ;
1396
+ rdfs:range arch-vis:Decoration ;
1397
+ .
1398
+
1399
+ arch-vis:targetDecor
1400
+ a owl:ObjectProperty,
1401
+ owl:FunctionalProperty ;
1402
+ rdfs:label "targetDecor"@en ;
1403
+ rdfs:comment '''The decoration at a line's target end: of a relationship type's lines, said on its notation
1404
+ or its notation's default style; or of one line, said on that Link's own style, as for
1405
+ arch-vis:lineStyle.'''@en ;
1406
+ arch:domainIncludes arch:QualifiedRelationship, arch-vis:VisualNotation, arch-vis:Style ;
1407
+ rdfs:range arch-vis:Decoration ;
1408
+ .