Skip to content

Commit faa602a

Browse files
authored
fix: redo the coupling/cohesion graphic (#727)
1 parent b30c0a8 commit faa602a

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

i18n/en/docusaurus-plugin-content-docs/current/reference/isolation/coupling-cohesion.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ sidebar_position: 1
66

77
Application modules should be designed according to **high cohesion** (should solve one specific task) and **low coupling** (independent of other modules) principles.
88

9-
![coupling-cohesion-themed](/img/coupling.png)
9+
<figure>
10+
<img src="/img/coupling-cohesion-light.svg#light-mode-only" alt="" />
11+
<img src="/img/coupling-cohesion-dark.svg#dark-mode-only" alt="" />
12+
<figcaption>
13+
Image inspired by https://enterprisecraftsmanship.com/posts/cohesion-coupling-difference/
14+
</figcaption>
15+
</figure>
1016

1117
Within the methodology, this is achieved through:
1218

i18n/ru/docusaurus-plugin-content-docs/current/reference/isolation/coupling-cohesion.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ sidebar_position: 1
66

77
Модули приложения должны проектироваться как обладающие **сильной связностью** (направленные на решение одной четкой задачи) и **слабой зацепленностью** (как можно менее зависимые от других модулей)
88

9-
![coupling-cohesion-themed](/img/coupling.png)
9+
<figure>
10+
<img src="/img/coupling-cohesion-light.svg#light-mode-only" alt="" />
11+
<img src="/img/coupling-cohesion-dark.svg#dark-mode-only" alt="" />
12+
<figcaption>
13+
Иллюстрация вдохновлена статьей https://enterprisecraftsmanship.com/posts/cohesion-coupling-difference/
14+
</figcaption>
15+
</figure>
1016

1117
В рамках методологии это достигается через:
1218

static/img/coupling-cohesion-dark.svg

Lines changed: 1 addition & 0 deletions
Loading

static/img/coupling-cohesion-light.svg

Lines changed: 1 addition & 0 deletions
Loading

static/img/coupling.png

-139 KB
Binary file not shown.

0 commit comments

Comments
 (0)