@seafteam/seaf-archtool-core-plugin-suite 2026.29.0-rc.1

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 (298) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +27 -0
  3. package/documentation/arch/aspects.yaml +81 -0
  4. package/documentation/arch/components/browser.yaml +51 -0
  5. package/documentation/arch/components/examples/context.yaml +37 -0
  6. package/documentation/arch/components/examples/order.yaml +92 -0
  7. package/documentation/arch/components/examples/payment.yaml +92 -0
  8. package/documentation/arch/components/examples/root.yaml +42 -0
  9. package/documentation/arch/components/front.yaml +309 -0
  10. package/documentation/arch/components/gitlab.yaml +81 -0
  11. package/documentation/arch/components/plantuml.yaml +57 -0
  12. package/documentation/arch/components/root.yaml +36 -0
  13. package/documentation/arch/components/user.yaml +41 -0
  14. package/documentation/arch/components/web.yaml +39 -0
  15. package/documentation/arch/contexts.yaml +99 -0
  16. package/documentation/arch/forms.yaml +36 -0
  17. package/documentation/arch/namespaces.yaml +43 -0
  18. package/documentation/arch/root.yaml +43 -0
  19. package/documentation/arch/rules.yaml +91 -0
  20. package/documentation/arch/technologies.yaml +84 -0
  21. package/documentation/dochub.yaml +32 -0
  22. package/documentation/docs/conception/archdistrib.puml +38 -0
  23. package/documentation/docs/conception/archeco.puml +11 -0
  24. package/documentation/docs/conception/archeco_proc.puml +29 -0
  25. package/documentation/docs/conception/archver.puml +24 -0
  26. package/documentation/docs/conception/facade.puml +20 -0
  27. package/documentation/docs/conception/introduction.md +144 -0
  28. package/documentation/docs/conception/mindmap.puml +55 -0
  29. package/documentation/docs/conception/root.yaml +66 -0
  30. package/documentation/docs/manual/aspects.md +37 -0
  31. package/documentation/docs/manual/backend/api.yaml +664 -0
  32. package/documentation/docs/manual/backend/search-implementation.md +190 -0
  33. package/documentation/docs/manual/backend/search.yaml +495 -0
  34. package/documentation/docs/manual/clickstream-setup.md +50 -0
  35. package/documentation/docs/manual/components.md +45 -0
  36. package/documentation/docs/manual/config/deployment.md +337 -0
  37. package/documentation/docs/manual/context_source.puml +17 -0
  38. package/documentation/docs/manual/contexts.md +200 -0
  39. package/documentation/docs/manual/datasets.md +120 -0
  40. package/documentation/docs/manual/docs/AI_TABLE_INTEGRATION.md +81 -0
  41. package/documentation/docs/manual/docs/asyncapi.md +63 -0
  42. package/documentation/docs/manual/docs/bpmn.md +122 -0
  43. package/documentation/docs/manual/docs/charts.md +371 -0
  44. package/documentation/docs/manual/docs/docs.md +76 -0
  45. package/documentation/docs/manual/docs/drawio_intro.md +397 -0
  46. package/documentation/docs/manual/docs/editable_table/menu.yaml +5 -0
  47. package/documentation/docs/manual/docs/editable_table/root.yaml +9 -0
  48. package/documentation/docs/manual/docs/editable_table/step_0_base/menu.yaml +6 -0
  49. package/documentation/docs/manual/docs/editable_table/step_0_base/root.yaml +3 -0
  50. package/documentation/docs/manual/docs/editable_table/step_0_base/table.yaml +396 -0
  51. package/documentation/docs/manual/docs/editable_table/step_0_base/template.md +404 -0
  52. package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/menu.yaml +5 -0
  53. package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/root.yaml +3 -0
  54. package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/table.yaml +136 -0
  55. package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/template.md +247 -0
  56. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/pets.yaml +23 -0
  57. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/root.yaml +2 -0
  58. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/menu.yaml +34 -0
  59. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/root.yaml +4 -0
  60. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/table.yaml +36 -0
  61. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_root.md +110 -0
  62. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_table.md +3 -0
  63. package/documentation/docs/manual/docs/editable_table/step_3_headers/menu.yaml +6 -0
  64. package/documentation/docs/manual/docs/editable_table/step_3_headers/root.yaml +2 -0
  65. package/documentation/docs/manual/docs/editable_table/step_3_headers/template.md +300 -0
  66. package/documentation/docs/manual/docs/editable_table/step_4_editing/data/data.yaml +10 -0
  67. package/documentation/docs/manual/docs/editable_table/step_4_editing/data/root.yaml +2 -0
  68. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/data_column_1.yaml +3 -0
  69. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/root.yaml +2 -0
  70. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/menu.yaml +6 -0
  71. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/root.yaml +4 -0
  72. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/table.yaml +52 -0
  73. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/template.md +117 -0
  74. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/root.yaml +2 -0
  75. package/documentation/docs/manual/docs/editable_table/step_4_editing/menu.yaml +6 -0
  76. package/documentation/docs/manual/docs/editable_table/step_4_editing/root.yaml +5 -0
  77. package/documentation/docs/manual/docs/editable_table/step_4_editing/table.yaml +116 -0
  78. package/documentation/docs/manual/docs/editable_table/step_4_editing/template.md +231 -0
  79. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/data.yaml +30 -0
  80. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/menu.yaml +5 -0
  81. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/root.yaml +4 -0
  82. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/table.yaml +122 -0
  83. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/template.md +276 -0
  84. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/data.yaml +11 -0
  85. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/menu.yaml +5 -0
  86. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/root.yaml +4 -0
  87. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/table.yaml +40 -0
  88. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/template.md +59 -0
  89. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/root.yaml +3 -0
  90. package/documentation/docs/manual/docs/editable_table/step_5_styles/menu.yaml +5 -0
  91. package/documentation/docs/manual/docs/editable_table/step_5_styles/root.yaml +4 -0
  92. package/documentation/docs/manual/docs/editable_table/step_5_styles/table.yaml +35 -0
  93. package/documentation/docs/manual/docs/editable_table/step_5_styles/template.md +142 -0
  94. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/data.yaml +40 -0
  95. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/menu.yaml +5 -0
  96. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/root.yaml +4 -0
  97. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/table.yaml +77 -0
  98. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/template.md +146 -0
  99. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/root.yaml +2 -0
  100. package/documentation/docs/manual/docs/editable_table/step_6_errors/menu.yaml +5 -0
  101. package/documentation/docs/manual/docs/editable_table/step_6_errors/root.yaml +3 -0
  102. package/documentation/docs/manual/docs/editable_table/step_6_errors/template.md +3 -0
  103. package/documentation/docs/manual/docs/editable_table/template.md +24 -0
  104. package/documentation/docs/manual/docs/examples/asyncapi.yaml +77 -0
  105. package/documentation/docs/manual/docs/examples/asyncapi_template.json +11 -0
  106. package/documentation/docs/manual/docs/examples/autors.yaml +30 -0
  107. package/documentation/docs/manual/docs/examples/bpmn.xml +44 -0
  108. package/documentation/docs/manual/docs/examples/cat.jpg +0 -0
  109. package/documentation/docs/manual/docs/examples/charts-bar.yaml +61 -0
  110. package/documentation/docs/manual/docs/examples/charts-bubble.yaml +47 -0
  111. package/documentation/docs/manual/docs/examples/charts-doughnut.yaml +42 -0
  112. package/documentation/docs/manual/docs/examples/charts-line.yaml +55 -0
  113. package/documentation/docs/manual/docs/examples/charts-pie.yaml +37 -0
  114. package/documentation/docs/manual/docs/examples/charts-polararea.yaml +54 -0
  115. package/documentation/docs/manual/docs/examples/charts-radar.yaml +50 -0
  116. package/documentation/docs/manual/docs/examples/charts-scatter.yaml +48 -0
  117. package/documentation/docs/manual/docs/examples/charts.yaml +91 -0
  118. package/documentation/docs/manual/docs/examples/contexts.jsonata +8 -0
  119. package/documentation/docs/manual/docs/examples/date-picker-example.md +5 -0
  120. package/documentation/docs/manual/docs/examples/example.html +2 -0
  121. package/documentation/docs/manual/docs/examples/example.puml +17 -0
  122. package/documentation/docs/manual/docs/examples/example.yaml +53 -0
  123. package/documentation/docs/manual/docs/examples/ext-schema.yaml +3 -0
  124. package/documentation/docs/manual/docs/examples/inlinemeta.md +25 -0
  125. package/documentation/docs/manual/docs/examples/markaper.yaml +225 -0
  126. package/documentation/docs/manual/docs/examples/mermaid.mmd +32 -0
  127. package/documentation/docs/manual/docs/examples/openapi_template.json +16 -0
  128. package/documentation/docs/manual/docs/examples/pizza-collaboration.xml +383 -0
  129. package/documentation/docs/manual/docs/examples/sa-anim.yaml +209 -0
  130. package/documentation/docs/manual/docs/examples/sa-complex-hide-boundary.yaml +94 -0
  131. package/documentation/docs/manual/docs/examples/sa-complex-hide-leaves.yaml +94 -0
  132. package/documentation/docs/manual/docs/examples/sa-complex-hide-title.yaml +98 -0
  133. package/documentation/docs/manual/docs/examples/sa-complex.yaml +92 -0
  134. package/documentation/docs/manual/docs/examples/sa-gravity.yaml +104 -0
  135. package/documentation/docs/manual/docs/examples/sa-group.yaml +93 -0
  136. package/documentation/docs/manual/docs/examples/sa-physical-connection.yaml +79 -0
  137. package/documentation/docs/manual/docs/examples/sa-query.jsonata +74 -0
  138. package/documentation/docs/manual/docs/examples/sa-symbol.yaml +72 -0
  139. package/documentation/docs/manual/docs/examples/sa-through-objects.yaml +46 -0
  140. package/documentation/docs/manual/docs/examples/sa-without-tips.yaml +43 -0
  141. package/documentation/docs/manual/docs/examples/showcases.jsonata +5 -0
  142. package/documentation/docs/manual/docs/examples/smartants_.yaml +160 -0
  143. package/documentation/docs/manual/docs/examples/table.yaml +341 -0
  144. package/documentation/docs/manual/docs/examples/template.puml +6 -0
  145. package/documentation/docs/manual/docs/examples/test.jsonata +3 -0
  146. package/documentation/docs/manual/docs/examples/toc/2header.md +8 -0
  147. package/documentation/docs/manual/docs/examples/toc/custom-toc-place-dup.md +37 -0
  148. package/documentation/docs/manual/docs/examples/toc/custom-toc-place.md +35 -0
  149. package/documentation/docs/manual/docs/examples/toc/root.yaml +38 -0
  150. package/documentation/docs/manual/docs/examples/toc/test.md +160 -0
  151. package/documentation/docs/manual/docs/gigachat/agents/aigena/menu.yaml +5 -0
  152. package/documentation/docs/manual/docs/gigachat/agents/aigena/root.yaml +2 -0
  153. package/documentation/docs/manual/docs/gigachat/agents/aigena/template.md +25 -0
  154. package/documentation/docs/manual/docs/gigachat/agents/menu.yaml +5 -0
  155. package/documentation/docs/manual/docs/gigachat/agents/react/gigachat.yaml +59 -0
  156. package/documentation/docs/manual/docs/gigachat/agents/react/menu.yaml +5 -0
  157. package/documentation/docs/manual/docs/gigachat/agents/react/root.yaml +3 -0
  158. package/documentation/docs/manual/docs/gigachat/agents/react/template.md +138 -0
  159. package/documentation/docs/manual/docs/gigachat/agents/root.yaml +5 -0
  160. package/documentation/docs/manual/docs/gigachat/agents/simple/gigachat.yaml +14 -0
  161. package/documentation/docs/manual/docs/gigachat/agents/simple/menu.yaml +5 -0
  162. package/documentation/docs/manual/docs/gigachat/agents/simple/root.yaml +3 -0
  163. package/documentation/docs/manual/docs/gigachat/agents/simple/template.md +113 -0
  164. package/documentation/docs/manual/docs/gigachat/agents/template.md +62 -0
  165. package/documentation/docs/manual/docs/gigachat/menu.yaml +5 -0
  166. package/documentation/docs/manual/docs/gigachat/root.yaml +4 -0
  167. package/documentation/docs/manual/docs/gigachat/settings/menu.yaml +5 -0
  168. package/documentation/docs/manual/docs/gigachat/settings/root.yaml +2 -0
  169. package/documentation/docs/manual/docs/gigachat/settings/template.md +51 -0
  170. package/documentation/docs/manual/docs/gigachat/template.md +38 -0
  171. package/documentation/docs/manual/docs/images/cloud.png +0 -0
  172. package/documentation/docs/manual/docs/images/component.png +0 -0
  173. package/documentation/docs/manual/docs/images/system.png +0 -0
  174. package/documentation/docs/manual/docs/images/user.png +0 -0
  175. package/documentation/docs/manual/docs/markaper.md +278 -0
  176. package/documentation/docs/manual/docs/markdown.md +148 -0
  177. package/documentation/docs/manual/docs/mermaid.md +43 -0
  178. package/documentation/docs/manual/docs/network.md +117 -0
  179. package/documentation/docs/manual/docs/plantuml.md +28 -0
  180. package/documentation/docs/manual/docs/root.yaml +736 -0
  181. package/documentation/docs/manual/docs/seaf2drawio/examples/basic.yaml +13 -0
  182. package/documentation/docs/manual/docs/seaf2drawio/examples/diff.yaml +123 -0
  183. package/documentation/docs/manual/docs/seaf2drawio/examples/example_seaf_data.yaml +1689 -0
  184. package/documentation/docs/manual/docs/seaf2drawio/examples/root.yaml +5 -0
  185. package/documentation/docs/manual/docs/seaf2drawio/examples/templates.yaml +55 -0
  186. package/documentation/docs/manual/docs/seaf2drawio/examples/transformation.yaml +19 -0
  187. package/documentation/docs/manual/docs/seaf2drawio/object_description.md +35 -0
  188. package/documentation/docs/manual/docs/seaf2drawio/root.yaml +12 -0
  189. package/documentation/docs/manual/docs/seaf2drawio/seaf2drawio.md +118 -0
  190. package/documentation/docs/manual/docs/smartants.md +583 -0
  191. package/documentation/docs/manual/docs/svg_inline.md +66 -0
  192. package/documentation/docs/manual/docs/swagger.md +52 -0
  193. package/documentation/docs/manual/docs/tables.md +264 -0
  194. package/documentation/docs/manual/docs/templates/example.drawio +43 -0
  195. package/documentation/docs/manual/docs/templates/test.svg +79 -0
  196. package/documentation/docs/manual/docs/templates.md +361 -0
  197. package/documentation/docs/manual/docs/toc.md +137 -0
  198. package/documentation/docs/manual/entities/bstages.md +43 -0
  199. package/documentation/docs/manual/entities/bundle.md +105 -0
  200. package/documentation/docs/manual/entities/entities.md +727 -0
  201. package/documentation/docs/manual/entities/images/id_errors.png +0 -0
  202. package/documentation/docs/manual/entities/images/landspace.jpeg +0 -0
  203. package/documentation/docs/manual/entities/images/menu-single.jpeg +0 -0
  204. package/documentation/docs/manual/entities/images/menu-tree.jpeg +0 -0
  205. package/documentation/docs/manual/entities/images/object_select.png +0 -0
  206. package/documentation/docs/manual/entities/images/problems.png +0 -0
  207. package/documentation/docs/manual/entities/images/select_inter.png +0 -0
  208. package/documentation/docs/manual/entities/images/stages.jpg +0 -0
  209. package/documentation/docs/manual/entities/images/suggests.png +0 -0
  210. package/documentation/docs/manual/entities/intro.md +73 -0
  211. package/documentation/docs/manual/entities/rules.md +35 -0
  212. package/documentation/docs/manual/functions/example.yaml +50 -0
  213. package/documentation/docs/manual/functions/functions.md +51 -0
  214. package/documentation/docs/manual/functions/root.yaml +39 -0
  215. package/documentation/docs/manual/images/jbps1.1.png +0 -0
  216. package/documentation/docs/manual/images/jbps1.png +0 -0
  217. package/documentation/docs/manual/images/jbps2.png +0 -0
  218. package/documentation/docs/manual/images/vsc1.png +0 -0
  219. package/documentation/docs/manual/imports.md +59 -0
  220. package/documentation/docs/manual/introduction.md +38 -0
  221. package/documentation/docs/manual/jsonata.md +268 -0
  222. package/documentation/docs/manual/plugin-settings.md +134 -0
  223. package/documentation/docs/manual/plugins/interface.md +226 -0
  224. package/documentation/docs/manual/plugins/introduction.md +256 -0
  225. package/documentation/docs/manual/plugins/root.yaml +51 -0
  226. package/documentation/docs/manual/role-model.md +80 -0
  227. package/documentation/docs/manual/root-cluster-import.md +82 -0
  228. package/documentation/docs/manual/root.yaml +199 -0
  229. package/documentation/docs/manual/rules/exceptions.md +20 -0
  230. package/documentation/docs/manual/rules/exreason.md +3 -0
  231. package/documentation/docs/manual/rules/root.yaml +58 -0
  232. package/documentation/docs/manual/rules/rules.md +8 -0
  233. package/documentation/docs/manual/rules/standard.md +3 -0
  234. package/documentation/docs/manual/rules/validators.md +109 -0
  235. package/documentation/docs/manual/technologies.md +49 -0
  236. package/documentation/docs/root.yaml +32 -0
  237. package/documentation/docs/sequence.puml +48 -0
  238. package/documentation/docs/welcome.md +3 -0
  239. package/documentation/entities/extentions/entity.yaml +136 -0
  240. package/documentation/entities/extentions/templates/people.md +4 -0
  241. package/documentation/entities/interactions/entity.yaml +412 -0
  242. package/documentation/entities/interactions/templates/blank.puml +18 -0
  243. package/documentation/entities/interactions/templates/bpmn.xml +59 -0
  244. package/documentation/entities/interactions/templates/tree.puml +11 -0
  245. package/documentation/entities/root.yaml +33 -0
  246. package/documentation/root.yaml +37 -0
  247. package/metamodel/dochub/entities/aspects/base.yaml +73 -0
  248. package/metamodel/dochub/entities/aspects/blank.yaml +65 -0
  249. package/metamodel/dochub/entities/aspects/components.yaml +52 -0
  250. package/metamodel/dochub/entities/aspects/contexts.yaml +57 -0
  251. package/metamodel/dochub/entities/aspects/docs.yaml +51 -0
  252. package/metamodel/dochub/entities/aspects/hierarchy.yaml +80 -0
  253. package/metamodel/dochub/entities/aspects/root.yaml +9 -0
  254. package/metamodel/dochub/entities/aspects/summary.yaml +64 -0
  255. package/metamodel/dochub/entities/aspects/templates/components.md +5 -0
  256. package/metamodel/dochub/entities/aspects/templates/hierarchy.puml +5 -0
  257. package/metamodel/dochub/entities/aspects/templates/summary.md +9 -0
  258. package/metamodel/dochub/entities/aspects/templates/tree.puml +5 -0
  259. package/metamodel/dochub/entities/aspects/tree.yaml +37 -0
  260. package/metamodel/dochub/entities/components/base.yaml +97 -0
  261. package/metamodel/dochub/entities/components/blank.yaml +64 -0
  262. package/metamodel/dochub/entities/components/contexts.yaml +55 -0
  263. package/metamodel/dochub/entities/components/docs.yaml +50 -0
  264. package/metamodel/dochub/entities/components/hierarchy.yaml +84 -0
  265. package/metamodel/dochub/entities/components/index.yaml +17 -0
  266. package/metamodel/dochub/entities/components/root.yaml +8 -0
  267. package/metamodel/dochub/entities/components/summary.yaml +58 -0
  268. package/metamodel/dochub/entities/components/symbol.yaml +113 -0
  269. package/metamodel/dochub/entities/components/templates/hierarchy.puml +5 -0
  270. package/metamodel/dochub/entities/components/templates/summary.md +8 -0
  271. package/metamodel/dochub/entities/components/templates/tree.puml +5 -0
  272. package/metamodel/dochub/entities/components/tree.yaml +38 -0
  273. package/metamodel/dochub/entities/contexts/base.yaml +197 -0
  274. package/metamodel/dochub/entities/contexts/plantuml.yaml +241 -0
  275. package/metamodel/dochub/entities/contexts/root.yaml +5 -0
  276. package/metamodel/dochub/entities/contexts/smartants.yaml +177 -0
  277. package/metamodel/dochub/entities/contexts/templates/template.puml +183 -0
  278. package/metamodel/dochub/entities/contexts/templates/tree.puml +5 -0
  279. package/metamodel/dochub/entities/contexts/tree.yaml +39 -0
  280. package/metamodel/dochub/entities/documents/base.yaml +73 -0
  281. package/metamodel/dochub/entities/documents/blank.yaml +28 -0
  282. package/metamodel/dochub/entities/documents/root.yaml +3 -0
  283. package/metamodel/dochub/entities/root.yaml +5 -0
  284. package/metamodel/dochub/functions/root.yaml +2 -0
  285. package/metamodel/dochub/functions/tools.yaml +46 -0
  286. package/metamodel/dochub/root.yaml +24 -0
  287. package/metamodel/dochub/rules/root.yaml +2 -0
  288. package/metamodel/dochub/rules/validators.yaml +144 -0
  289. package/metamodel/dochub/samples/01_components.yaml +23 -0
  290. package/metamodel/dochub/samples/02_contexts.yaml +23 -0
  291. package/metamodel/dochub/samples/03_documents.yaml +10 -0
  292. package/metamodel/dochub/samples/root.yaml +4 -0
  293. package/metamodel/dochub/samples/test.puml +17 -0
  294. package/metamodel/dochub.yaml +5 -0
  295. package/metamodel/docs/welcome.md +39 -0
  296. package/metamodel/root.yaml +8 -0
  297. package/package.json +28 -0
  298. package/plugin.html +1963 -0
