From 0c700408dd79c72df2cedab3d893fe7dae884f52 Mon Sep 17 00:00:00 2001 From: medusa Date: Sun, 18 Feb 2024 23:33:06 +0000 Subject: [PATCH] Update docs/random_docs/Mermaid.md --- docs/random_docs/Mermaid.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/docs/random_docs/Mermaid.md b/docs/random_docs/Mermaid.md index 0338a01..d5108db 100644 --- a/docs/random_docs/Mermaid.md +++ b/docs/random_docs/Mermaid.md @@ -221,6 +221,43 @@ journey Influence the next generation of musicians, legacy established: 3: Rock Star ``` +```mermaid +block-beta +columns 3 + FXMarket["Forex Market"]:::header + space + Participants["Market Participants"]:::header --> RetailTraders(["Retail Traders"]):::participants + Participants --> InstitutionalTraders(["Institutional Traders"]):::participants + Participants --> CentralBanks(["Central Banks"]):::participants + space + DataAnalysis["Data Analysis & Tools"]:::header --> TechnicalAnalysis(["Technical Analysis"]):::tools + DataAnalysis --> FundamentalAnalysis(["Fundamental Analysis"]):::tools + DataAnalysis --> SentimentAnalysis(["Sentiment Analysis"]):::tools + space + TradingStrategies["Trading Strategies"]:::header --> DayTrading(["Day Trading"]):::strategies + TradingStrategies --> Scalping(["Scalping"]):::strategies + TradingStrategies --> SwingTrading(["Swing Trading"]):::strategies + TradingStrategies --> PositionTrading(["Position Trading"]):::strategies + space + Execution["Execution"]:::header --> Brokers(["Brokers"]):::execution + Execution --> Platforms(["Trading Platforms"]):::execution + Execution --> Orders(["Order Types"]):::execution + space + RiskManagement["Risk Management"]:::header --> Leverage(["Leverage & Margin"]):::risk + RiskManagement --> StopLoss(["Stop Loss/Take Profit"]):::risk + space + Outcome["Outcome"]:::header --> Profits(["Profits/Losses"]):::outcome + Outcome --> StrategyAdjust(["Strategy Adjustment"]):::outcome + + classDef header fill:#f96,stroke:#333,stroke-width:2px; + classDef participants fill:#bbf,stroke:#333,stroke-width:1px; + classDef tools fill:#ffb,stroke:#333,stroke-width:1px; + classDef strategies fill:#bfb,stroke:#333,stroke-width:1px; + classDef execution fill:#fb9,stroke:#333,stroke-width:1px; + classDef risk fill:#fbb,stroke:#333,stroke-width:1px; + classDef outcome fill:#9bf,stroke:#333,stroke-width:1px; + ``` + ## 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/#/).