diff --git a/docs/index.md b/docs/index.md
index 620fd49..7fb31d2 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -16,7 +16,8 @@ Hello :) It is my libraries docs place and I glad to welcome you here. I hope, t
## Dependencies graph:
```mermaid
-flowchart BT
+%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
+flowchart TB
KSLog[KSLog]
MicroUtils[MicroUtils]
TelegramBotAPI[TelegramBotAPI]
diff --git a/mkdocs.yml b/mkdocs.yml
index 239df8a..df23ab4 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -111,10 +111,10 @@ markdown_extensions:
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences:
- custom_fences:
- - name: mermaid
- class: mermaid
- format: !!python/name:mermaid2.fence_mermaid
+ custom_fences:
+ - name: mermaid
+ class: mermaid
+ format: !!python/name:mermaid2.fence_mermaid
- admonition
- pymdownx.details