Draw digram using Mermaid
Mermaid lets you create diagrams using text and code. In Visual Studio Code, after install the Mermaid Editor extension, you will be able to create diagram easily. The file name needs to have .mmd file extension.
Following code will generate an example digram:
flowchart TB; title[<font size=6><B><u>Integration Automation Architecture</u></B>] title --> A2 style title fill:#FFF,stroke:#FFF linkStyle 0 stroke:#FFF,stroke-width:0; subgraph SG1[Power Automate Flow<br>] A1(Outlook email received) --> B(Retrieve automation config from DS5Admin DB) A2(Scheduled API call) --> B A3(File created in folder) --> B B --> B1(Load raw contents into DS5Admin DB based on config) end subgraph SG2[Data Process via SQL Agent job<br><br>] B1 --> B2(Process raw contents against target DB<br> from within Admin DB) B2 --> C{Automation type} C -- AAL --> D1(AAL SP) C -- pXRF --> D2(pXRF SP) C -- LAS --> D3(LAS SP) C -- JSON --> D4(JSON SP) C -- General CSV --> D5(CSV SP) C -.
Posted by John Liu Wednesday, October 26, 2022