Skip to content

Commit

Permalink
Merge pull request #349 from RabotaRu/v3.1.0
Browse files Browse the repository at this point in the history
v3.1.0
  • Loading branch information
rpiontik committed Aug 2, 2023
2 parents 5fa28a5 + aad5639 commit e1d5536
Show file tree
Hide file tree
Showing 38 changed files with 945 additions and 123 deletions.
Binary file not shown.
3 changes: 2 additions & 1 deletion example.env
Expand Up @@ -89,8 +89,9 @@
# (F / FB) Содержит ссылку на базовую метамодель. По умолчанию - /metamodel/root.yaml
# VUE_APP_DOCHUB_METAMODEL = /metamodel/root.yaml

# (F / FB / P) Определяет движок рендеринга (graphviz | smetana | elk). По умолчанию ELK
# (F / FB / P) (УСТАРЕЛО с версии 3.0.2) Определяет движок рендеринга (graphviz | smetana | elk). По умолчанию ELK
# VUE_APP_DOCHUB_RENDER_CORE=ELK
# С версии v3.0.2 конфигурирование осуществляется через параметры сущности "contexts" см. документацию

# (F / FB) [КЭШ] Включить/отключить кэширование(NONE | HEAD | GET) - По умолчанию NONE
# VUE_APP_DOCHUB_CACHE=NONE
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -36,7 +36,7 @@
"axios": "0.21.4",
"core-js": "3.26.1",
"dateformat": "3.0.3",
"jsonata": "1.8.6",
"jsonata": "2.0.3",
"mermaid": "9.3.0",
"monaco-editor": "0.34.1",
"mustache": "4.2.0",
Expand Down
72 changes: 72 additions & 0 deletions public/documentation/docs/manual/docs/examples/sa-group.yaml
@@ -0,0 +1,72 @@
config:
distance: 80
trackWidth: 18
nodes:
# Первый уровень
third-level.second-level.first-level:
title: 1-ый уровень
third-level.second-level.first-level.user:
title: Пользователь
symbol: user
third-level.second-level.first-level.application:
title: AndroidApp
symbol: system

# Второй уровень
third-level.second-level:
title: 2-ой уровень
third-level.second-level.developer:
title: Разработчик
symbol: user
third-level.second-level.tester:
title: Тестировщик
symbol: user

# Третий уровень
third-level:
title: 3-ий уровень
third-level.arch:
title: Архитектор
symbol: user
third-level.manager:
title: Менеджер
symbol: user

# Внешняя среда
outside:
title: Внешняя среда
outside.customer:
title: Заказчик
symbol: user

links:
# Внешняя среда
- from: outside
to: third-level
style: "<->"
- from: outside.customer
to: third-level.manager
style: "<->"
- from: third-level.arch
to: third-level.manager
style: "<->"
- from: third-level.arch
to: third-level.second-level.developer
style: "<->"
- from: third-level.second-level.tester
to: third-level.second-level.developer
style: "<->"
- from: outside
to: third-level.second-level.first-level
style: "<->"
- from: third-level.second-level.first-level.user
to: third-level.second-level.first-level.application
style: "<->"
- from: third-level.second-level.first-level.application
to: outside.customer
style: "->"
- from: third-level.second-level
to: outside.customer
style: "<->"


Expand Up @@ -64,7 +64,8 @@
{
"config": {
"distance": 300,
"trackWidth": 24
"trackWidth": 24,
"lineWidthLimit": 2
},
"symbols": $symbols,
"nodes": $nodes,
Expand Down
20 changes: 16 additions & 4 deletions public/documentation/docs/manual/docs/root.yaml
Expand Up @@ -111,6 +111,12 @@ docs:
autor: R.Piontik
type: smartants # Тип документа
source: # Задаем константные данные для генерации диаграммы
header: # Заголовок диаграммы
title: Авторизация # Текст заголовка
style: # Стили заголовка
color: "#fbaaaa"
font-size: 22px
font-weight: 800
config: # Конфигурируем расположение элементов на диаграмме
distance: 120 # Дистанция между элементами
trackWidth: 24 # Ширина дорожек (треков)
Expand Down Expand Up @@ -193,20 +199,26 @@ docs:
autor: R.Piontik
type: smartants
source: examples/sa-complex.yaml
dochub.smartants.examples.group-links:
location: DocHub/Руководство/Документы/SmartAnts/04 Cвязи объединенных объектов
description: Диаграмма взаимодействий объединенных объектов SmartAnts
autor: R.Piontik
type: smartants
source: examples/sa-group.yaml
dochub.smartants.examples.anim:
location: DocHub/Руководство/Документы/SmartAnts/04 Анимация
location: DocHub/Руководство/Документы/SmartAnts/05 Анимация
description: Анимированная диаграмма SmartAnts
autor: R.Piontik
type: smartants
source: examples/sa-anim.yaml
dochub.smartants.examples.custom-symbol:
location: DocHub/Руководство/Документы/SmartAnts/05 Собственные символы
location: DocHub/Руководство/Документы/SmartAnts/06 Собственные символы
description: Кастомные символы SmartAnts
autor: R.Piontik
type: smartants
source: examples/sa-symbol.yaml
dochub.smartants.examples.simple-query:
location: DocHub/Руководство/Документы/SmartAnts/06 Простой запрос к данным
location: DocHub/Руководство/Документы/SmartAnts/07 Простой запрос к данным
description: Простой запрос к данным в SmartAnts
autor: R.Piontik
type: smartants
Expand Down Expand Up @@ -234,7 +246,7 @@ docs:
}
)
dochub.smartants.examples.complex-query:
location: DocHub/Руководство/Документы/SmartAnts/07 Сложный запрос к данным
location: DocHub/Руководство/Документы/SmartAnts/08 Сложный запрос к данным
description: Сложный запрос к данным в SmartAnts
autor: R.Piontik
type: smartants
Expand Down
11 changes: 9 additions & 2 deletions public/documentation/docs/manual/docs/smartants.md
Expand Up @@ -16,6 +16,12 @@
autor: R.Piontik
type: smartants # Тип документа
source: # Задаем константные данные для генерации диаграммы
header: # Заголовок диаграммы
title: вторизация # Текст заголовка
style: # Стили заголовка
color: "#fbaaaa"
font-size: 22px
font-weight: 800
config: # Конфигурируем расположение элементов на диаграмме
distance: 120 # Дистанция между элементами
trackWidth: 24 # Ширина дорожек (треков)
Expand Down Expand Up @@ -397,7 +403,8 @@ nodes:
{
"config": {
"distance": 130,
"trackWidth": 24
"trackWidth": 24,
"lineWidthLimit": 2 # Лимит толщиный жгута
},
"symbols": $symbols,
"nodes": $nodes,
Expand All @@ -409,4 +416,4 @@ nodes:
![Пример сложного запроса к данным](@document/dochub.smartants.examples.complex-query)


[Далее](/docs/dochub.templates)
[Далее](/docs/dochub.templates)

0 comments on commit e1d5536

Please sign in to comment.