@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.
- package/LICENSE +201 -0
- package/NOTICE +27 -0
- package/documentation/arch/aspects.yaml +81 -0
- package/documentation/arch/components/browser.yaml +51 -0
- package/documentation/arch/components/examples/context.yaml +37 -0
- package/documentation/arch/components/examples/order.yaml +92 -0
- package/documentation/arch/components/examples/payment.yaml +92 -0
- package/documentation/arch/components/examples/root.yaml +42 -0
- package/documentation/arch/components/front.yaml +309 -0
- package/documentation/arch/components/gitlab.yaml +81 -0
- package/documentation/arch/components/plantuml.yaml +57 -0
- package/documentation/arch/components/root.yaml +36 -0
- package/documentation/arch/components/user.yaml +41 -0
- package/documentation/arch/components/web.yaml +39 -0
- package/documentation/arch/contexts.yaml +99 -0
- package/documentation/arch/forms.yaml +36 -0
- package/documentation/arch/namespaces.yaml +43 -0
- package/documentation/arch/root.yaml +43 -0
- package/documentation/arch/rules.yaml +91 -0
- package/documentation/arch/technologies.yaml +84 -0
- package/documentation/dochub.yaml +32 -0
- package/documentation/docs/conception/archdistrib.puml +38 -0
- package/documentation/docs/conception/archeco.puml +11 -0
- package/documentation/docs/conception/archeco_proc.puml +29 -0
- package/documentation/docs/conception/archver.puml +24 -0
- package/documentation/docs/conception/facade.puml +20 -0
- package/documentation/docs/conception/introduction.md +144 -0
- package/documentation/docs/conception/mindmap.puml +55 -0
- package/documentation/docs/conception/root.yaml +66 -0
- package/documentation/docs/manual/aspects.md +37 -0
- package/documentation/docs/manual/backend/api.yaml +664 -0
- package/documentation/docs/manual/backend/search-implementation.md +190 -0
- package/documentation/docs/manual/backend/search.yaml +495 -0
- package/documentation/docs/manual/clickstream-setup.md +50 -0
- package/documentation/docs/manual/components.md +45 -0
- package/documentation/docs/manual/config/deployment.md +337 -0
- package/documentation/docs/manual/context_source.puml +17 -0
- package/documentation/docs/manual/contexts.md +200 -0
- package/documentation/docs/manual/datasets.md +120 -0
- package/documentation/docs/manual/docs/AI_TABLE_INTEGRATION.md +81 -0
- package/documentation/docs/manual/docs/asyncapi.md +63 -0
- package/documentation/docs/manual/docs/bpmn.md +122 -0
- package/documentation/docs/manual/docs/charts.md +371 -0
- package/documentation/docs/manual/docs/docs.md +76 -0
- package/documentation/docs/manual/docs/drawio_intro.md +397 -0
- package/documentation/docs/manual/docs/editable_table/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/root.yaml +9 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/table.yaml +396 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/template.md +404 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/table.yaml +136 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/template.md +247 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/pets.yaml +23 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/menu.yaml +34 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/table.yaml +36 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_root.md +110 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_table.md +3 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/template.md +300 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/data/data.yaml +10 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/data_column_1.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/table.yaml +52 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/template.md +117 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/root.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/table.yaml +116 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/template.md +231 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/data.yaml +30 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/table.yaml +122 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/template.md +276 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/data.yaml +11 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/table.yaml +40 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/template.md +59 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/table.yaml +35 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/template.md +142 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/data.yaml +40 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/table.yaml +77 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/template.md +146 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/template.md +3 -0
- package/documentation/docs/manual/docs/editable_table/template.md +24 -0
- package/documentation/docs/manual/docs/examples/asyncapi.yaml +77 -0
- package/documentation/docs/manual/docs/examples/asyncapi_template.json +11 -0
- package/documentation/docs/manual/docs/examples/autors.yaml +30 -0
- package/documentation/docs/manual/docs/examples/bpmn.xml +44 -0
- package/documentation/docs/manual/docs/examples/cat.jpg +0 -0
- package/documentation/docs/manual/docs/examples/charts-bar.yaml +61 -0
- package/documentation/docs/manual/docs/examples/charts-bubble.yaml +47 -0
- package/documentation/docs/manual/docs/examples/charts-doughnut.yaml +42 -0
- package/documentation/docs/manual/docs/examples/charts-line.yaml +55 -0
- package/documentation/docs/manual/docs/examples/charts-pie.yaml +37 -0
- package/documentation/docs/manual/docs/examples/charts-polararea.yaml +54 -0
- package/documentation/docs/manual/docs/examples/charts-radar.yaml +50 -0
- package/documentation/docs/manual/docs/examples/charts-scatter.yaml +48 -0
- package/documentation/docs/manual/docs/examples/charts.yaml +91 -0
- package/documentation/docs/manual/docs/examples/contexts.jsonata +8 -0
- package/documentation/docs/manual/docs/examples/date-picker-example.md +5 -0
- package/documentation/docs/manual/docs/examples/example.html +2 -0
- package/documentation/docs/manual/docs/examples/example.puml +17 -0
- package/documentation/docs/manual/docs/examples/example.yaml +53 -0
- package/documentation/docs/manual/docs/examples/ext-schema.yaml +3 -0
- package/documentation/docs/manual/docs/examples/inlinemeta.md +25 -0
- package/documentation/docs/manual/docs/examples/markaper.yaml +225 -0
- package/documentation/docs/manual/docs/examples/mermaid.mmd +32 -0
- package/documentation/docs/manual/docs/examples/openapi_template.json +16 -0
- package/documentation/docs/manual/docs/examples/pizza-collaboration.xml +383 -0
- package/documentation/docs/manual/docs/examples/sa-anim.yaml +209 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-boundary.yaml +94 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-leaves.yaml +94 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-title.yaml +98 -0
- package/documentation/docs/manual/docs/examples/sa-complex.yaml +92 -0
- package/documentation/docs/manual/docs/examples/sa-gravity.yaml +104 -0
- package/documentation/docs/manual/docs/examples/sa-group.yaml +93 -0
- package/documentation/docs/manual/docs/examples/sa-physical-connection.yaml +79 -0
- package/documentation/docs/manual/docs/examples/sa-query.jsonata +74 -0
- package/documentation/docs/manual/docs/examples/sa-symbol.yaml +72 -0
- package/documentation/docs/manual/docs/examples/sa-through-objects.yaml +46 -0
- package/documentation/docs/manual/docs/examples/sa-without-tips.yaml +43 -0
- package/documentation/docs/manual/docs/examples/showcases.jsonata +5 -0
- package/documentation/docs/manual/docs/examples/smartants_.yaml +160 -0
- package/documentation/docs/manual/docs/examples/table.yaml +341 -0
- package/documentation/docs/manual/docs/examples/template.puml +6 -0
- package/documentation/docs/manual/docs/examples/test.jsonata +3 -0
- package/documentation/docs/manual/docs/examples/toc/2header.md +8 -0
- package/documentation/docs/manual/docs/examples/toc/custom-toc-place-dup.md +37 -0
- package/documentation/docs/manual/docs/examples/toc/custom-toc-place.md +35 -0
- package/documentation/docs/manual/docs/examples/toc/root.yaml +38 -0
- package/documentation/docs/manual/docs/examples/toc/test.md +160 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/root.yaml +2 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/template.md +25 -0
- package/documentation/docs/manual/docs/gigachat/agents/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/gigachat.yaml +59 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/root.yaml +3 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/template.md +138 -0
- package/documentation/docs/manual/docs/gigachat/agents/root.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/gigachat.yaml +14 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/root.yaml +3 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/template.md +113 -0
- package/documentation/docs/manual/docs/gigachat/agents/template.md +62 -0
- package/documentation/docs/manual/docs/gigachat/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/root.yaml +4 -0
- package/documentation/docs/manual/docs/gigachat/settings/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/settings/root.yaml +2 -0
- package/documentation/docs/manual/docs/gigachat/settings/template.md +51 -0
- package/documentation/docs/manual/docs/gigachat/template.md +38 -0
- package/documentation/docs/manual/docs/images/cloud.png +0 -0
- package/documentation/docs/manual/docs/images/component.png +0 -0
- package/documentation/docs/manual/docs/images/system.png +0 -0
- package/documentation/docs/manual/docs/images/user.png +0 -0
- package/documentation/docs/manual/docs/markaper.md +278 -0
- package/documentation/docs/manual/docs/markdown.md +148 -0
- package/documentation/docs/manual/docs/mermaid.md +43 -0
- package/documentation/docs/manual/docs/network.md +117 -0
- package/documentation/docs/manual/docs/plantuml.md +28 -0
- package/documentation/docs/manual/docs/root.yaml +736 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/basic.yaml +13 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/diff.yaml +123 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/example_seaf_data.yaml +1689 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/root.yaml +5 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/templates.yaml +55 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/transformation.yaml +19 -0
- package/documentation/docs/manual/docs/seaf2drawio/object_description.md +35 -0
- package/documentation/docs/manual/docs/seaf2drawio/root.yaml +12 -0
- package/documentation/docs/manual/docs/seaf2drawio/seaf2drawio.md +118 -0
- package/documentation/docs/manual/docs/smartants.md +583 -0
- package/documentation/docs/manual/docs/svg_inline.md +66 -0
- package/documentation/docs/manual/docs/swagger.md +52 -0
- package/documentation/docs/manual/docs/tables.md +264 -0
- package/documentation/docs/manual/docs/templates/example.drawio +43 -0
- package/documentation/docs/manual/docs/templates/test.svg +79 -0
- package/documentation/docs/manual/docs/templates.md +361 -0
- package/documentation/docs/manual/docs/toc.md +137 -0
- package/documentation/docs/manual/entities/bstages.md +43 -0
- package/documentation/docs/manual/entities/bundle.md +105 -0
- package/documentation/docs/manual/entities/entities.md +727 -0
- package/documentation/docs/manual/entities/images/id_errors.png +0 -0
- package/documentation/docs/manual/entities/images/landspace.jpeg +0 -0
- package/documentation/docs/manual/entities/images/menu-single.jpeg +0 -0
- package/documentation/docs/manual/entities/images/menu-tree.jpeg +0 -0
- package/documentation/docs/manual/entities/images/object_select.png +0 -0
- package/documentation/docs/manual/entities/images/problems.png +0 -0
- package/documentation/docs/manual/entities/images/select_inter.png +0 -0
- package/documentation/docs/manual/entities/images/stages.jpg +0 -0
- package/documentation/docs/manual/entities/images/suggests.png +0 -0
- package/documentation/docs/manual/entities/intro.md +73 -0
- package/documentation/docs/manual/entities/rules.md +35 -0
- package/documentation/docs/manual/functions/example.yaml +50 -0
- package/documentation/docs/manual/functions/functions.md +51 -0
- package/documentation/docs/manual/functions/root.yaml +39 -0
- package/documentation/docs/manual/images/jbps1.1.png +0 -0
- package/documentation/docs/manual/images/jbps1.png +0 -0
- package/documentation/docs/manual/images/jbps2.png +0 -0
- package/documentation/docs/manual/images/vsc1.png +0 -0
- package/documentation/docs/manual/imports.md +59 -0
- package/documentation/docs/manual/introduction.md +38 -0
- package/documentation/docs/manual/jsonata.md +268 -0
- package/documentation/docs/manual/plugin-settings.md +134 -0
- package/documentation/docs/manual/plugins/interface.md +226 -0
- package/documentation/docs/manual/plugins/introduction.md +256 -0
- package/documentation/docs/manual/plugins/root.yaml +51 -0
- package/documentation/docs/manual/role-model.md +80 -0
- package/documentation/docs/manual/root-cluster-import.md +82 -0
- package/documentation/docs/manual/root.yaml +199 -0
- package/documentation/docs/manual/rules/exceptions.md +20 -0
- package/documentation/docs/manual/rules/exreason.md +3 -0
- package/documentation/docs/manual/rules/root.yaml +58 -0
- package/documentation/docs/manual/rules/rules.md +8 -0
- package/documentation/docs/manual/rules/standard.md +3 -0
- package/documentation/docs/manual/rules/validators.md +109 -0
- package/documentation/docs/manual/technologies.md +49 -0
- package/documentation/docs/root.yaml +32 -0
- package/documentation/docs/sequence.puml +48 -0
- package/documentation/docs/welcome.md +3 -0
- package/documentation/entities/extentions/entity.yaml +136 -0
- package/documentation/entities/extentions/templates/people.md +4 -0
- package/documentation/entities/interactions/entity.yaml +412 -0
- package/documentation/entities/interactions/templates/blank.puml +18 -0
- package/documentation/entities/interactions/templates/bpmn.xml +59 -0
- package/documentation/entities/interactions/templates/tree.puml +11 -0
- package/documentation/entities/root.yaml +33 -0
- package/documentation/root.yaml +37 -0
- package/metamodel/dochub/entities/aspects/base.yaml +73 -0
- package/metamodel/dochub/entities/aspects/blank.yaml +65 -0
- package/metamodel/dochub/entities/aspects/components.yaml +52 -0
- package/metamodel/dochub/entities/aspects/contexts.yaml +57 -0
- package/metamodel/dochub/entities/aspects/docs.yaml +51 -0
- package/metamodel/dochub/entities/aspects/hierarchy.yaml +80 -0
- package/metamodel/dochub/entities/aspects/root.yaml +9 -0
- package/metamodel/dochub/entities/aspects/summary.yaml +64 -0
- package/metamodel/dochub/entities/aspects/templates/components.md +5 -0
- package/metamodel/dochub/entities/aspects/templates/hierarchy.puml +5 -0
- package/metamodel/dochub/entities/aspects/templates/summary.md +9 -0
- package/metamodel/dochub/entities/aspects/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/aspects/tree.yaml +37 -0
- package/metamodel/dochub/entities/components/base.yaml +97 -0
- package/metamodel/dochub/entities/components/blank.yaml +64 -0
- package/metamodel/dochub/entities/components/contexts.yaml +55 -0
- package/metamodel/dochub/entities/components/docs.yaml +50 -0
- package/metamodel/dochub/entities/components/hierarchy.yaml +84 -0
- package/metamodel/dochub/entities/components/index.yaml +17 -0
- package/metamodel/dochub/entities/components/root.yaml +8 -0
- package/metamodel/dochub/entities/components/summary.yaml +58 -0
- package/metamodel/dochub/entities/components/symbol.yaml +113 -0
- package/metamodel/dochub/entities/components/templates/hierarchy.puml +5 -0
- package/metamodel/dochub/entities/components/templates/summary.md +8 -0
- package/metamodel/dochub/entities/components/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/components/tree.yaml +38 -0
- package/metamodel/dochub/entities/contexts/base.yaml +197 -0
- package/metamodel/dochub/entities/contexts/plantuml.yaml +241 -0
- package/metamodel/dochub/entities/contexts/root.yaml +5 -0
- package/metamodel/dochub/entities/contexts/smartants.yaml +177 -0
- package/metamodel/dochub/entities/contexts/templates/template.puml +183 -0
- package/metamodel/dochub/entities/contexts/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/contexts/tree.yaml +39 -0
- package/metamodel/dochub/entities/documents/base.yaml +73 -0
- package/metamodel/dochub/entities/documents/blank.yaml +28 -0
- package/metamodel/dochub/entities/documents/root.yaml +3 -0
- package/metamodel/dochub/entities/root.yaml +5 -0
- package/metamodel/dochub/functions/root.yaml +2 -0
- package/metamodel/dochub/functions/tools.yaml +46 -0
- package/metamodel/dochub/root.yaml +24 -0
- package/metamodel/dochub/rules/root.yaml +2 -0
- package/metamodel/dochub/rules/validators.yaml +144 -0
- package/metamodel/dochub/samples/01_components.yaml +23 -0
- package/metamodel/dochub/samples/02_contexts.yaml +23 -0
- package/metamodel/dochub/samples/03_documents.yaml +10 -0
- package/metamodel/dochub/samples/root.yaml +4 -0
- package/metamodel/dochub/samples/test.puml +17 -0
- package/metamodel/dochub.yaml +5 -0
- package/metamodel/docs/welcome.md +39 -0
- package/metamodel/root.yaml +8 -0
- package/package.json +29 -0
- package/plugin.html +1961 -0
|
@@ -0,0 +1,736 @@
|
|
|
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
|
+
# Rostislav Kabalin <kabalin2009@yandex.ru> - 2022
|
|
29
|
+
# R.Piontik <r.piontik@mail.ru> - 2023
|
|
30
|
+
# Vladislav Nefedov, Sber - 2023
|
|
31
|
+
# Vladislav Markin, Sber - 2023
|
|
32
|
+
# Александр Трубников <a.trubnikov@samolet.ru> - 2023
|
|
33
|
+
# R.Piontik <r.piontik@mail.ru> - 2024
|
|
34
|
+
|
|
35
|
+
imports:
|
|
36
|
+
- examples/table.yaml
|
|
37
|
+
- examples/charts.yaml
|
|
38
|
+
- examples/inlinemeta.md
|
|
39
|
+
- examples/markaper.yaml
|
|
40
|
+
- examples/toc/root.yaml
|
|
41
|
+
- gigachat/root.yaml
|
|
42
|
+
- editable_table/root.yaml
|
|
43
|
+
- seaf2drawio/root.yaml
|
|
44
|
+
docs:
|
|
45
|
+
# *****************************************
|
|
46
|
+
# Руководство по документам
|
|
47
|
+
# *****************************************
|
|
48
|
+
archtool.docs:
|
|
49
|
+
location: SEAF.ArchTool/Руководство/Документы
|
|
50
|
+
description: Документы
|
|
51
|
+
autor: R.Piontik # Кастомное поле - Автор документа
|
|
52
|
+
type: markdown
|
|
53
|
+
subjects:
|
|
54
|
+
- archtool.front
|
|
55
|
+
- archtool.front.spa
|
|
56
|
+
- archtool.front.spa.blank
|
|
57
|
+
- archtool.front.spa.blank.doc
|
|
58
|
+
source: docs.md
|
|
59
|
+
|
|
60
|
+
# *****************************************
|
|
61
|
+
# Примеры документов
|
|
62
|
+
# *****************************************
|
|
63
|
+
archtool.asyncapi:
|
|
64
|
+
location: SEAF.ArchTool/Руководство/Документы/AsyncAPI
|
|
65
|
+
description: Markdown
|
|
66
|
+
type: markdown
|
|
67
|
+
subjects:
|
|
68
|
+
- archtool.front
|
|
69
|
+
- archtool.front.spa
|
|
70
|
+
- archtool.front.spa.blank
|
|
71
|
+
- archtool.front.spa.blank.doc
|
|
72
|
+
source: asyncapi.md
|
|
73
|
+
|
|
74
|
+
archtool.example.asyncapi:
|
|
75
|
+
type: AsyncApi
|
|
76
|
+
subjects:
|
|
77
|
+
- archtool.front
|
|
78
|
+
- archtool.front.spa
|
|
79
|
+
- archtool.front.spa.blank
|
|
80
|
+
- archtool.front.spa.blank.doc
|
|
81
|
+
source: examples/asyncapi.yaml
|
|
82
|
+
|
|
83
|
+
archtool.bpmn:
|
|
84
|
+
location: SEAF.ArchTool/Руководство/Документы/BPMN
|
|
85
|
+
description: BPMN диаграммы
|
|
86
|
+
autor: R.Piontik
|
|
87
|
+
type: markdown
|
|
88
|
+
subjects:
|
|
89
|
+
- archtool.front
|
|
90
|
+
- archtool.front.spa
|
|
91
|
+
- archtool.front.spa.blank
|
|
92
|
+
- archtool.front.spa.blank.doc
|
|
93
|
+
source: bpmn.md
|
|
94
|
+
|
|
95
|
+
archtool.example.bpmn:
|
|
96
|
+
location: SEAF.ArchTool/Руководство/Документы/BPMN/Простой пример
|
|
97
|
+
type: bpmnjs
|
|
98
|
+
source: examples/bpmn.xml
|
|
99
|
+
|
|
100
|
+
archtool.example.bpmn.full:
|
|
101
|
+
location: SEAF.ArchTool/Руководство/Документы/BPMN/Расширенный пример
|
|
102
|
+
type: bpmnjs
|
|
103
|
+
source: examples/pizza-collaboration.xml
|
|
104
|
+
|
|
105
|
+
archtool.example.bpmn.analyse:
|
|
106
|
+
|
|
107
|
+
origin: examples/pizza-collaboration.xml # Указываем источником оригинальных данных XML файл
|
|
108
|
+
source: > # Обрабатываем XML
|
|
109
|
+
(
|
|
110
|
+
[$."semantic:definitions".*."semantic:task"."$"]
|
|
111
|
+
)
|
|
112
|
+
type: table # Тип документа "таблица"
|
|
113
|
+
headers: # Заголовки таблицы
|
|
114
|
+
- value: id
|
|
115
|
+
text: Идентификатор
|
|
116
|
+
sortable: true
|
|
117
|
+
align: left
|
|
118
|
+
width: 20%
|
|
119
|
+
- value: name
|
|
120
|
+
text: Название задачи
|
|
121
|
+
sortable: true
|
|
122
|
+
align: left
|
|
123
|
+
|
|
124
|
+
archtool.plugins.devtool_new:
|
|
125
|
+
location: SEAF.ArchTool/Руководство/Документы/DevTool
|
|
126
|
+
type: devtool
|
|
127
|
+
|
|
128
|
+
archtool.plugins.drawio:
|
|
129
|
+
location: SEAF.ArchTool/Руководство/Документы/Draw.io
|
|
130
|
+
type: markdown
|
|
131
|
+
source: drawio_intro.md
|
|
132
|
+
|
|
133
|
+
archtool.plugins.drawio.as_is:
|
|
134
|
+
location: SEAF.ArchTool/Руководство/Документы/Draw.io/Файл как есть
|
|
135
|
+
type: drawio
|
|
136
|
+
template: templates/example.drawio
|
|
137
|
+
|
|
138
|
+
archtool.plugins.drawio.parametrized:
|
|
139
|
+
location: SEAF.ArchTool/Руководство/Документы/Draw.io/Применили пост. обработку
|
|
140
|
+
type: drawio
|
|
141
|
+
template: templates/example.drawio
|
|
142
|
+
source: >
|
|
143
|
+
(
|
|
144
|
+
{
|
|
145
|
+
"xml_mutators" : [
|
|
146
|
+
{ "id": 1, "xpath": "//*[@id = 'test.sys1.c1']",
|
|
147
|
+
"params": { "style_self" : false},
|
|
148
|
+
"operation": {
|
|
149
|
+
"attrs": {
|
|
150
|
+
"c4Description": "Описание контейнера 1",
|
|
151
|
+
"c4Name": "Имя контейнера 1",
|
|
152
|
+
"c4Technology" : "Java, Spring"
|
|
153
|
+
},
|
|
154
|
+
"style": {
|
|
155
|
+
"fillColor": "red"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{ "id": 2, "xpath": "//*[@id = 'test.sys1.c2']",
|
|
160
|
+
"params": { "style_self" : false},
|
|
161
|
+
"operation": {
|
|
162
|
+
"attrs": {
|
|
163
|
+
"c4Description": "Описание контейнера 2",
|
|
164
|
+
"c4Name": "Имя контейнера 2",
|
|
165
|
+
"c4Technology" : "Java17, Spring"
|
|
166
|
+
},
|
|
167
|
+
"style": {
|
|
168
|
+
"fillColor": "green"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{ "id": 3, "xpath": "//*[@id = 'test.sys1.c3']",
|
|
173
|
+
"params": { "style_self" : false},
|
|
174
|
+
"operation": {
|
|
175
|
+
"attrs": {
|
|
176
|
+
"c4Description": "Описание контейнера 3",
|
|
177
|
+
"c4Name": "Имя контейнера 3",
|
|
178
|
+
"c4Technology" : "Java8, Springboot"
|
|
179
|
+
},
|
|
180
|
+
"style": {
|
|
181
|
+
"fillColor": "blue"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{ "id": 4, "xpath": "//*[@id = 'test.sys1']",
|
|
186
|
+
"params": { "style_self" : false},
|
|
187
|
+
"operation": {
|
|
188
|
+
"attrs": {
|
|
189
|
+
"c4Application": "Приложение 1",
|
|
190
|
+
"c4Name": "Имя ИС 1"
|
|
191
|
+
},
|
|
192
|
+
"style": {
|
|
193
|
+
"fillColor": "grey"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{ "id": 5, "xpath": "//*[@id = 'test.sys1.conn1']",
|
|
198
|
+
"params": { "style_self" : false},
|
|
199
|
+
"operation": {
|
|
200
|
+
"attrs": {
|
|
201
|
+
"c4Description": "Описание связи между компонентами",
|
|
202
|
+
"c4Technology": "Технология HTTP",
|
|
203
|
+
"extra_data": "Дополнительная информация отображаемая в tooltip элемента"
|
|
204
|
+
},
|
|
205
|
+
"style": {
|
|
206
|
+
"strokeColor": "orange"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
)
|
|
213
|
+
|
|
214
|
+
archtool.plugins.example:
|
|
215
|
+
location: SEAF.ArchTool/Руководство/Документы/HTML
|
|
216
|
+
type: html
|
|
217
|
+
headers:
|
|
218
|
+
head1:
|
|
219
|
+
type: test
|
|
220
|
+
source: examples/example.html
|
|
221
|
+
|
|
222
|
+
archtool.markdown:
|
|
223
|
+
location: SEAF.ArchTool/Руководство/Документы/Markdown
|
|
224
|
+
description: Markdown
|
|
225
|
+
autor: R.Piontik
|
|
226
|
+
type: markdown
|
|
227
|
+
subjects:
|
|
228
|
+
- archtool.front
|
|
229
|
+
- archtool.front.spa
|
|
230
|
+
- archtool.front.spa.blank
|
|
231
|
+
- archtool.front.spa.blank.doc
|
|
232
|
+
source: markdown.md
|
|
233
|
+
archtool.markdown.toc-info:
|
|
234
|
+
location: SEAF.ArchTool/Руководство/Документы/Markdown/02 Отключение и перенос автооглавления
|
|
235
|
+
description: Отключение автооглавления в md-документах
|
|
236
|
+
type: markdown
|
|
237
|
+
source: toc.md
|
|
238
|
+
|
|
239
|
+
archtool.mermaid:
|
|
240
|
+
location: SEAF.ArchTool/Руководство/Документы/Mermaid
|
|
241
|
+
description: Mermaid
|
|
242
|
+
autor: R.Piontik
|
|
243
|
+
type: markdown
|
|
244
|
+
subjects:
|
|
245
|
+
- archtool.front
|
|
246
|
+
- archtool.front.spa
|
|
247
|
+
- archtool.front.spa.blank
|
|
248
|
+
- archtool.front.spa.blank.doc
|
|
249
|
+
source: mermaid.md
|
|
250
|
+
|
|
251
|
+
archtool.example.mermaid:
|
|
252
|
+
type: Mermaid
|
|
253
|
+
subjects:
|
|
254
|
+
- archtool.front
|
|
255
|
+
- archtool.front.spa
|
|
256
|
+
- archtool.front.spa.blank
|
|
257
|
+
- archtool.front.spa.blank.doc
|
|
258
|
+
source: examples/mermaid.mmd
|
|
259
|
+
|
|
260
|
+
archtool.network:
|
|
261
|
+
location: SEAF.ArchTool/Руководство/Документы/Network
|
|
262
|
+
description: Network
|
|
263
|
+
autor: R.Piontik
|
|
264
|
+
type: markdown
|
|
265
|
+
subjects:
|
|
266
|
+
- archtool.front
|
|
267
|
+
- archtool.front.spa
|
|
268
|
+
- archtool.front.spa.blank
|
|
269
|
+
- archtool.front.spa.blank.doc
|
|
270
|
+
source: network.md
|
|
271
|
+
archtool.example.network:
|
|
272
|
+
type: Network
|
|
273
|
+
subjects:
|
|
274
|
+
- archtool.front
|
|
275
|
+
- archtool.front.spa
|
|
276
|
+
- archtool.front.spa.blank
|
|
277
|
+
- archtool.front.spa.blank.doc
|
|
278
|
+
source: >
|
|
279
|
+
(
|
|
280
|
+
$manifest := $;
|
|
281
|
+
/* Перебираем все компоненты */
|
|
282
|
+
$adges := $distinct(components.$spread().(
|
|
283
|
+
$node_id := $keys()[0];
|
|
284
|
+
$node := $.*;
|
|
285
|
+
/* Определяем связи */
|
|
286
|
+
$node.links.{
|
|
287
|
+
"from": $node_id,
|
|
288
|
+
"to": id,
|
|
289
|
+
"label": title
|
|
290
|
+
}
|
|
291
|
+
));
|
|
292
|
+
/* Выявляем ноды из связей */
|
|
293
|
+
$nodes := $distinct($append($adges.from, $adges.to)).(
|
|
294
|
+
$struct := $split($, ".");
|
|
295
|
+
$group := $replace($, "." & $reverse($struct)[0], "");
|
|
296
|
+
{
|
|
297
|
+
"id": $,
|
|
298
|
+
"label": $lookup($manifest.components, $).title,
|
|
299
|
+
"group": $group,
|
|
300
|
+
"level": $count($struct),
|
|
301
|
+
/* Позиционируем ноду тем выше, чем выше слой */
|
|
302
|
+
"y": $count($struct) * 200
|
|
303
|
+
}
|
|
304
|
+
);
|
|
305
|
+
/* Добавляем ноды легенды */
|
|
306
|
+
$nodes := $append($nodes, (
|
|
307
|
+
/* Получаем максимальную точку позиции нод */
|
|
308
|
+
$height := $max($nodes.y);
|
|
309
|
+
$groups := $distinct($nodes.group)^($);
|
|
310
|
+
/* Вычисляем центр легенды */
|
|
311
|
+
$offset := -($height / 2);
|
|
312
|
+
/* Определяем шаг легенды */
|
|
313
|
+
$step := $height / $count($groups);
|
|
314
|
+
/* Строим легенду */
|
|
315
|
+
$map($groups, function($v, $i, $a) {
|
|
316
|
+
{
|
|
317
|
+
"id": "legend-" & $string($i),
|
|
318
|
+
"x": -600,
|
|
319
|
+
"y": $i * $step + $offset,
|
|
320
|
+
"shape": "square",
|
|
321
|
+
"label": $v,
|
|
322
|
+
"group": $v,
|
|
323
|
+
"value": 1,
|
|
324
|
+
"fixed": true,
|
|
325
|
+
"physics": false
|
|
326
|
+
}
|
|
327
|
+
})
|
|
328
|
+
));
|
|
329
|
+
/* Выводим результат */
|
|
330
|
+
{
|
|
331
|
+
"nodes": $nodes, /* Массив нод */
|
|
332
|
+
"edges": $adges, /* Массив связей */
|
|
333
|
+
"options": { /* Параметры сетевой диаграммы https://visjs.github.io/vis-network/docs/network/ */
|
|
334
|
+
"clickToUse": false /* Отключаем обязательный клик перед взаимодействем с пользователем */
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
)
|
|
338
|
+
|
|
339
|
+
archtool.plantuml:
|
|
340
|
+
location: SEAF.ArchTool/Руководство/Документы/PlantUML
|
|
341
|
+
description: PlantUML
|
|
342
|
+
autor: R.Piontik
|
|
343
|
+
type: markdown
|
|
344
|
+
subjects:
|
|
345
|
+
- archtool.front
|
|
346
|
+
- archtool.front.spa
|
|
347
|
+
- archtool.front.spa.blank
|
|
348
|
+
- archtool.front.spa.blank.doc
|
|
349
|
+
source: plantuml.md
|
|
350
|
+
|
|
351
|
+
archtool.example.pml:
|
|
352
|
+
type: PlantUML
|
|
353
|
+
subjects:
|
|
354
|
+
- archtool.front
|
|
355
|
+
- archtool.front.spa
|
|
356
|
+
- archtool.front.spa.blank
|
|
357
|
+
- archtool.front.spa.blank.doc
|
|
358
|
+
source: examples/example.puml
|
|
359
|
+
|
|
360
|
+
archtool.smartants:
|
|
361
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts
|
|
362
|
+
description: SmartAnts
|
|
363
|
+
autor: R.Piontik
|
|
364
|
+
type: markdown
|
|
365
|
+
subjects:
|
|
366
|
+
- archtool.front
|
|
367
|
+
- archtool.front.spa
|
|
368
|
+
- archtool.front.spa.blank
|
|
369
|
+
- archtool.front.spa.blank.doc
|
|
370
|
+
source: smartants.md
|
|
371
|
+
|
|
372
|
+
archtool.smartants.examples.simple:
|
|
373
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/01 Простой пример
|
|
374
|
+
description: Простой пример использования SmartAnts
|
|
375
|
+
autor: R.Piontik
|
|
376
|
+
type: smartants # Тип документа
|
|
377
|
+
source: # Задаем константные данные для генерации диаграммы
|
|
378
|
+
header: # Заголовок диаграммы
|
|
379
|
+
title: Авторизация # Текст заголовка
|
|
380
|
+
style: # Стили заголовка
|
|
381
|
+
color: "#fbaaaa"
|
|
382
|
+
font-size: 22px
|
|
383
|
+
font-weight: 800
|
|
384
|
+
config: # Конфигурируем расположение элементов на диаграмме
|
|
385
|
+
distance: 120 # Дистанция между элементами
|
|
386
|
+
trackWidth: 24 # Ширина дорожек (треков)
|
|
387
|
+
nodes: # Определяем элементы диаграммы
|
|
388
|
+
system: # Идентификатор элемента. Определяем иерархию при отображении диаграммы
|
|
389
|
+
title: Система # Название компонента
|
|
390
|
+
symbol: system # Символ (примитив) которым будет представлен элемент на диаграмме
|
|
391
|
+
user:
|
|
392
|
+
title: Пользователь
|
|
393
|
+
symbol: user
|
|
394
|
+
links: # Связи между компонентами
|
|
395
|
+
- from: user # Откуда будет прокладываться маршрут
|
|
396
|
+
to: system # Куда
|
|
397
|
+
title: Логин и пароль # Описание маршрута
|
|
398
|
+
style: "->" # Направление маршрута <- / -> / <->
|
|
399
|
+
link: "/docs/dochub.swagger" # Ссылка перехода при клике на надпись
|
|
400
|
+
- from: system
|
|
401
|
+
to: user
|
|
402
|
+
title: JWT токен
|
|
403
|
+
style: "->"
|
|
404
|
+
link: "/docs/dochub.swagger"
|
|
405
|
+
archtool.smartants.examples.colors:
|
|
406
|
+
description: Пример раскрашивания линий
|
|
407
|
+
autor: R.Piontik
|
|
408
|
+
type: smartants
|
|
409
|
+
source:
|
|
410
|
+
config:
|
|
411
|
+
distance: 120
|
|
412
|
+
trackWidth: 24
|
|
413
|
+
nodes:
|
|
414
|
+
system:
|
|
415
|
+
title: Система
|
|
416
|
+
symbol: system
|
|
417
|
+
user:
|
|
418
|
+
title: Пользователь
|
|
419
|
+
symbol: user
|
|
420
|
+
links:
|
|
421
|
+
- from: user
|
|
422
|
+
to: system
|
|
423
|
+
title: Логин и пароль
|
|
424
|
+
style: "-[#ff0000]->" # Указывается цвет линии через RGB
|
|
425
|
+
link: "/docs/archtool.swagger"
|
|
426
|
+
- from: system
|
|
427
|
+
to: user
|
|
428
|
+
title: JWT токен
|
|
429
|
+
style: "-[#green]->" # Указывается цвет линии через alias
|
|
430
|
+
link: "/docs/archtool.swagger"
|
|
431
|
+
archtool.smartants.examples.domains:
|
|
432
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/02 Домены
|
|
433
|
+
description: Пример диаграммы SmartAnts с доменами
|
|
434
|
+
autor: R.Piontik
|
|
435
|
+
type: smartants
|
|
436
|
+
source:
|
|
437
|
+
config:
|
|
438
|
+
distance: 120
|
|
439
|
+
trackWidth: 24
|
|
440
|
+
nodes:
|
|
441
|
+
inside: # Определим домены
|
|
442
|
+
title: Внутренняя среда
|
|
443
|
+
background: lightgreen # добавим фон области
|
|
444
|
+
opacity: 0.3 # и прозрачность фона
|
|
445
|
+
outside:
|
|
446
|
+
title: Внешняя среда
|
|
447
|
+
inside.system: # Добавим в идентификатор принадлежность к домену "inside"
|
|
448
|
+
title: Система
|
|
449
|
+
symbol: system
|
|
450
|
+
outside.user: # Аналогично для пользователя добавим домен "outside"
|
|
451
|
+
title: Пользователь
|
|
452
|
+
symbol: user
|
|
453
|
+
links:
|
|
454
|
+
- from: outside.user # Модифицируем идентификаторы в связях
|
|
455
|
+
to: inside.system
|
|
456
|
+
title: Логин и пароль
|
|
457
|
+
style: "->"
|
|
458
|
+
- from: inside.system
|
|
459
|
+
to: outside.user
|
|
460
|
+
title: JWT токен
|
|
461
|
+
style: "->"
|
|
462
|
+
archtool.smartants.examples.complex:
|
|
463
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/03 Сложная диаграмма
|
|
464
|
+
description: Сложная диаграмма SmartAnts
|
|
465
|
+
autor: R.Piontik
|
|
466
|
+
type: smartants
|
|
467
|
+
source: examples/sa-complex.yaml
|
|
468
|
+
archtool.smartants.examples.complex.hideboundaries:
|
|
469
|
+
description: Сложная диаграмма SmartAnts. Скрыты заголовки областей
|
|
470
|
+
type: smartants
|
|
471
|
+
source: examples/sa-complex-hide-boundary.yaml
|
|
472
|
+
archtool.smartants.examples.complex.hideleaves:
|
|
473
|
+
description: Сложная диаграмма SmartAnts. Скрыты заголовки элементов
|
|
474
|
+
type: smartants
|
|
475
|
+
source: examples/sa-complex-hide-leaves.yaml
|
|
476
|
+
archtool.smartants.examples.complex.hidetitles:
|
|
477
|
+
description: Сложная диаграмма SmartAnts. Скрыты точечно заголовки элемента и области
|
|
478
|
+
type: smartants
|
|
479
|
+
source: examples/sa-complex-hide-title.yaml
|
|
480
|
+
archtool.smartants.examples.group-links:
|
|
481
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/04 Cвязи объединенных объектов
|
|
482
|
+
description: Диаграмма взаимодействий объединенных объектов SmartAnts
|
|
483
|
+
autor: R.Piontik
|
|
484
|
+
type: smartants
|
|
485
|
+
source: examples/sa-group.yaml
|
|
486
|
+
archtool.smartants.examples.gravity:
|
|
487
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/05 Gravity points
|
|
488
|
+
description: Размещение объектов объединенных в группы
|
|
489
|
+
autor: R.Piontik
|
|
490
|
+
type: smartants
|
|
491
|
+
source: examples/sa-gravity.yaml
|
|
492
|
+
|
|
493
|
+
archtool.smartants.examples.anim:
|
|
494
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/06 Анимация
|
|
495
|
+
description: Анимированная диаграмма SmartAnts
|
|
496
|
+
autor: R.Piontik
|
|
497
|
+
type: smartants
|
|
498
|
+
source: examples/sa-anim.yaml
|
|
499
|
+
archtool.smartants.examples.custom-symbol:
|
|
500
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/07 Собственные символы
|
|
501
|
+
description: Кастомные символы SmartAnts
|
|
502
|
+
autor: R.Piontik
|
|
503
|
+
type: smartants
|
|
504
|
+
source: examples/sa-symbol.yaml
|
|
505
|
+
archtool.smartants.examples.simple-query:
|
|
506
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/08 Простой запрос к данным
|
|
507
|
+
description: Простой запрос к данным в SmartAnts
|
|
508
|
+
autor: R.Piontik
|
|
509
|
+
type: smartants
|
|
510
|
+
source: >
|
|
511
|
+
(
|
|
512
|
+
/* Определяем фильтр для компонентов архитектуры */
|
|
513
|
+
$matcher := /^[a-zA-Z]*\.[a-zA-Z]*$/i;
|
|
514
|
+
/* Генерируем структуру для диаграммы */
|
|
515
|
+
{
|
|
516
|
+
/* Формируем ноды из компонентов */
|
|
517
|
+
"nodes": $merge(components.$spread().(
|
|
518
|
+
/* Получаем идентификатор компонента */
|
|
519
|
+
$id := $keys()[0];
|
|
520
|
+
/* Если идентификатор компонента удовлетворяет фильтру, создаем ноду */
|
|
521
|
+
$matcher($id) ? {
|
|
522
|
+
/* Отсекаем домен верхнего уровня для исключения отображения компонентов в иерархии */
|
|
523
|
+
$split($id, ".")[1]: {
|
|
524
|
+
"title": *.title,
|
|
525
|
+
/* Преобразуем entity компонентов в понятные диаграмме символы actor -> user */
|
|
526
|
+
"symbol": *.entity = "actor" ? "user" : *.entity
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
))
|
|
531
|
+
}
|
|
532
|
+
)
|
|
533
|
+
archtool.smartants.examples.complex-query:
|
|
534
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/09 Сложный запрос к данным
|
|
535
|
+
description: Сложный запрос к данным в SmartAnts
|
|
536
|
+
autor: R.Piontik
|
|
537
|
+
type: smartants
|
|
538
|
+
source: examples/sa-query.jsonata
|
|
539
|
+
archtool.smartants.examples.physical-connection:
|
|
540
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/10 Физическая связь двух объектов
|
|
541
|
+
description: Физическая связь двух объектов (не интеграция)
|
|
542
|
+
autor: V.Nefedov, S.Lukyantseva
|
|
543
|
+
type: smartants
|
|
544
|
+
source: examples/sa-physical-connection.yaml
|
|
545
|
+
archtool.smartants.examples.through-objects:
|
|
546
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/11 Интеграция через несколько объектов
|
|
547
|
+
description: Интеграция через несколько объектов
|
|
548
|
+
autor: V.Nefedov, S.Lukyantseva
|
|
549
|
+
type: smartants
|
|
550
|
+
source: examples/sa-through-objects.yaml
|
|
551
|
+
archtool.smartants.examples.without-tips:
|
|
552
|
+
location: SEAF.ArchTool/Руководство/Документы/SmartAnts/12 Обоюдотупые стрелки
|
|
553
|
+
description: Обоюдотупые стрелки (без наконечников)
|
|
554
|
+
autor: V.Nefedov, S.Lukyantseva
|
|
555
|
+
type: smartants
|
|
556
|
+
source: examples/sa-without-tips.yaml
|
|
557
|
+
|
|
558
|
+
archtool.plugins.svg_inline:
|
|
559
|
+
title: Проверка вставки svg объекта
|
|
560
|
+
type: markdown
|
|
561
|
+
source: svg_inline.md
|
|
562
|
+
location: SEAF.ArchTool/Руководство/Документы/SVG
|
|
563
|
+
|
|
564
|
+
archtool.plugins.svg_file:
|
|
565
|
+
title: Пример использования SVG
|
|
566
|
+
type: svg
|
|
567
|
+
template: templates/test.svg
|
|
568
|
+
source: >
|
|
569
|
+
(
|
|
570
|
+
{
|
|
571
|
+
"component1": "Название компонента 1",
|
|
572
|
+
"line1_text1": "Текст для стрелки"
|
|
573
|
+
}
|
|
574
|
+
)
|
|
575
|
+
|
|
576
|
+
archtool.plugins.svg_file_error:
|
|
577
|
+
title: Проверка svg
|
|
578
|
+
type: svg
|
|
579
|
+
template: templates/test.svg
|
|
580
|
+
source: >
|
|
581
|
+
(
|
|
582
|
+
{
|
|
583
|
+
"component1": "Название компонента 1",
|
|
584
|
+
|
|
585
|
+
/* Намеренно допускаем ошибки */
|
|
586
|
+
/* Описываем несуществующие параметры */
|
|
587
|
+
/* и не указываем необходимые line1_text1 */
|
|
588
|
+
"component2": "Название компонента 2"
|
|
589
|
+
}
|
|
590
|
+
)
|
|
591
|
+
|
|
592
|
+
archtool.swagger:
|
|
593
|
+
location: SEAF.ArchTool/Руководство/Документы/Swagger
|
|
594
|
+
description: Swagger
|
|
595
|
+
autor: R.Piontik
|
|
596
|
+
type: markdown
|
|
597
|
+
subjects:
|
|
598
|
+
- archtool.front
|
|
599
|
+
- archtool.front.spa
|
|
600
|
+
- archtool.front.spa.blank
|
|
601
|
+
- archtool.front.spa.blank.doc
|
|
602
|
+
source: swagger.md
|
|
603
|
+
|
|
604
|
+
archtool.example.swgr:
|
|
605
|
+
type: OpenAPI
|
|
606
|
+
subjects:
|
|
607
|
+
- archtool.front
|
|
608
|
+
- archtool.front.spa
|
|
609
|
+
- archtool.front.spa.blank
|
|
610
|
+
- archtool.front.spa.blank.doc
|
|
611
|
+
source: examples/example.yaml
|
|
612
|
+
|
|
613
|
+
archtool.charts:
|
|
614
|
+
location: SEAF.ArchTool/Руководство/Документы/Диаграммы
|
|
615
|
+
description: Диаграммы
|
|
616
|
+
author: V.Markin
|
|
617
|
+
type: markdown
|
|
618
|
+
subjects:
|
|
619
|
+
- archtool.front
|
|
620
|
+
- archtool.front.spa
|
|
621
|
+
- archtool.front.spa.blank
|
|
622
|
+
- archtool.front.spa.blank.doc
|
|
623
|
+
source: charts.md
|
|
624
|
+
|
|
625
|
+
archtool.markaper:
|
|
626
|
+
location: SEAF.ArchTool/Руководство/Документы/Компоновщик (markaper)
|
|
627
|
+
description: Компоновщик (markaper)
|
|
628
|
+
type: markdown
|
|
629
|
+
source: markaper.md
|
|
630
|
+
|
|
631
|
+
archtool.tables:
|
|
632
|
+
location: SEAF.ArchTool/Руководство/Документы/Таблица
|
|
633
|
+
description: Таблицы
|
|
634
|
+
autor: R.Piontik
|
|
635
|
+
type: markdown
|
|
636
|
+
subjects:
|
|
637
|
+
- archtool.front
|
|
638
|
+
- archtool.front.spa
|
|
639
|
+
- archtool.front.spa.blank
|
|
640
|
+
- archtool.front.spa.blank.doc
|
|
641
|
+
source: tables.md
|
|
642
|
+
|
|
643
|
+
archtool.example.datepicker:
|
|
644
|
+
title: 'Пример документа, принимающего даты'
|
|
645
|
+
params:
|
|
646
|
+
type: object
|
|
647
|
+
properties:
|
|
648
|
+
date:
|
|
649
|
+
type: string
|
|
650
|
+
fromDate:
|
|
651
|
+
type: string
|
|
652
|
+
toDate:
|
|
653
|
+
type: string
|
|
654
|
+
type: markdown
|
|
655
|
+
template: examples/date-picker-example.md
|
|
656
|
+
source: >
|
|
657
|
+
(
|
|
658
|
+
{
|
|
659
|
+
"dateOne": $params.date ? $params.date : $params.fromDate,
|
|
660
|
+
"dateTwo": $params.date ? $params.date : $params.toDate
|
|
661
|
+
}
|
|
662
|
+
)
|
|
663
|
+
|
|
664
|
+
# *****************************************
|
|
665
|
+
# Шаблоны
|
|
666
|
+
# *****************************************
|
|
667
|
+
archtool.templates: # Пример генерации markdown документа по шаблону
|
|
668
|
+
location: SEAF.ArchTool/Руководство/Документы/Шаблоны
|
|
669
|
+
description: Шаблоны
|
|
670
|
+
type: markdown
|
|
671
|
+
autor: R.Piontik # Кастомное поле - Автор документа
|
|
672
|
+
approvers: # Кастомное поле - список согласующих
|
|
673
|
+
- P.Petrov
|
|
674
|
+
- S.Sidorov
|
|
675
|
+
- N.Nikolaev
|
|
676
|
+
source: > # JSONata запрос для формирования параметров шаблона
|
|
677
|
+
(
|
|
678
|
+
{
|
|
679
|
+
"id": $self._id, /* Идентификатор документа */
|
|
680
|
+
"autor": $self.autor, /* Автор документа */
|
|
681
|
+
"approvers": $self.approvers, /* Согласующие */
|
|
682
|
+
"docs": [docs.$spread().{ /* Другие документы автора */
|
|
683
|
+
"id": $keys()[0],
|
|
684
|
+
"title": *.description,
|
|
685
|
+
"autor": *.autor
|
|
686
|
+
}][autor=$self.autor]
|
|
687
|
+
}
|
|
688
|
+
)
|
|
689
|
+
subjects:
|
|
690
|
+
- archtool.front
|
|
691
|
+
- archtool.front.spa
|
|
692
|
+
- archtool.front.spa.blank
|
|
693
|
+
- archtool.front.spa.blank.doc
|
|
694
|
+
template: templates.md # Шаблон документа
|
|
695
|
+
archtool.templates.pml: # Пример генерации PlantUML документа по шаблону
|
|
696
|
+
type: PlantUML
|
|
697
|
+
source: >
|
|
698
|
+
(
|
|
699
|
+
{
|
|
700
|
+
"entities": $distinct([ /* Получаем все использованные сущности при описании архитектуры */
|
|
701
|
+
components.*.entity
|
|
702
|
+
])
|
|
703
|
+
}
|
|
704
|
+
)
|
|
705
|
+
subjects:
|
|
706
|
+
- archtool.front
|
|
707
|
+
- archtool.front.spa
|
|
708
|
+
- archtool.front.spa.blank
|
|
709
|
+
- archtool.front.spa.blank.doc
|
|
710
|
+
template: examples/template.puml
|
|
711
|
+
archtool.templates.asyncapi: # Пример генерации AsyncAPI документа по шаблону
|
|
712
|
+
type: AsyncAPI
|
|
713
|
+
source: >
|
|
714
|
+
(
|
|
715
|
+
$BODY := $mergedeep([components.*.asyncapi]);
|
|
716
|
+
{
|
|
717
|
+
"content": [$BODY.$spread().{
|
|
718
|
+
"field": $keys()[0],
|
|
719
|
+
"body": $string($lookup($, $keys()[0]))
|
|
720
|
+
}]
|
|
721
|
+
}
|
|
722
|
+
)
|
|
723
|
+
template: examples/asyncapi_template.json
|
|
724
|
+
archtool.templates.openapi: # Пример генерации OpenAPI документа по шаблону
|
|
725
|
+
type: OpenAPI
|
|
726
|
+
source: >
|
|
727
|
+
(
|
|
728
|
+
$BODY := $mergedeep([components.*.openapi]);
|
|
729
|
+
{
|
|
730
|
+
"content": [$BODY.$spread().{
|
|
731
|
+
"field": $keys()[0],
|
|
732
|
+
"body": $string($lookup($, $keys()[0]))
|
|
733
|
+
}]
|
|
734
|
+
}
|
|
735
|
+
)
|
|
736
|
+
template: examples/openapi_template.json
|