Update docs/random_docs/Mermaid.md

This commit is contained in:
2024-02-19 04:50:49 +00:00
parent 589f27c3ef
commit d92bee735e

View File

@@ -89,6 +89,8 @@ graph TD;
style B fill:#bbf,stroke:#f66,stroke-width:2px
```
---
```mermaid
gitGraph
commit
@@ -102,6 +104,8 @@ gitGraph
commit
```
---
```mermaid
quadrantChart
title Reach and engagement of campaigns
@@ -119,6 +123,8 @@ quadrantChart
Campaign F: [0.35, 0.78]
```
---
```mermaid
mindmap
root((mindmap))
@@ -139,6 +145,8 @@ mindmap
Mermaid
```
---
```mermaid
quadrantChart
title Reach and engagement of campaigns
@@ -155,6 +163,9 @@ quadrantChart
Campaign E: [0.40, 0.34]
Campaign F: [0.35, 0.78]
```
---
```mermaid
quadrantChart
title Reach and Engagement of Campaigns: A Marketing Crazy Hot Matrix
@@ -172,6 +183,8 @@ quadrantChart
Campaign F: [0.35, 0.78]
```
---
```mermaid
journey
title User Journey to Becoming a Rock Star
@@ -196,6 +209,9 @@ journey
Go on a national or international tour: 5: User
Receive music awards/recognition: 5: User
```
---
```mermaid
journey
title Journey to Rock Stardom
@@ -221,6 +237,8 @@ journey
Influence the next generation of musicians, legacy established: 3: Rock Star
```
---
```mermaid
graph TD
FXMarket(Forex Market)
@@ -265,6 +283,8 @@ graph TD
class Participants,DataAnalysis,TradingStrategies,Execution,RiskManagement,Outcome participants;
```
---
```mermaid
graph TD;
CEO[CEO] --> CTO[CTO];
@@ -278,7 +298,9 @@ graph TD;
CFO --> AccManager[Accounting Manager];
COO --> OpManager[Operations Manager];
```
---
```mermaid
graph TD;
CEO[Jane Doe<br>CEO] --> CTO[John Smith<br>CTO];
@@ -302,6 +324,31 @@ graph TD;
LogManager --> Log2[Ethan Kim<br>Logistics Coordinator];
```
---
```mermaid
graph TD;
MichaelScott[Michael Scott<br>Regional Manager] -->|Direct Report| JimHalpert[Jim Halpert<br>Salesman];
MichaelScott -->|Direct Report| DwightSchrute[Dwight Schrute<br>Salesman];
MichaelScott -->|Direct Report| PamBeesly[Pam Beesly<br>Receptionist];
MichaelScott -->|Direct Report| RyanHoward[Ryan Howard<br>Temp];
MichaelScott -->|Direct Report| AngelaMartin[Angela Martin<br>Head of Accounting];
MichaelScott -->|Direct Report| OscarMartinez[Oscar Martinez<br>Accountant];
MichaelScott -->|Direct Report| KevinMalone[Kevin Malone<br>Accountant];
MichaelScott -->|Direct Report| TobyFlenderson[Toby Flenderson<br>HR Representative];
MichaelScott -->|Direct Report| StanleyHudson[Stanley Hudson<br>Salesman];
MichaelScott -->|Direct Report| PhyllisVance[Phyllis Vance<br>Salesman];
MichaelScott -->|Direct Report| AndyBernard[Andy Bernard<br>Salesman];
MichaelScott -->|Direct Report| CreedBratton[Creed Bratton<br>Quality Assurance];
MichaelScott -->|Direct Report| MeredithPalmer[Meredith Palmer<br>Supplier Relations];
MichaelScott -->|Direct Report| KellyKapoor[Kelly Kapoor<br>Customer Service Rep];
MichaelScott -->|Direct Report| DarrylPhilbin[Darryl Philbin<br>Warehouse Foreman];
DarrylPhilbin --> RoyAnderson[Roy Anderson<br>Warehouse Staff];
DarrylPhilbin --> Madge[Madge<br>Warehouse Staff];
MichaelScott -->|Direct Report| JanLevinson[Jan Levinson<br>Corporate Manager];
PamBeesly -->|Later Promoted To| ErinHannon[Erin Hannon<br>Receptionist];
JimHalpert -->|Co-Manager Temporarily| CharlesMiner[Charles Miner<br>Vice President of Northeast Sales];
```
---
## Conclusion
Mermaid is a powerful tool for creating diagrams directly within your Markdown documents. By learning its syntax and exploring different diagram types, you can enhance your documentation with visual elements that are easy to maintain and update. For more detailed information and advanced features, refer to the [Mermaid Documentation](https://mermaid-js.github.io/mermaid/#/).