@@ -0,0 +1,183 @@
1
+ @startuml
2
+ skinparam useBetaStyle true
3
+ allow_mixing
4
+ {{renderCore}}
5
+ skinparam {
6
+ HyperLinkColor #000
7
+ wrapWidth 200
8
+ maxMessageSize 200
9
+ 'hide stereotype
10
+ defaultfontname Roboto, sans-serif
11
+ roundCorner 10
12
+ 'linetype ortho
13
+ 'linetype polyline
14
+ nodesep 70
15
+ ranksep 70
16
+ shadowing false
17
+ padding 2
18
+ }
19
+
20
+ <style>
21
+ component {
22
+ BackGroundColor #fff
23
+ RoundCorner 10
24
+ LineColor #000
25
+ FontColor #333
26
+ HyperLinkColor #333
27
+
28
+ .focus {
29
+ FontColor #fff
30
+ BackGroundColor #3495db
31
+ HyperLinkColor #fff
32
+ HyperLinkUnderline false
33
+ }
34
+ }
35
+ database {
36
+ BackGroundColor #fff
37
+ RoundCorner 10
38
+ LineColor #000
39
+ FontColor #333
40
+ HyperLinkColor #333
41
+
42
+ .focus {
43
+ FontColor #fff
44
+ BackGroundColor #3495db
45
+ HyperLinkColor #fff
46
+ HyperLinkUnderline false
47
+ }
48
+ }
49
+ queue {
50
+ BackGroundColor #fff
51
+ RoundCorner 10
52
+ LineColor #000
53
+ FontColor #333
54
+ HyperLinkColor #333
55
+
56
+ .focus {
57
+ FontColor #fff
58
+ BackGroundColor #3495db
59
+ HyperLinkColor #fff
60
+ HyperLinkUnderline false
61
+ }
62
+ }
63
+ </style>
64
+
65
+ !unquoted procedure $Region($alias, $label, $type)
66
+ !if ($type)
67
+ rectangle "$label" <<$type>> as $alias
68
+ !else
69
+ rectangle "$label" as $alias
70
+ !endif
71
+ !endprocedure
72
+
73
+ !unquoted procedure $Header($Title="Header", $Authors="Name", $Version="0.1", $Date="01.01.1999")
74
+ header
75
+ !if ($Authors)
76
+ Authors: $Authors
77
+ !endif
78
+ !if ($Version)
79
+ Version: $Version
80
+ !endif
81
+ !if ($Date)
82
+ Date: $Date
83
+ !endif
84
+
85
+ endheader
86
+
87
+ hide empty members
88
+
89
+ title $Title
90
+ !endprocedure
91
+
92
+
93
+ 'Стили Person
94
+ skinparam component<<Person>> {
95
+ backgroundColor Transparent
96
+ borderColor Transparent
97
+ shadowing false
98
+ hide stereotype
99
+ borderthickness 1
100
+ FontSize 14
101
+ FontStyle Bold
102
+ }
103
+
104
+ !unquoted procedure $join_start()
105
+ %set_variable_value("$join_append", 0)
106
+ !endprocedure
107
+
108
+ !unquoted function $join_append()
109
+ !$val = %get_variable_value("$join_append")
110
+ !if $val == 0
111
+ %set_variable_value("$join_append", 1)
112
+ !endif
113
+ !return $val
114
+ !endfunction
115
+
116
+ !unquoted procedure $join_end()
117
+ %set_variable_value("$join_append", 0)
118
+ !endprocedure
119
+
120
+ !unquoted procedure $Entity($entity, $ACName, $id, $ACType, $color="")
121
+ $join_start()
122
+ !if ($entity == component)
123
+ component $id $color[
124
+ <b>$ACName</b>
125
+ ====
126
+ !elseif ($entity == system)
127
+ component $id $color[
128
+ <b>$ACName</b>
129
+ ====
130
+ !elseif ($entity == actor || $entity == person)
131
+ actor $id $color[
132
+ ..===$ACName..
133
+ ]
134
+ !else
135
+ $entity $id $color[
136
+ <b>$ACName</b>
137
+ ====
138
+ !endif
139
+ !endprocedure
140
+
141
+ !unquoted procedure $EntityEnd($entity)
142
+ !if ($entity == component)
143
+ ]
144
+ !elseif ($entity == system)
145
+ ]
146
+ !elseif ($entity == actor || $entity == person)
147
+ 'nothing
148
+ !else
149
+ ]
150
+ !endif
151
+ $join_end()
152
+ !endprocedure
153
+
154
+ !unquoted procedure $EntityAspect($entity, $prop)
155
+ !if ($entity == component)
156
+ !$val = $join_append()
157
+ !if ($val != 0)
158
+ ---
159
+ !endif
160
+ $prop
161
+ !elseif ($entity == system)
162
+ $prop
163
+ !elseif ($entity == actor || $entity == person)
164
+ 'nothing
165
+ !else
166
+ $prop
167
+ !endif
168
+ !endprocedure
169
+
170
+ !unquoted procedure $EntityExpand($entity, $ID)
171
+ !if ($entity == component || $entity == system || $entity == collections)
172
+ ---
173
+ [[/entities/contexts/{{presentation}}?dh-context-id=$ID ≫≫]]
174
+ !else
175
+ 'nothing
176
+ !endif
177
+ !endprocedure
178
+
179
+ left to right direction
180
+ {{&before}}
181
+ {{&code}}
182
+ {{&after}}
183
+ @enduml
@@ -0,0 +1,5 @@
1
+ @startwbs
2
+ * Контексты
3
+ {{&.}}
4
+ @endwbs
5
+
@@ -0,0 +1,39 @@
1
+ # Сводка по архитектурному аспекту
2
+ entities:
3
+ contexts:
4
+ presentations:
5
+ tree:
6
+ title: Иерархия контекстов
7
+ type: plantuml
8
+ template: templates/tree.puml
9
+ source: >
10
+ (
11
+ $CONTEXTS := contexts;
12
+ /* Получаем нужную презентацию из конфигурации */
13
+ $presentation := entities.contexts.config.defaultPresentation;
14
+ $merge((
15
+ [$CONTEXTS.$spread().(
16
+ $keys()[0]~>$split(".")~>$map(function($v, $limit, $struct) {
17
+ {
18
+ $struct~>$map(function($pice, $index) {
19
+ $index <= $limit ? $pice
20
+ })~>$join("."): true
21
+ }
22
+ })
23
+ )]
24
+ )
25
+ ).$spread().(
26
+ /* Готовим массив для вывода */
27
+ $ID := $keys()[0];
28
+ $CONTEXT := $lookup($CONTEXTS, $ID);
29
+ {
30
+ "id": $ID,
31
+ "title": $CONTEXT.title ? $CONTEXT.title : $ID,
32
+ "link": "/entities/contexts/" & $presentation & "?dh-context-id=" & $ID
33
+ }
34
+ )^(id).(
35
+ /* Готовим PlantUML код для MindMap */
36
+ $content := " [[" & link & " " & title & "]]";
37
+ "*" & $join($split(id, ".").("*")) & $content
38
+ )~>$join("\n");
39
+ )
@@ -0,0 +1,73 @@
1
+ entities:
2
+ docs:
3
+ title: Документы
4
+ # Конфигурация
5
+ config:
6
+ root_menu: Документы # Корневой элемент меню
7
+ # Строим меню по объектам документа
8
+ menu: >
9
+ (
10
+ $root_menu := entities.docs.config.root_menu;
11
+ $append([
12
+ {
13
+ "title": 'Документы',
14
+ "location": $root_menu,
15
+ "expand": true,
16
+ "icon": 'description'
17
+ }
18
+ ],
19
+ docs.$spread().(
20
+ $location := *.location~>$substring(0, 1) = "/"
21
+ ? *.location~>$substring(1)
22
+ : $root_menu & "/" & *.location;
23
+ *.location ? {
24
+ "location": $location,
25
+ "order": *.order,
26
+ "link": "entities/docs/blank?dh-doc-id=" & $keys()[0]
27
+ }
28
+ )
29
+ )
30
+ )
31
+ # Схема данных объекта "Документ"
32
+ schema:
33
+ type: object
34
+ patternProperties:
35
+ "^[0-9a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z][a-zA-Z0-9_-]*)*$":
36
+ type: object
37
+ properties:
38
+ title:
39
+ title: Название документа
40
+ type: string
41
+ location:
42
+ title: Место расположения в меню
43
+ type: string
44
+ icon:
45
+ title: Иконка в меню
46
+ type: string
47
+ type:
48
+ title: Тип документа
49
+ type: string
50
+ subjects:
51
+ title: Принадлежит объектам
52
+ type: array
53
+ items:
54
+ type: string
55
+ template:
56
+ title: Путь к файлу шаблона
57
+ type: string
58
+ source:
59
+ title: Источник данных (документ, объект, запрос или dataset)
60
+ anyOf:
61
+ - type: string
62
+ title: Идентификатор dataset
63
+ pattern: "^[0-9a-zA-Z][a-zA-Z0-9\_]*(\\.[a-zA-Z][a-zA-Z0-9\\_]*)*$"
64
+ - type: string
65
+ title: JSONata запрос
66
+ pattern: "\\s*\\((.|\\s)*\\)\\s*"
67
+ - title: Ссылка на документ
68
+ "$ref": "#/$defs/$res-uri-reference"
69
+ - title: Объект
70
+ type: object
71
+ - title: Массив
72
+ type: array
73
+ additionalProperties: false
@@ -0,0 +1,28 @@
1
+ # Расширение сущности "Contexts" для генерации PlantUML диаграмм
2
+ entities:
3
+ docs:
4
+ # Основное представление документов
5
+ presentations:
6
+ blank:
7
+ title: Представление документа
8
+ params:
9
+ title: Требуемые параметры для презентации
10
+ type: object
11
+ properties:
12
+ "dh-doc-id":
13
+ title: Идентификатор документа
14
+ type: string
15
+ pattern: ^[0-9a-zA-Z][a-zA-Z0-9_-]*(\.[a-zA-Z][a-zA-Z0-9_-]*)*$
16
+ required:
17
+ - dh-doc-id
18
+ $constructor: >
19
+ (
20
+ /* Получаем объект документа */
21
+ $doc := $lookup(docs, $params."dh-doc-id");
22
+ /* Для рендера берем за основу объект документа */
23
+ $merge([$doc, (
24
+ {
25
+ "$base": "/docs/" & $params."dh-doc-id"
26
+ }
27
+ )])
28
+ )
@@ -0,0 +1,3 @@
1
+ imports:
2
+ - base.yaml
3
+ - blank.yaml
@@ -0,0 +1,5 @@
1
+ imports:
2
+ - components/root.yaml
3
+ - aspects/root.yaml
4
+ - contexts/root.yaml
5
+ - documents/root.yaml
@@ -0,0 +1,2 @@
1
+ imports:
2
+ - tools.yaml
@@ -0,0 +1,46 @@
1
+ # Пользовательские функции
2
+ functions:
3
+ dh_object_to_text:
4
+ title: Конвертирует объект в текст для создания поисковых индексов
5
+ # Схема входящих параметров
6
+ params:
7
+ - alias: object
8
+ type: object
9
+ title: Объект конвертации
10
+ required: true
11
+ - type: object
12
+ title: Объект конвертации
13
+ - type: object
14
+ title: Объект конвертации
15
+ # Схема результата
16
+ result:
17
+ type: string
18
+ # Код функции
19
+ code: >
20
+ (
21
+ $
22
+ )
23
+ dh_deep_lookup:
24
+ title: Получение значения вложенного ключа
25
+ # Схема входящих параметров
26
+ params:
27
+ - alias: object
28
+ type: object
29
+ title: Объект для извлечения
30
+ required: true
31
+ - alias: path
32
+ type: string
33
+ title: Ссылка на вложенный ключ
34
+ # Код функции
35
+ code: >
36
+ (
37
+ $path := path;
38
+ $object := object;
39
+
40
+ $keys := $path ~> $split(".");
41
+
42
+ $keys ~> $reduce(function($acc, $key) {
43
+ $acc ? $lookup($acc, $key) : null
44
+ }, $object)
45
+ )
46
+
@@ -0,0 +1,24 @@
1
+ $package:
2
+ dochub: # Идентификатор пакета
3
+ # Краткое название пакета
4
+ name: DocHub метамодель
5
+ # Поставщик
6
+ vendor: R.Piontik
7
+ # Описание
8
+ description: Облегченная метамодель для описания прикладного слоя
9
+ # Версия
10
+ version: 4.1.0
11
+
12
+ # Базовая метамодель DocHub. Включает в себя сущности
13
+ # components - Архитектурные компоненты.
14
+ # aspects - Архитектурные аспекты. Позволяют выделить и отобразить на
15
+ # диаграмме компоненты реализующие, например, бизнес-функцию.
16
+ # contexts - Контексты представления архитектурных компонентов.
17
+ # Позволяет выделить группу компонентов и отобразить ее по
18
+ # смыслу заложенному в контекст. Например, выделить все компоненты
19
+ # инфраструктуры. Через контексты реализуется смысл C4 Model.
20
+ # rules - Правила контроля целостности описания архитектуры
21
+ imports:
22
+ - entities/root.yaml
23
+ - rules/root.yaml
24
+ - functions/root.yaml
@@ -0,0 +1,2 @@
1
+ imports:
2
+ - validators.yaml
@@ -0,0 +1,144 @@
1
+ # Правила контроля целостности SEAF.ArchTool
2
+ rules:
3
+ validators:
4
+ archtool:
5
+ title: SEAF.ArchTool
6
+ archtool.metamodel:
7
+ title: Контроль ядра метамодели
8
+ archtool.metamodel.contexts:
9
+ title: Контроль целостности контекстов
10
+ archtool.metamodel.contexts.no_found_component:
11
+ title: Несуществующие компоненты
12
+ source: >
13
+ ([(
14
+ $MANIFEST := $;
15
+ contexts.$spread().(
16
+ $CONTEXT_ID := $keys()[0];
17
+ *.components.
18
+ {
19
+ "contextID": $CONTEXT_ID,
20
+ "componentID": $
21
+ };
22
+ )[$ and $not($exists($match(componentID,/(^\*)*\*(^\*)*/))) and $not($exists($lookup($MANIFEST.components, componentID)))]
23
+ ).{
24
+ "uid": "$dh-mm-nfc-" & contextID & "-" & componentID,
25
+ "correction": "Определите компонент или удалите ссылку на него в контексте",
26
+ "description": "Возможно компонент [" & componentID & "] не описан или описан в подключаемой
27
+ кодовой базе архитектуры, которая сейчас недоступна.",
28
+ "location": "/architect/contexts/" & contextID
29
+ }])
30
+ archtool.metamodel.contexts.outof:
31
+ title: Компоненты вне контекста
32
+ source: >
33
+ (
34
+ $MANIFEST := $;
35
+ $USED := $distinct(contexts.*.components);
36
+ [components.$spread().(
37
+ $ID := $keys()[0];
38
+ {
39
+ "id" : $ID,
40
+ "mask" : $USED[$wcard($ID, $)]
41
+ }
42
+ )[$not($exists(mask))].{
43
+ "uid": "$dh-mm-ofb-" & id,
44
+ "correction": "Добавьте компонент в контекст",
45
+ "description": "Предполагается, что компонент не включенный в контекст не учтен.",
46
+ "location": "/architect/components/" & id
47
+ }]
48
+ )
49
+ archtool.metamodel.components:
50
+ title: Контроль целостности компонентов
51
+ archtool.metamodel.components.no_found_aspect:
52
+ title: Аспект не определен
53
+ source: >
54
+ ([(
55
+ $MANIFEST := $;
56
+ components.$spread().(
57
+ $COMPONENT_ID := $keys()[0];
58
+ *.aspects.
59
+ {
60
+ "componentID": $COMPONENT_ID,
61
+ "aspectID": $
62
+ };
63
+ )[$ and $not($exists($lookup($MANIFEST.aspects, aspectID)))]
64
+ ).{
65
+ "uid": "$dh-mm-nfa-" & contextID & "-" & componentID,
66
+ "correction": "Определите аспект или удалите ссылку на него",
67
+ "description": "Возможно аспект [" & aspectID & "] не описан или описан в подключаемой
68
+ кодовой базе архитектуры, которая сейчас недоступна.",
69
+ "location": "/architect/spects/" & aspectID
70
+ }])
71
+ archtool.metamodel.components.no_define_parent:
72
+ title: Компонент верхнего уровня не определен
73
+ source: >
74
+ (
75
+ $ens := function($id) {
76
+ (
77
+ $ids := $split($id, ".");
78
+ $join($map($ids, function($v, $i, $a) {
79
+ $i < $count($ids) - 1 ? $v : undefined
80
+ }), ".")
81
+ )
82
+ };
83
+
84
+ $MANIFEST := $;
85
+
86
+ [[$distinct(components.$spread().(
87
+ $ens($keys()[0])
88
+ ))[$not($exists($lookup($MANIFEST.components, $)))]].{
89
+ "uid": "$dh-mm-cmp-ndp-" & $,
90
+ "correction": "Опишите компонент с идентификатором [" & $ & "]",
91
+ "description": "Предполагается, что для всех уровней компоненты определены."
92
+ }]
93
+ )
94
+ archtool.metamodel.components.links:
95
+ title: Связь компонентов
96
+ archtool.metamodel.components.links.nofound:
97
+ title: Связь с несуществующими компонентами
98
+ source: >
99
+ (
100
+ $MANIFEST := $;
101
+ [[components.$spread().(
102
+ $ID := $keys()[0];
103
+ $.*.links.{
104
+ "ownerID": $ID,
105
+ "linkID": id
106
+ }
107
+ )[$ and $not($exists($lookup($MANIFEST.components, linkID)))]].{
108
+ "uid": "$dh-mm-cmp-lnk-nf-" & ownerID & "-" & linkID,
109
+ "correction": "Определите компонент [" & linkID & "] или удалите ссылку на него",
110
+ "description": "Возможно компонент [" & linkID & "] не описан или описан в подключаемой
111
+ кодовой базе архитектуры, которая сейчас недоступна.",
112
+ "location": "/architect/components/" & ownerID
113
+ }]
114
+ )
115
+ archtool.metamodel.aspects:
116
+ title: Контроль целостности аспектов
117
+ archtool.metamodel.aspects.no_define_parent:
118
+ title: Аспект верхнего уровня не определен
119
+ source: >
120
+ (
121
+ $ens := function($id) {
122
+ (
123
+ $ids := $split($id, ".");
124
+ $join($map($ids, function($v, $i, $a) {
125
+ $i < $count($ids) - 1 ? $v : undefined
126
+ }), ".")
127
+ )
128
+ };
129
+
130
+ $MANIFEST := $;
131
+
132
+ [[$distinct(aspects.$spread().(
133
+ $ens($keys()[0])
134
+ ))[$not($exists($lookup($MANIFEST.aspects, $)))]].{
135
+ "uid": "$dh-mm-apt-ndp-" & $,
136
+ "correction": "Опишите аспект с идентификатором [" & $ & "]",
137
+ "description": "Предполагается, что для всех уровней аспекты определены."
138
+ }]
139
+ )
140
+
141
+
142
+
143
+
144
+
@@ -0,0 +1,23 @@
1
+ components:
2
+ component1:
3
+ title: Component1
4
+ entity: component
5
+ links:
6
+ - id: component2
7
+ title: Связь 1
8
+ direction: <->
9
+ component2:
10
+ title: Component2
11
+ entity: component
12
+ links:
13
+ - id: component3
14
+ title: Связь 1
15
+ direction: <->
16
+ component3:
17
+ title: Component3
18
+ entity: component
19
+ links:
20
+ - id: component1
21
+ title: Связь 1
22
+ direction: <->
23
+
@@ -0,0 +1,23 @@
1
+ # Базовое описание сущности "Contexts"
2
+ contexts:
3
+ test:
4
+ location: Проба/Тест
5
+ title: Проба
6
+ extra-links: false
7
+ template: test/test.puml
8
+ components:
9
+ - archtool.front
10
+ api:
11
+ fetchComponents: >
12
+ (
13
+ {
14
+ "test.c1": {
15
+ "title": "test",
16
+ "entity": "component"
17
+ },
18
+ "test.c2": {
19
+ "title": "test",
20
+ "entity": "component"
21
+ }
22
+ }
23
+ )
@@ -0,0 +1,10 @@
1
+ docs:
2
+ test:
3
+ location: test
4
+ type: plantuml
5
+ source: >
6
+ (
7
+ $
8
+ )
9
+ template: test.puml
10
+
@@ -0,0 +1,4 @@
1
+ imports:
2
+ - 01_components.yaml
3
+ - 02_contexts.yaml
4
+ - 03_documents.yaml
@@ -0,0 +1,17 @@
1
+ @startuml
2
+ participant Participant as Foo
3
+ actor Actor as Foo1
4
+ boundary Boundary as Foo2
5
+ control Control as Foo3
6
+ entity Entity as Foo4
7
+ database Database as Foo5
8
+ collections Collections as Foo6
9
+ queue Queue as Foo7
10
+ Foo -> Foo1 : To actor
11
+ Foo -> Foo2 : To boundary
12
+ Foo -> Foo3 : To control
13
+ Foo -> Foo4 : To entity
14
+ Foo -> Foo5 : To database
15
+ Foo -> Foo6 : To collections
16
+ Foo -> Foo7 : To queue
17
+ @enduml
@@ -0,0 +1,5 @@
1
+ imports:
2
+ # - http://localhost:8080/metamodel/root.yaml
3
+ # - http://localhost:8080/documentation/root.yaml
4
+ # - https://dochub.info/documentation/root.yaml
5
+ # - root.yaml