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

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 +29 -0
  298. package/plugin.html +1961 -0
@@ -0,0 +1,59 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="11.1.0">
3
+ <process id="{{id}}" isExecutable="false">
4
+ <startEvent id="{{start.stepid}}" name="{{start.name}}">
5
+ <outgoing>{{start.outgoing}}</outgoing>
6
+ </startEvent>
7
+
8
+ {{#steps}}
9
+ <task id="{{stepid}}" name="{{name}}">
10
+ <incoming>{{incoming}}</incoming>
11
+ <outgoing>{{outgoing}}</outgoing>
12
+ </task>
13
+ <sequenceFlow id="{{flowid}}" sourceRef="{{sourceRef}}" targetRef="{{targetRef}}" />
14
+ {{/steps}}
15
+
16
+ <exclusiveGateway id="{{end.stepid}}" name="{{end.name}}">
17
+ <incoming>{{end.incoming}}</incoming>
18
+ </exclusiveGateway>
19
+ <sequenceFlow id="{{end.flowid}}" sourceRef="{{end.sourceRef}}" targetRef="{{end.targetRef}}" />
20
+ </process>
21
+ <bpmndi:BPMNDiagram id="BpmnDiagram_1">
22
+ <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="{{id}}">
23
+
24
+ <bpmndi:BPMNShape id="step0_di" bpmnElement="step0">
25
+ <omgdc:Bounds x="192" y="{{start.shapey}}" width="36" height="36" />
26
+ <bpmndi:BPMNLabel>
27
+ <omgdc:Bounds x="173" y="{{start.labely}}" width="73" height="14" />
28
+ </bpmndi:BPMNLabel>
29
+ </bpmndi:BPMNShape>
30
+
31
+ {{#steps}}
32
+ <bpmndi:BPMNShape id="{{stepid}}_di" bpmnElement="{{stepid}}">
33
+ <omgdc:Bounds x="160" y="{{shapey}}" width="100" height="80" />
34
+ </bpmndi:BPMNShape>
35
+ {{/steps}}
36
+
37
+ <bpmndi:BPMNShape id="end_di" bpmnElement="{{end.stepid}}" isMarkerVisible="true">
38
+ <omgdc:Bounds x="185" y="{{end.shapey}}" width="50" height="50" />
39
+ <bpmndi:BPMNLabel>
40
+ <omgdc:Bounds x="178" y="{{end.labely}}" width="66" height="14" />
41
+ </bpmndi:BPMNLabel>
42
+ </bpmndi:BPMNShape>
43
+
44
+
45
+ {{#steps}}
46
+ <bpmndi:BPMNEdge id="{{flowid}}_di" bpmnElement="{{flowid}}">
47
+ <omgdi:waypoint x="210" y="{{flowy}}" />
48
+ <omgdi:waypoint x="210" y="{{flowdy}}" />
49
+ </bpmndi:BPMNEdge>
50
+ {{/steps}}
51
+
52
+ <bpmndi:BPMNEdge id="{{end.flowid}}_di" bpmnElement="{{end.flowid}}">
53
+ <omgdi:waypoint x="210" y="{{end.flowy}}" />
54
+ <omgdi:waypoint x="210" y="{{end.flowdy}}" />
55
+ </bpmndi:BPMNEdge>
56
+
57
+ </bpmndi:BPMNPlane>
58
+ </bpmndi:BPMNDiagram>
59
+ </definitions>
@@ -0,0 +1,11 @@
1
+ @startwbs
2
+ * [[/entities/docs/blank?dh-doc-id=archtool.flex_metamodel.entities Примеры созданных пользовательских сущностей "Взаимодействия"]]
3
+ {{#.}}
4
+ {{#link}}
5
+ {{level}} [[{{&link}} {{title}}]]
6
+ {{/link}}
7
+ {{^link}}
8
+ {{level}} {{title}}
9
+ {{/link}}
10
+ {{/.}}
11
+ @endwbs
@@ -0,0 +1,33 @@
1
+ # Copyright (C) 2022 owner Roman Piontik R.Piontik@mail.ru
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # In any derivative products, you must retain the information of
10
+ # owner of the original code and provide clear attribution to the project
11
+ #
12
+ # https://dochub.info
13
+ #
14
+ # The use of this product or its derivatives for any purpose cannot be a secret.
15
+ #
16
+ # Unless required by applicable law or agreed to in writing, software
17
+ # distributed under the License is distributed on an "AS IS" BASIS,
18
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ # See the License for the specific language governing permissions and
20
+ # limitations under the License.
21
+ #
22
+ # Maintainers:
23
+ # R.Piontik <r.piontik@mail.ru>
24
+ #
25
+ # Contributors:
26
+ # R.Piontik <r.piontik@mail.ru> - 2022
27
+
28
+
29
+ imports: # Подключение манифестов
30
+ # Кастомная сущность
31
+ - interactions/entity.yaml
32
+ # Расширение сущности - добавляется виджет
33
+ - extentions/entity.yaml
@@ -0,0 +1,37 @@
1
+ # Copyright (C) 2022 owner Roman Piontik R.Piontik@mail.ru
2
+ # Copyright (C) 2023 Sber
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # In any derivative products, you must retain the information of
11
+ # owner of the original code and provide clear attribution to the project
12
+ #
13
+ # https://dochub.info
14
+ #
15
+ # The use of this product or its derivatives for any purpose cannot be a secret.
16
+ #
17
+ # Unless required by applicable law or agreed to in writing, software
18
+ # distributed under the License is distributed on an "AS IS" BASIS,
19
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ # See the License for the specific language governing permissions and
21
+ # limitations under the License.
22
+ #
23
+ # Maintainers:
24
+ # R.Piontik <r.piontik@mail.ru>
25
+ #
26
+ # Contributors:
27
+ # R.Piontik <r.piontik@mail.ru> - 2022
28
+ # R.Piontik <r.piontik@mail.ru> - 2023
29
+ # Vladislav Nefedov, Sber - 2023
30
+
31
+
32
+ # Манифест описывающий сам SEAF.ArchTool
33
+ imports:
34
+ # Подключение манифестов
35
+ - docs/root.yaml
36
+ - arch/root.yaml
37
+ - entities/root.yaml
@@ -0,0 +1,73 @@
1
+ # Базовое описание сущности "Contexts"
2
+ entities:
3
+ aspects:
4
+ title: Аспекты
5
+ # Параметры использования аспектов
6
+ config:
7
+ root_menu: Архитектура/Аспекты # Размещение аспектов в меню
8
+ description: >
9
+ Архитектурные аспекты.
10
+ schema:
11
+ type: object
12
+ patternProperties:
13
+ "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z][a-zA-Z0-9_-]*)*$":
14
+ type: object
15
+ properties:
16
+ title:
17
+ title: Название аспекта
18
+ type: string
19
+ required:
20
+ - title
21
+ additionalProperties: false
22
+ # Определяет пути к объектам сущности
23
+ objects:
24
+ aspect:
25
+ route: "/" # Путь к аспекту
26
+ title: Арх. аспект # Название объекта
27
+ # JSONata генератор символа в svg для представления в диаграммах.
28
+ # $object - передается объект рендеринга. Может быть не определен. В этом случае, необходимо вернуть неспецифичный (общий) символ объекта.
29
+ # $ - Data Lake архитектуры. Может быть не определен, если Data Lake недоступен.
30
+ symbol: >
31
+ (
32
+ '<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">'
33
+ & '<title>alt-battery-4</title>'
34
+ & '<path d="M0 20q0 2.496 1.76 4.256t4.256 1.76h17.984q2.496 0 4.256-1.76t1.76-4.256h1.984v-8h-1.984q0-2.464-1.76-4.224t-4.256-1.76h-17.984q-2.496 0-4.256 1.76t-1.76 4.224v8zM4 20v-8q0-0.832 0.576-1.408t1.44-0.576h17.984q0.832 0 1.408 0.576t0.608 1.408v8q0 0.832-0.608 1.44t-1.408 0.576h-17.984q-0.832 0-1.44-0.576t-0.576-1.44zM6.016 20h1.984v-8h-1.984v8zM10.016 20h1.984v-8h-1.984v8zM14.016 20h1.984v-8h-1.984v8zM18.016 20h1.984v-8h-1.984v8z"></path>'
35
+ & '</svg>'
36
+ )
37
+ test:
38
+ route: "/"
39
+ title: Пробный объект
40
+ symbol: >
41
+ (
42
+ '<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">'
43
+ & '<title>alt-battery-4</title>'
44
+ & '<path d="M0 20q0 2.496 1.76 4.256t4.256 1.76h17.984q2.496 0 4.256-1.76t1.76-4.256h1.984v-8h-1.984q0-2.464-1.76-4.224t-4.256-1.76h-17.984q-2.496 0-4.256 1.76t-1.76 4.224v8zM4 20v-8q0-0.832 0.576-1.408t1.44-0.576h17.984q0.832 0 1.408 0.576t0.608 1.408v8q0 0.832-0.608 1.44t-1.408 0.576h-17.984q-0.832 0-1.44-0.576t-0.576-1.44zM6.016 20h1.984v-8h-1.984v8zM10.016 20h1.984v-8h-1.984v8zM14.016 20h1.984v-8h-1.984v8zM18.016 20h1.984v-8h-1.984v8z"></path>'
45
+ & '</svg>'
46
+ )
47
+ menu: >
48
+ (
49
+ $aspects := aspects;
50
+ $config := entities.aspects.config;
51
+ $makeLocation := function($id) {(
52
+ $arrleft := function($arr ,$count) {
53
+ $map($arr, function($v, $i) {
54
+ $i <= $count ? $v
55
+ })
56
+ };
57
+ $domains := $split($id, ".");
58
+ $config.root_menu & "/" & $join($map($domains, function($domain, $index) {(
59
+ $lookup($aspects, $join($arrleft($domains, $index), ".")).title
60
+ )}), "/");
61
+ )};
62
+ [$append([{
63
+ "link": "/entities/aspects/tree", /* Ссылка на форму представления аспектов в виде дерева */
64
+ "location": $config.root_menu /* Расположение в меню */
65
+ }],
66
+ [$aspects.$spread().(
67
+ *.location ? {
68
+ "link": "/entities/aspects/blank?dh-aspect-id=" & $keys()[0], /* Формируем ссылку на карточку */
69
+ "location": $makeLocation($keys()[0]) /* Формируем расположение в меню */
70
+ }
71
+ )][location]
72
+ )];
73
+ )
@@ -0,0 +1,65 @@
1
+ # Бланк архитектурного аспекта
2
+ entities:
3
+ aspects:
4
+ presentations:
5
+ blank:
6
+ title: Карточка аспекта
7
+ params:
8
+ type: object
9
+ properties:
10
+ dh-aspect-id:
11
+ title: Идентификатор аспекта
12
+ type: string
13
+ required:
14
+ - dh-aspect-id
15
+ type: mkr-grid
16
+ source: >
17
+ (
18
+ /* Получаем идентификатор аспекта для карточки */
19
+ $aspect_id := $params."dh-aspect-id";
20
+
21
+ /* Получаем виджеты, которые нужно отобразить */
22
+ $widgets := entities.aspects.presentations.blank.widgets;
23
+ $wleft := $widgets.*[align="<"]^(order);
24
+ $wright := $widgets.*[align=">"]^(order);
25
+ $wcenter := $widgets.*[$not(align=">" or align="<")]^(order);
26
+
27
+ /* Функция генерации профиля виджета для секции разметки */
28
+ $makeWidget := function($widgets) {(
29
+ [$widgets.{
30
+ "title": title,
31
+ "icon": icon,
32
+ "style": style ? style : {},
33
+ "src": "@entity/aspects/" & presentation & "?aspect=" & $aspect_id
34
+ }];
35
+ )};
36
+
37
+ /* Строим разметку страницы */
38
+ {
39
+ "type": "rows",
40
+ "items": $append(
41
+ [
42
+ {
43
+ "type": "columns",
44
+ "items": [
45
+ {
46
+ "type": "rows",
47
+ "width": "40%",
48
+ /* Строим список виджетов левой секции */
49
+ "items": $makeWidget($wleft)
50
+ },
51
+ {
52
+ "type": "rows",
53
+ "width": "60%",
54
+ /* Строим список виджетов правой секции */
55
+ "items": $makeWidget($wright)
56
+ }
57
+ ]
58
+ }
59
+ ],
60
+ /* Добавляем центральные виджеты */
61
+ $makeWidget($wcenter)
62
+ )
63
+ }
64
+ )
65
+
@@ -0,0 +1,52 @@
1
+ # Сводка по архитектурному аспекту
2
+ entities:
3
+ aspects:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ components: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: description
12
+ # Название виджета
13
+ title: Встречается в компонентах
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: components
16
+ # Расположение слева
17
+ align: "<"
18
+ # Порядок расположения
19
+ order: 15
20
+ # Определяем стиль виджета
21
+ style:
22
+ border: true
23
+ padding: 0px
24
+ margin: 0px
25
+ components:
26
+ title: Компоненты
27
+ params:
28
+ type: object
29
+ properties:
30
+ aspect:
31
+ title: Идентификатор аспекта
32
+ type: string
33
+ required:
34
+ - aspect
35
+ type: markdown
36
+ template: templates/components.md
37
+ source: >
38
+ (
39
+ $MANIFEST := $;
40
+ $ASPECT := $params.aspect;
41
+ { "components": components.$spread().(
42
+ $KEY := $keys()[0];
43
+ $.*.aspects[$ = $ASPECT] ? [(
44
+ $COMPONENT := $lookup($MANIFEST.components, $KEY);
45
+ {
46
+ "title": $COMPONENT.title,
47
+ "id" : $KEY
48
+ }
49
+ )]
50
+ )
51
+ }
52
+ )
@@ -0,0 +1,57 @@
1
+ # Сводка по архитектурному аспекту
2
+ entities:
3
+ aspects:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ contexts: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: description
12
+ # Название виджета
13
+ title: Контексты
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: contexts
16
+ # Расположение слева
17
+ align: ">"
18
+ # Порядок расположения
19
+ order: 10
20
+ # Определяем стиль виджета
21
+ style:
22
+ border: true
23
+ min-height: 300px
24
+ margin: 4px
25
+ contexts:
26
+ title: Контексты где встречается аспект
27
+ params:
28
+ type: object
29
+ properties:
30
+ aspect:
31
+ title: Идентификатор аспекта
32
+ type: string
33
+ required:
34
+ - aspect
35
+ type: mkr-select
36
+ source: >
37
+ (
38
+ $aspect_id := $params.aspect;
39
+ $MANIFEST := $;
40
+ [$distinct(
41
+ components.$spread().(
42
+ $COMPONENT_ID := $keys()[0];
43
+ *.[$aspect_id in aspects] ?
44
+ (
45
+ [$MANIFEST.contexts.$spread().(
46
+ $CONTEXT_ID := $keys()[0];
47
+ $TITLE := *.title;
48
+ *.components[$wcard($COMPONENT_ID, $)].{
49
+ "id": $CONTEXT_ID,
50
+ "title": $TITLE,
51
+ "src": "@entity/contexts/plantuml?dh-context-id=" & $CONTEXT_ID & "&dh-focus-id=" & $aspect_id
52
+ }
53
+ )];
54
+ ) : undefined
55
+ ))];
56
+ )
57
+
@@ -0,0 +1,51 @@
1
+ # Сводка по архитектурному аспекту
2
+ entities:
3
+ aspects:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ docs: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: description
12
+ # Название виджета
13
+ title: Документы
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: docs
16
+ # Расположение слева
17
+ align: "<"
18
+ # Порядок расположения
19
+ order: 20
20
+ # Определяем стиль виджета
21
+ style:
22
+ border: true
23
+ padding: 12px
24
+ margin: 4px
25
+ docs:
26
+ title: Документы
27
+ params:
28
+ type: object
29
+ properties:
30
+ aspect:
31
+ title: Идентификатор аспекта
32
+ type: string
33
+ required:
34
+ - aspect
35
+ type: mkr-tree
36
+ source: >
37
+ (
38
+ $ASPECT_ID := $params.aspect;
39
+ $MANIFEST := $;
40
+ [docs.$spread().(
41
+ $LINK := "/docs/" & $keys()[0];
42
+ $ASPECT_ID in *.subjects ?
43
+ [$[$ASPECT_ID in *.subjects]
44
+ {
45
+ "location": *.location,
46
+ "title": *.description,
47
+ "link": $LINK
48
+ }] : undefined;
49
+ )[location]^(location)];
50
+ )
51
+
@@ -0,0 +1,80 @@
1
+ # Сводка по архитектурному аспекту
2
+ entities:
3
+ aspects:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ hierarchy: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: description
12
+ # Название виджета
13
+ title: Иерархия аспекта
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: hierarchy
16
+ # Расположение слева
17
+ align: "<"
18
+ # Порядок расположения
19
+ order: 30
20
+ # Определяем стиль виджета
21
+ style:
22
+ border: true
23
+ margin: 4px
24
+ hierarchy:
25
+ title: Иерархия аспекта
26
+ params:
27
+ type: object
28
+ properties:
29
+ aspect:
30
+ title: Идентификатор аспекта
31
+ type: string
32
+ required:
33
+ - aspect
34
+ type: plantuml
35
+ template: templates/hierarchy.puml
36
+ source: >
37
+ (
38
+ $ASPECTS := aspects;
39
+ /* Определяем фильтр для выделяемой иерархической структуры */
40
+ $FILTER := $params.aspect;
41
+ $FILTER_LN := $length($FILTER);
42
+ /* Определяем иерархию владельцев */
43
+ $PARENTS := $FILTER.$split(".")~>$map(function($v, $LIMIT, $a){(
44
+ $a~>$map(function($v, $i) { $i <= $LIMIT ? $v})~>$join(".");
45
+ )});
46
+ $merge((
47
+ /* Выбираем их компонентов нужные для построения диаграммы */
48
+ [$ASPECTS.$spread().(
49
+ $ID := $keys()[0];
50
+ $PREFIX := $substring($ID, 0, $FILTER_LN + 1);
51
+ $FILTER_LN = 0
52
+ or ($PREFIX = $FILTER) or ($PREFIX = ($FILTER & "."))
53
+ or ($ID in $PARENTS) ? $ID;
54
+ )]
55
+ ).(
56
+ /* Готовим полный массив идентификаторов */
57
+ ($~>$split(".")~>$map(function($v, $limit, $struct) {
58
+ {
59
+ $struct~>$map(function($pice, $index) {
60
+ $index <= $limit ? $pice
61
+ })~>$join("."): true
62
+ }
63
+ }))
64
+ )
65
+ ).$spread().(
66
+ /* Готовим массив для вывода */
67
+ $ID := $keys()[0];
68
+ $ASPECT := $lookup($ASPECTS, $ID);
69
+ {
70
+ "id": $ID,
71
+ "title": $ASPECT.title ? $ASPECT.title : $ID,
72
+ "link": $CONTEXT ? "/architect/aspects/" & $ID : "/architect/aspects/" & $ID
73
+ }
74
+ )^(id).(
75
+ /* Готовим PlantUML код для MindMap */
76
+ $color := id = $FILTER ? "[#FFBBCC]" : "";
77
+ $content := id = title ? " " & title : " [[" & link & " " & title & "]]";
78
+ "*" & $join($split(id, ".").("*")) & $color & $content
79
+ )~>$join("\n");
80
+ )
@@ -0,0 +1,9 @@
1
+ imports:
2
+ - base.yaml
3
+ - tree.yaml
4
+ - blank.yaml
5
+ - contexts.yaml
6
+ - summary.yaml
7
+ - hierarchy.yaml
8
+ - docs.yaml
9
+ - components.yaml
@@ -0,0 +1,64 @@
1
+ # Сводка по архитектурному аспекту
2
+ entities:
3
+ aspects:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ summary: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: settings
12
+ # Название виджета
13
+ title: Сводка по аспекту
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: summary
16
+ # Расположение слева
17
+ align: "<"
18
+ # Порядок расположения
19
+ order: 10
20
+ # Определяем стиль виджета
21
+ style:
22
+ margin: 4px
23
+ border: true
24
+ summary:
25
+ title: Сводка по аспекту
26
+ params:
27
+ type: object
28
+ properties:
29
+ aspect:
30
+ title: Идентификатор аспекта
31
+ type: string
32
+ required:
33
+ - aspect
34
+ type: markdown
35
+ template: templates/summary.md
36
+ source: >
37
+ (
38
+ $ASPECT_ID := $params.aspect;
39
+ $MANIFEST := $;
40
+ $lookup(aspects, $ASPECT_ID).(
41
+ $ASPECT := $;
42
+ $FORM := $MANIFEST.forms["aspect" in entity].fields;
43
+ $FIELDS := $append([
44
+ {
45
+ "title": "Идентификатор",
46
+ "content": $ASPECT_ID,
47
+ "field": "id",
48
+ "required": true
49
+ },
50
+ {
51
+ "title": "Название",
52
+ "content": title,
53
+ "field": "title",
54
+ "required": true
55
+ }
56
+ ], $FORM.$spread().{
57
+ "title": $.*.title,
58
+ "required": $.*.required,
59
+ "content": $lookup($ASPECT, $keys()[0]),
60
+ "field": $keys()[0]
61
+ });
62
+ )
63
+ )
64
+
@@ -0,0 +1,5 @@
1
+ {{#.}}
2
+ {{#components}}
3
+ * [{{title}}](/architect/components/{{id}})
4
+ {{/components}}
5
+ {{/.}}
@@ -0,0 +1,5 @@
1
+ @startwbs
2
+ * Архитектура
3
+ {{&.}}
4
+ @endwbs
5
+
@@ -0,0 +1,9 @@
1
+ {{#.}}
2
+ ```markuper-form-label
3
+ {{ title }}
4
+ ```
5
+ ```markuper-form-field
6
+ {{ &content }}
7
+ ```
8
+ {{/.}}
9
+
@@ -0,0 +1,5 @@
1
+ @startwbs
2
+ * Аспекты
3
+ {{&.}}
4
+ @endwbs
5
+
@@ -0,0 +1,37 @@
1
+ # Сводка по архитектурному аспекту
2
+ entities:
3
+ aspects:
4
+ presentations:
5
+ tree:
6
+ title: Иерархия аспектов
7
+ type: plantuml
8
+ template: templates/tree.puml
9
+ source: >
10
+ (
11
+ $ASPECTS := aspects;
12
+ $merge((
13
+ [$ASPECTS.$spread().(
14
+ $keys()[0]~>$split(".")~>$map(function($v, $limit, $struct) {
15
+ {
16
+ $struct~>$map(function($pice, $index) {
17
+ $index <= $limit ? $pice
18
+ })~>$join("."): true
19
+ }
20
+ })
21
+ )]
22
+ )
23
+ ).$spread().(
24
+ /* Готовим массив для вывода */
25
+ $ID := $keys()[0];
26
+ $ASPECT := $lookup($ASPECTS, $ID);
27
+ {
28
+ "id": $ID,
29
+ "title": $ASPECT.title ? $ASPECT.title : $ID,
30
+ "link": "/entities/aspects/blank?dh-aspect-id=" & $ID
31
+ }
32
+ )^(id).(
33
+ /* Готовим PlantUML код для MindMap */
34
+ $content := " [[" & link & " " & title & "]]";
35
+ "*" & $join($split(id, ".").("*")) & $content
36
+ )~>$join("\n");
37
+ )