UNPKG

45.7 kBHTMLView Raw
1<!DOCTYPE html>
2<html>
3<head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <title>Mermaid Quick Test Page</title>
7 <link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
8 <style>
9 div.mermaid {
10 /* font-family: 'trebuchet ms', verdana, arial; */
11 font-family: 'Courier New', Courier, monospace !important;
12 }
13 </style>
14</head>
15<body>
16 <h1>Comparison "graph vs. flowchart"</h1>
17 <h2>Sample 1</h2>
18
19 <h3>graph</h3>
20 <div class="mermaid">
21 graph LR
22 sid-B3655226-6C29-4D00-B685-3D5C734DC7E1["
23
24 提交申请
25 熊大
26 "];
27 class sid-B3655226-6C29-4D00-B685-3D5C734DC7E1 node-executed;
28 sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A["
29 负责人审批
30 强子
31 "];
32 class sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A node-executed;
33 sid-E27C0367-E6D6-497F-9736-3CDC21FDE221["
34 DBA审批
35 强子
36 "];
37 class sid-E27C0367-E6D6-497F-9736-3CDC21FDE221 node-executed;
38 sid-BED98281-9585-4D1B-934E-BD1AC6AC0EFD["
39 SA审批
40 阿美
41 "];
42 class sid-BED98281-9585-4D1B-934E-BD1AC6AC0EFD node-executed;
43 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7["
44 主管审批
45 光头强
46 "];
47 class sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7 node-executed;
48 sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89["
49 DBA确认
50 强子
51 "];
52 class sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89 node-executed;
53 sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937["
54 SA确认
55 阿美
56 "];
57 class sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937 node-executed;
58 sid-4FC27B48-A6F9-460A-A675-021F5854FE22["
59 结束
60 "];
61 class sid-4FC27B48-A6F9-460A-A675-021F5854FE22 node-executed;
62 sid-19DD9E9F-98C1-44EE-B604-842AFEE76F1E["
63 SA执行1
64 强子
65 "];
66 class sid-19DD9E9F-98C1-44EE-B604-842AFEE76F1E node-executed;
67 sid-6C2120F3-D940-4958-A067-0903DCE879C4["
68 SA执行2
69 强子
70 "];
71 class sid-6C2120F3-D940-4958-A067-0903DCE879C4 node-executed;
72 sid-9180E2A0-5C4B-435F-B42F-0D152470A338["
73 DBA执行1
74 强子
75 "];
76 class sid-9180E2A0-5C4B-435F-B42F-0D152470A338 node-executed;
77 sid-03A2C3AC-5337-48A5-B154-BB3FD0EC8DAD["
78 DBA执行3
79 强子
80 "];
81 class sid-03A2C3AC-5337-48A5-B154-BB3FD0EC8DAD node-executed;
82 sid-D5E1F2F4-306C-47A2-BF74-F66E3D769756["
83 DBA执行2
84 强子
85 "];
86 class sid-D5E1F2F4-306C-47A2-BF74-F66E3D769756 node-executed;
87 sid-8C3F2F1D-F014-4F99-B966-095DC1A2BD93["
88 DBA执行4
89 强子
90 "];
91 class sid-8C3F2F1D-F014-4F99-B966-095DC1A2BD93 node-executed;
92 sid-1897B30A-9C5C-4D5B-B80B-76A038785070["
93 负责人确认
94 梁静茹
95 "];
96 class sid-1897B30A-9C5C-4D5B-B80B-76A038785070 node-executed;
97 sid-B3655226-6C29-4D00-B685-3D5C734DC7E1-->sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7;
98 sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A-->sid-1897B30A-9C5C-4D5B-B80B-76A038785070;
99 sid-E27C0367-E6D6-497F-9736-3CDC21FDE221-->sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89;
100 sid-BED98281-9585-4D1B-934E-BD1AC6AC0EFD-->sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937;
101 sid-19DD9E9F-98C1-44EE-B604-842AFEE76F1E-->sid-6C2120F3-D940-4958-A067-0903DCE879C4;
102 sid-9180E2A0-5C4B-435F-B42F-0D152470A338-->sid-D5E1F2F4-306C-47A2-BF74-F66E3D769756;
103 sid-03A2C3AC-5337-48A5-B154-BB3FD0EC8DAD-->sid-8C3F2F1D-F014-4F99-B966-095DC1A2BD93;
104 sid-6C2120F3-D940-4958-A067-0903DCE879C4-->sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A;
105 sid-1897B30A-9C5C-4D5B-B80B-76A038785070-->sid-4FC27B48-A6F9-460A-A675-021F5854FE22;
106 sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937-->sid-19DD9E9F-98C1-44EE-B604-842AFEE76F1E;
107 sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89-->sid-9180E2A0-5C4B-435F-B42F-0D152470A338;
108 sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89-->sid-03A2C3AC-5337-48A5-B154-BB3FD0EC8DAD;
109 sid-D5E1F2F4-306C-47A2-BF74-F66E3D769756-->sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A;
110 sid-8C3F2F1D-F014-4F99-B966-095DC1A2BD93-->sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A;
111 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7-->sid-BED98281-9585-4D1B-934E-BD1AC6AC0EFD;
112 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7-->sid-E27C0367-E6D6-497F-9736-3CDC21FDE221;
113 sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937-->sid-6C2120F3-D940-4958-A067-0903DCE879C4;
114 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7-->sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A;
115 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7-->sid-4FC27B48-A6F9-460A-A675-021F5854FE22;
116 </div>
117
118 <h3>flowchart</h3>
119 <div class="mermaid">
120 flowchart LR
121 sid-B3655226-6C29-4D00-B685-3D5C734DC7E1["
122
123 提交申请
124 熊大
125 "];
126 class sid-B3655226-6C29-4D00-B685-3D5C734DC7E1 node-executed;
127 sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A["
128 负责人审批
129 强子
130 "];
131 class sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A node-executed;
132 sid-E27C0367-E6D6-497F-9736-3CDC21FDE221["
133 DBA审批
134 强子
135 "];
136 class sid-E27C0367-E6D6-497F-9736-3CDC21FDE221 node-executed;
137 sid-BED98281-9585-4D1B-934E-BD1AC6AC0EFD["
138 SA审批
139 阿美
140 "];
141 class sid-BED98281-9585-4D1B-934E-BD1AC6AC0EFD node-executed;
142 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7["
143 主管审批
144 光头强
145 "];
146 class sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7 node-executed;
147 sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89["
148 DBA确认
149 强子
150 "];
151 class sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89 node-executed;
152 sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937["
153 SA确认
154 阿美
155 "];
156 class sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937 node-executed;
157 sid-4FC27B48-A6F9-460A-A675-021F5854FE22["
158 结束
159 "];
160 class sid-4FC27B48-A6F9-460A-A675-021F5854FE22 node-executed;
161 sid-19DD9E9F-98C1-44EE-B604-842AFEE76F1E["
162 SA执行1
163 强子
164 "];
165 class sid-19DD9E9F-98C1-44EE-B604-842AFEE76F1E node-executed;
166 sid-6C2120F3-D940-4958-A067-0903DCE879C4["
167 SA执行2
168 强子
169 "];
170 class sid-6C2120F3-D940-4958-A067-0903DCE879C4 node-executed;
171 sid-9180E2A0-5C4B-435F-B42F-0D152470A338["
172 DBA执行1
173 强子
174 "];
175 class sid-9180E2A0-5C4B-435F-B42F-0D152470A338 node-executed;
176 sid-03A2C3AC-5337-48A5-B154-BB3FD0EC8DAD["
177 DBA执行3
178 强子
179 "];
180 class sid-03A2C3AC-5337-48A5-B154-BB3FD0EC8DAD node-executed;
181 sid-D5E1F2F4-306C-47A2-BF74-F66E3D769756["
182 DBA执行2
183 强子
184 "];
185 class sid-D5E1F2F4-306C-47A2-BF74-F66E3D769756 node-executed;
186 sid-8C3F2F1D-F014-4F99-B966-095DC1A2BD93["
187 DBA执行4
188 强子
189 "];
190 class sid-8C3F2F1D-F014-4F99-B966-095DC1A2BD93 node-executed;
191 sid-1897B30A-9C5C-4D5B-B80B-76A038785070["
192 负责人确认
193 梁静茹
194 "];
195 class sid-1897B30A-9C5C-4D5B-B80B-76A038785070 node-executed;
196 sid-B3655226-6C29-4D00-B685-3D5C734DC7E1-->sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7;
197 sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A-->sid-1897B30A-9C5C-4D5B-B80B-76A038785070;
198 sid-E27C0367-E6D6-497F-9736-3CDC21FDE221-->sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89;
199 sid-BED98281-9585-4D1B-934E-BD1AC6AC0EFD-->sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937;
200 sid-19DD9E9F-98C1-44EE-B604-842AFEE76F1E-->sid-6C2120F3-D940-4958-A067-0903DCE879C4;
201 sid-9180E2A0-5C4B-435F-B42F-0D152470A338-->sid-D5E1F2F4-306C-47A2-BF74-F66E3D769756;
202 sid-03A2C3AC-5337-48A5-B154-BB3FD0EC8DAD-->sid-8C3F2F1D-F014-4F99-B966-095DC1A2BD93;
203 sid-6C2120F3-D940-4958-A067-0903DCE879C4-->sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A;
204 sid-1897B30A-9C5C-4D5B-B80B-76A038785070-->sid-4FC27B48-A6F9-460A-A675-021F5854FE22;
205 sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937-->sid-19DD9E9F-98C1-44EE-B604-842AFEE76F1E;
206 sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89-->sid-9180E2A0-5C4B-435F-B42F-0D152470A338;
207 sid-A1B3CD96-7697-4D7C-BEAA-73D187B1BE89-->sid-03A2C3AC-5337-48A5-B154-BB3FD0EC8DAD;
208 sid-D5E1F2F4-306C-47A2-BF74-F66E3D769756-->sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A;
209 sid-8C3F2F1D-F014-4F99-B966-095DC1A2BD93-->sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A;
210 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7-->sid-BED98281-9585-4D1B-934E-BD1AC6AC0EFD;
211 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7-->sid-E27C0367-E6D6-497F-9736-3CDC21FDE221;
212 sid-3E35A7FF-A2F4-4E07-9247-DBF884C81937-->sid-6C2120F3-D940-4958-A067-0903DCE879C4;
213 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7-->sid-4DA958A0-26D9-4D47-93A7-70F39FD7D51A;
214 sid-7CE72B24-E0C1-46D3-8132-8BA66BE05AA7-->sid-4FC27B48-A6F9-460A-A675-021F5854FE22;
215 </div>
216
217 <hr/>
218 <h2>Sample 2</h2>
219
220 <h3>graph</h3>
221 <div class="mermaid">
222 graph TD
223 A[Christmas] -->|Get money| B(Go shopping)
224 B --> C{Let me thinksssssx<br/>sssssssssssssssssssuuu<br />tttsssssssssssssssssssssss}
225 C -->|One| D[Laptop]
226 C -->|Two| E[iPhone]
227 C -->|Three| F[Car]
228 </div>
229
230 <h3>flowchart</h3>
231 <div class="mermaid">
232 flowchart TD
233 A[Christmas] -->|Get money| B(Go shopping)
234 B --> C{Let me thinksssssx<br/>sssssssssssssssssssuuu<br />tttsssssssssssssssssssssss}
235 C -->|One| D[Laptop]
236 C -->|Two| E[iPhone]
237 C -->|Three| F[Car]
238 </div>
239
240 <hr/>
241 <h2>Sample 3</h2>
242
243 <h3>graph</h3>
244 <div class="mermaid">
245 graph TD
246 A[/Christmas\]
247 A -->|Get money| B[\Go shopping/]
248 B --> C{Let me thinksssss<br/>ssssssssssssssssssssss<br/>sssssssssssssssssssssssssss}
249 C -->|One| D[/Laptop/]
250 C -->|Two| E[\iPhone\]
251 C -->|Three| F[Car]
252 </div>
253
254 <h3>flowchart</h3>
255 <div class="mermaid">
256 flowchart TD
257 A[/Christmas\]
258 A -->|Get money| B[\Go shopping/]
259 B --> C{Let me thinksssss<br/>ssssssssssssssssssssss<br/>sssssssssssssssssssssssssss}
260 C -->|One| D[/Laptop/]
261 C -->|Two| E[\iPhone\]
262 C -->|Three| F[Car]
263 </div>
264
265 <hr/>
266 <h2>Sample 4</h2>
267
268 <h3>graph</h3>
269 <div class="mermaid">
270 graph LR
271 47(SAM.CommonFA.FMESummary)-->48(SAM.CommonFA.CommonFAFinanceBudget)
272 37(SAM.CommonFA.BudgetSubserviceLineVolume)-->48(SAM.CommonFA.CommonFAFinanceBudget)
273 35(SAM.CommonFA.PopulationFME)-->47(SAM.CommonFA.FMESummary)
274 41(SAM.CommonFA.MetricCost)-->47(SAM.CommonFA.FMESummary)
275 44(SAM.CommonFA.MetricOutliers)-->47(SAM.CommonFA.FMESummary)
276 46(SAM.CommonFA.MetricOpportunity)-->47(SAM.CommonFA.FMESummary)
277 40(SAM.CommonFA.OPVisits)-->47(SAM.CommonFA.FMESummary)
278 38(SAM.CommonFA.CommonFAFinanceRefund)-->47(SAM.CommonFA.FMESummary)
279 43(SAM.CommonFA.CommonFAFinancePicuDays)-->47(SAM.CommonFA.FMESummary)
280 42(SAM.CommonFA.CommonFAFinanceNurseryDays)-->47(SAM.CommonFA.FMESummary)
281 45(SAM.CommonFA.MetricPreOpportunity)-->46(SAM.CommonFA.MetricOpportunity)
282 35(SAM.CommonFA.PopulationFME)-->45(SAM.CommonFA.MetricPreOpportunity)
283 41(SAM.CommonFA.MetricCost)-->45(SAM.CommonFA.MetricPreOpportunity)
284 41(SAM.CommonFA.MetricCost)-->44(SAM.CommonFA.MetricOutliers)
285 39(SAM.CommonFA.ChargeDetails)-->43(SAM.CommonFA.CommonFAFinancePicuDays)
286 39(SAM.CommonFA.ChargeDetails)-->42(SAM.CommonFA.CommonFAFinanceNurseryDays)
287 39(SAM.CommonFA.ChargeDetails)-->41(SAM.CommonFA.MetricCost)
288 39(SAM.CommonFA.ChargeDetails)-->40(SAM.CommonFA.OPVisits)
289 35(SAM.CommonFA.PopulationFME)-->39(SAM.CommonFA.ChargeDetails)
290 36(SAM.CommonFA.PremetricCost)-->39(SAM.CommonFA.ChargeDetails)
291 </div>
292
293 <h3>flowchart</h3>
294 <div class="mermaid">
295 flowchart LR
296 47(SAM.CommonFA.FMESummary)-->48(SAM.CommonFA.CommonFAFinanceBudget)
297 37(SAM.CommonFA.BudgetSubserviceLineVolume)-->48(SAM.CommonFA.CommonFAFinanceBudget)
298 35(SAM.CommonFA.PopulationFME)-->47(SAM.CommonFA.FMESummary)
299 41(SAM.CommonFA.MetricCost)-->47(SAM.CommonFA.FMESummary)
300 44(SAM.CommonFA.MetricOutliers)-->47(SAM.CommonFA.FMESummary)
301 46(SAM.CommonFA.MetricOpportunity)-->47(SAM.CommonFA.FMESummary)
302 40(SAM.CommonFA.OPVisits)-->47(SAM.CommonFA.FMESummary)
303 38(SAM.CommonFA.CommonFAFinanceRefund)-->47(SAM.CommonFA.FMESummary)
304 43(SAM.CommonFA.CommonFAFinancePicuDays)-->47(SAM.CommonFA.FMESummary)
305 42(SAM.CommonFA.CommonFAFinanceNurseryDays)-->47(SAM.CommonFA.FMESummary)
306 45(SAM.CommonFA.MetricPreOpportunity)-->46(SAM.CommonFA.MetricOpportunity)
307 35(SAM.CommonFA.PopulationFME)-->45(SAM.CommonFA.MetricPreOpportunity)
308 41(SAM.CommonFA.MetricCost)-->45(SAM.CommonFA.MetricPreOpportunity)
309 41(SAM.CommonFA.MetricCost)-->44(SAM.CommonFA.MetricOutliers)
310 39(SAM.CommonFA.ChargeDetails)-->43(SAM.CommonFA.CommonFAFinancePicuDays)
311 39(SAM.CommonFA.ChargeDetails)-->42(SAM.CommonFA.CommonFAFinanceNurseryDays)
312 39(SAM.CommonFA.ChargeDetails)-->41(SAM.CommonFA.MetricCost)
313 39(SAM.CommonFA.ChargeDetails)-->40(SAM.CommonFA.OPVisits)
314 35(SAM.CommonFA.PopulationFME)-->39(SAM.CommonFA.ChargeDetails)
315 36(SAM.CommonFA.PremetricCost)-->39(SAM.CommonFA.ChargeDetails)
316 </div>
317
318 <hr/>
319 <h2>Sample 5</h2>
320
321 <h3>graph</h3>
322 <div class="mermaid">
323 graph TD
324 9e122290_1ec3_e711_8c5a_005056ad0002("fa:fa-creative-commons My System | Test Environment")
325 82072290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Shared Business Logic Server:Service 1")
326 db052290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Shared Business Logic Server:Service 2")
327 4e112290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Shared Report Server:Service 1")
328 30122290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Shared Report Server:Service 2")
329 5e112290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Dedicated Test Business Logic Server:Service 1")
330 c1112290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Dedicated Test Business Logic Server:Service 2")
331 b7042290_1ec3_e711_8c5a_005056ad0002("fa:fa-circle [DBServer\SharedDbInstance].[SupportDb]")
332 8f102290_1ec3_e711_8c5a_005056ad0002("fa:fa-circle [DBServer\SharedDbInstance].[DevelopmentDb]")
333 0e102290_1ec3_e711_8c5a_005056ad0002("fa:fa-circle [DBServer\SharedDbInstance].[TestDb]")
334 07132290_1ec3_e711_8c5a_005056ad0002("fa:fa-circle [DBServer\SharedDbInstance].[SharedReportingDb]")
335 c7072290_1ec3_e711_8c5a_005056ad0002("fa:fa-server Shared Business Logic Server")
336 ca122290_1ec3_e711_8c5a_005056ad0002("fa:fa-server Shared Report Server")
337 68102290_1ec3_e711_8c5a_005056ad0002("fa:fa-server Dedicated Test Business Logic Server")
338 f4112290_1ec3_e711_8c5a_005056ad0002("fa:fa-database [DBServer\SharedDbInstance]")
339 d6072290_1ec3_e711_8c5a_005056ad0002("fa:fa-server DBServer")
340 71082290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs DBServer\:MSSQLSERVER")
341 c0102290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs DBServer\:SQLAgent")
342 9a072290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs DBServer\:SQLBrowser")
343 1d0a2290_1ec3_e711_8c5a_005056ad0002("fa:fa-server VmHost1")
344 200a2290_1ec3_e711_8c5a_005056ad0002("fa:fa-server VmHost2")
345 1c0a2290_1ec3_e711_8c5a_005056ad0002("fa:fa-server VmHost3")
346 9e122290_1ec3_e711_8c5a_005056ad0002-->82072290_1ec3_e711_8c5a_005056ad0002
347 9e122290_1ec3_e711_8c5a_005056ad0002-->db052290_1ec3_e711_8c5a_005056ad0002
348 9e122290_1ec3_e711_8c5a_005056ad0002-->4e112290_1ec3_e711_8c5a_005056ad0002
349 9e122290_1ec3_e711_8c5a_005056ad0002-->30122290_1ec3_e711_8c5a_005056ad0002
350 9e122290_1ec3_e711_8c5a_005056ad0002-->5e112290_1ec3_e711_8c5a_005056ad0002
351 9e122290_1ec3_e711_8c5a_005056ad0002-->c1112290_1ec3_e711_8c5a_005056ad0002
352 82072290_1ec3_e711_8c5a_005056ad0002-->b7042290_1ec3_e711_8c5a_005056ad0002
353 82072290_1ec3_e711_8c5a_005056ad0002-->8f102290_1ec3_e711_8c5a_005056ad0002
354 82072290_1ec3_e711_8c5a_005056ad0002-->0e102290_1ec3_e711_8c5a_005056ad0002
355 82072290_1ec3_e711_8c5a_005056ad0002-->c7072290_1ec3_e711_8c5a_005056ad0002
356 db052290_1ec3_e711_8c5a_005056ad0002-->c7072290_1ec3_e711_8c5a_005056ad0002
357 db052290_1ec3_e711_8c5a_005056ad0002-->82072290_1ec3_e711_8c5a_005056ad0002
358 4e112290_1ec3_e711_8c5a_005056ad0002-->b7042290_1ec3_e711_8c5a_005056ad0002
359 4e112290_1ec3_e711_8c5a_005056ad0002-->8f102290_1ec3_e711_8c5a_005056ad0002
360 4e112290_1ec3_e711_8c5a_005056ad0002-->0e102290_1ec3_e711_8c5a_005056ad0002
361 4e112290_1ec3_e711_8c5a_005056ad0002-->07132290_1ec3_e711_8c5a_005056ad0002
362 4e112290_1ec3_e711_8c5a_005056ad0002-->ca122290_1ec3_e711_8c5a_005056ad0002
363 30122290_1ec3_e711_8c5a_005056ad0002-->ca122290_1ec3_e711_8c5a_005056ad0002
364 30122290_1ec3_e711_8c5a_005056ad0002-->4e112290_1ec3_e711_8c5a_005056ad0002
365 5e112290_1ec3_e711_8c5a_005056ad0002-->8f102290_1ec3_e711_8c5a_005056ad0002
366 5e112290_1ec3_e711_8c5a_005056ad0002-->68102290_1ec3_e711_8c5a_005056ad0002
367 c1112290_1ec3_e711_8c5a_005056ad0002-->68102290_1ec3_e711_8c5a_005056ad0002
368 c1112290_1ec3_e711_8c5a_005056ad0002-->5e112290_1ec3_e711_8c5a_005056ad0002
369 b7042290_1ec3_e711_8c5a_005056ad0002-->f4112290_1ec3_e711_8c5a_005056ad0002
370 8f102290_1ec3_e711_8c5a_005056ad0002-->f4112290_1ec3_e711_8c5a_005056ad0002
371 0e102290_1ec3_e711_8c5a_005056ad0002-->f4112290_1ec3_e711_8c5a_005056ad0002
372 07132290_1ec3_e711_8c5a_005056ad0002-->f4112290_1ec3_e711_8c5a_005056ad0002
373 c7072290_1ec3_e711_8c5a_005056ad0002-->1d0a2290_1ec3_e711_8c5a_005056ad0002
374 ca122290_1ec3_e711_8c5a_005056ad0002-->200a2290_1ec3_e711_8c5a_005056ad0002
375 68102290_1ec3_e711_8c5a_005056ad0002-->1c0a2290_1ec3_e711_8c5a_005056ad0002
376 f4112290_1ec3_e711_8c5a_005056ad0002-->d6072290_1ec3_e711_8c5a_005056ad0002
377 f4112290_1ec3_e711_8c5a_005056ad0002-->71082290_1ec3_e711_8c5a_005056ad0002
378 f4112290_1ec3_e711_8c5a_005056ad0002-->c0102290_1ec3_e711_8c5a_005056ad0002
379 f4112290_1ec3_e711_8c5a_005056ad0002-->9a072290_1ec3_e711_8c5a_005056ad0002
380 d6072290_1ec3_e711_8c5a_005056ad0002-->1c0a2290_1ec3_e711_8c5a_005056ad0002
381 71082290_1ec3_e711_8c5a_005056ad0002-->d6072290_1ec3_e711_8c5a_005056ad0002
382 c0102290_1ec3_e711_8c5a_005056ad0002-->d6072290_1ec3_e711_8c5a_005056ad0002
383 c0102290_1ec3_e711_8c5a_005056ad0002-->71082290_1ec3_e711_8c5a_005056ad0002
384 9a072290_1ec3_e711_8c5a_005056ad0002-->d6072290_1ec3_e711_8c5a_005056ad0002
385 9a072290_1ec3_e711_8c5a_005056ad0002-->71082290_1ec3_e711_8c5a_005056ad0002
386 </div>
387
388 <h3>flowchart</h3>
389 <div class="mermaid">
390 flowchart TD
391 9e122290_1ec3_e711_8c5a_005056ad0002("fa:fa-creative-commons My System | Test Environment")
392 82072290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Shared Business Logic Server:Service 1")
393 db052290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Shared Business Logic Server:Service 2")
394 4e112290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Shared Report Server:Service 1")
395 30122290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Shared Report Server:Service 2")
396 5e112290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Dedicated Test Business Logic Server:Service 1")
397 c1112290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs Dedicated Test Business Logic Server:Service 2")
398 b7042290_1ec3_e711_8c5a_005056ad0002("fa:fa-circle [DBServer\SharedDbInstance].[SupportDb]")
399 8f102290_1ec3_e711_8c5a_005056ad0002("fa:fa-circle [DBServer\SharedDbInstance].[DevelopmentDb]")
400 0e102290_1ec3_e711_8c5a_005056ad0002("fa:fa-circle [DBServer\SharedDbInstance].[TestDb]")
401 07132290_1ec3_e711_8c5a_005056ad0002("fa:fa-circle [DBServer\SharedDbInstance].[SharedReportingDb]")
402 c7072290_1ec3_e711_8c5a_005056ad0002("fa:fa-server Shared Business Logic Server")
403 ca122290_1ec3_e711_8c5a_005056ad0002("fa:fa-server Shared Report Server")
404 68102290_1ec3_e711_8c5a_005056ad0002("fa:fa-server Dedicated Test Business Logic Server")
405 f4112290_1ec3_e711_8c5a_005056ad0002("fa:fa-database [DBServer\SharedDbInstance]")
406 d6072290_1ec3_e711_8c5a_005056ad0002("fa:fa-server DBServer")
407 71082290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs DBServer\:MSSQLSERVER")
408 c0102290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs DBServer\:SQLAgent")
409 9a072290_1ec3_e711_8c5a_005056ad0002("fa:fa-cogs DBServer\:SQLBrowser")
410 1d0a2290_1ec3_e711_8c5a_005056ad0002("fa:fa-server VmHost1")
411 200a2290_1ec3_e711_8c5a_005056ad0002("fa:fa-server VmHost2")
412 1c0a2290_1ec3_e711_8c5a_005056ad0002("fa:fa-server VmHost3")
413 9e122290_1ec3_e711_8c5a_005056ad0002-->82072290_1ec3_e711_8c5a_005056ad0002
414 9e122290_1ec3_e711_8c5a_005056ad0002-->db052290_1ec3_e711_8c5a_005056ad0002
415 9e122290_1ec3_e711_8c5a_005056ad0002-->4e112290_1ec3_e711_8c5a_005056ad0002
416 9e122290_1ec3_e711_8c5a_005056ad0002-->30122290_1ec3_e711_8c5a_005056ad0002
417 9e122290_1ec3_e711_8c5a_005056ad0002-->5e112290_1ec3_e711_8c5a_005056ad0002
418 9e122290_1ec3_e711_8c5a_005056ad0002-->c1112290_1ec3_e711_8c5a_005056ad0002
419 82072290_1ec3_e711_8c5a_005056ad0002-->b7042290_1ec3_e711_8c5a_005056ad0002
420 82072290_1ec3_e711_8c5a_005056ad0002-->8f102290_1ec3_e711_8c5a_005056ad0002
421 82072290_1ec3_e711_8c5a_005056ad0002-->0e102290_1ec3_e711_8c5a_005056ad0002
422 82072290_1ec3_e711_8c5a_005056ad0002-->c7072290_1ec3_e711_8c5a_005056ad0002
423 db052290_1ec3_e711_8c5a_005056ad0002-->c7072290_1ec3_e711_8c5a_005056ad0002
424 db052290_1ec3_e711_8c5a_005056ad0002-->82072290_1ec3_e711_8c5a_005056ad0002
425 4e112290_1ec3_e711_8c5a_005056ad0002-->b7042290_1ec3_e711_8c5a_005056ad0002
426 4e112290_1ec3_e711_8c5a_005056ad0002-->8f102290_1ec3_e711_8c5a_005056ad0002
427 4e112290_1ec3_e711_8c5a_005056ad0002-->0e102290_1ec3_e711_8c5a_005056ad0002
428 4e112290_1ec3_e711_8c5a_005056ad0002-->07132290_1ec3_e711_8c5a_005056ad0002
429 4e112290_1ec3_e711_8c5a_005056ad0002-->ca122290_1ec3_e711_8c5a_005056ad0002
430 30122290_1ec3_e711_8c5a_005056ad0002-->ca122290_1ec3_e711_8c5a_005056ad0002
431 30122290_1ec3_e711_8c5a_005056ad0002-->4e112290_1ec3_e711_8c5a_005056ad0002
432 5e112290_1ec3_e711_8c5a_005056ad0002-->8f102290_1ec3_e711_8c5a_005056ad0002
433 5e112290_1ec3_e711_8c5a_005056ad0002-->68102290_1ec3_e711_8c5a_005056ad0002
434 c1112290_1ec3_e711_8c5a_005056ad0002-->68102290_1ec3_e711_8c5a_005056ad0002
435 c1112290_1ec3_e711_8c5a_005056ad0002-->5e112290_1ec3_e711_8c5a_005056ad0002
436 b7042290_1ec3_e711_8c5a_005056ad0002-->f4112290_1ec3_e711_8c5a_005056ad0002
437 8f102290_1ec3_e711_8c5a_005056ad0002-->f4112290_1ec3_e711_8c5a_005056ad0002
438 0e102290_1ec3_e711_8c5a_005056ad0002-->f4112290_1ec3_e711_8c5a_005056ad0002
439 07132290_1ec3_e711_8c5a_005056ad0002-->f4112290_1ec3_e711_8c5a_005056ad0002
440 c7072290_1ec3_e711_8c5a_005056ad0002-->1d0a2290_1ec3_e711_8c5a_005056ad0002
441 ca122290_1ec3_e711_8c5a_005056ad0002-->200a2290_1ec3_e711_8c5a_005056ad0002
442 68102290_1ec3_e711_8c5a_005056ad0002-->1c0a2290_1ec3_e711_8c5a_005056ad0002
443 f4112290_1ec3_e711_8c5a_005056ad0002-->d6072290_1ec3_e711_8c5a_005056ad0002
444 f4112290_1ec3_e711_8c5a_005056ad0002-->71082290_1ec3_e711_8c5a_005056ad0002
445 f4112290_1ec3_e711_8c5a_005056ad0002-->c0102290_1ec3_e711_8c5a_005056ad0002
446 f4112290_1ec3_e711_8c5a_005056ad0002-->9a072290_1ec3_e711_8c5a_005056ad0002
447 d6072290_1ec3_e711_8c5a_005056ad0002-->1c0a2290_1ec3_e711_8c5a_005056ad0002
448 71082290_1ec3_e711_8c5a_005056ad0002-->d6072290_1ec3_e711_8c5a_005056ad0002
449 c0102290_1ec3_e711_8c5a_005056ad0002-->d6072290_1ec3_e711_8c5a_005056ad0002
450 c0102290_1ec3_e711_8c5a_005056ad0002-->71082290_1ec3_e711_8c5a_005056ad0002
451 9a072290_1ec3_e711_8c5a_005056ad0002-->d6072290_1ec3_e711_8c5a_005056ad0002
452 9a072290_1ec3_e711_8c5a_005056ad0002-->71082290_1ec3_e711_8c5a_005056ad0002
453 </div>
454
455 <hr/>
456 <h2>Sample 6</h2>
457
458 <h3>graph</h3>
459 <div class="mermaid">
460 graph TB
461 subgraph One
462 a1-->a2
463 end
464 </div>
465
466 <h3>flowchart</h3>
467 <div class="mermaid">
468 flowchart TB
469 subgraph One
470 a1-->a2
471 end
472 </div>
473
474 <hr/>
475 <h2>Sample 7</h2>
476
477 <h3>graph</h3>
478 <div class="mermaid">
479 graph TB
480 A
481 B
482 subgraph foo[Foo SubGraph]
483 C
484 D
485 end
486 subgraph bar[Bar SubGraph]
487 E
488 F
489 end
490 G
491
492 A-->B
493 B-->C
494 C-->D
495 B-->D
496 D-->E
497 E-->A
498 E-->F
499 F-->D
500 F-->G
501 B-->G
502 G-->D
503
504 style foo fill:#F99,stroke-width:2px,stroke:#F0F,color:darkred
505 style bar fill:#999,stroke-width:10px,stroke:#0F0,color:blue
506 </div>
507
508 <h3>flowchart</h3>
509 <div class="mermaid">
510 flowchart TB
511 A
512 B
513 subgraph foo[Foo SubGraph]
514 C
515 D
516 end
517 subgraph bar[Bar SubGraph]
518 E
519 F
520 end
521 G
522
523 A-->B
524 B-->C
525 C-->D
526 B-->D
527 D-->E
528 E-->A
529 E-->F
530 F-->D
531 F-->G
532 B-->G
533 G-->D
534
535 style foo fill:#F99,stroke-width:2px,stroke:#F0F,color:darkred
536 style bar fill:#999,stroke-width:10px,stroke:#0F0,color:blue
537 </div>
538
539 <hr/>
540 <h2>Sample 8</h2>
541
542 <h3>graph</h3>
543 <div class="mermaid">
544 graph LR
545 456ac9b0d15a8b7f1e71073221059886[1051 AAA fa:fa-check]
546 f7f580e11d00a75814d2ded41fe8e8fe[1141 BBB fa:fa-check]
547 81dc9bdb52d04dc20036dbd8313ed055[1234 CCC fa:fa-check]
548 456ac9b0d15a8b7f1e71073221059886 -->|Node| f7f580e11d00a75814d2ded41fe8e8fe
549 f7f580e11d00a75814d2ded41fe8e8fe -->|Node| 81dc9bdb52d04dc20036dbd8313ed055
550 click 456ac9b0d15a8b7f1e71073221059886 "/admin/user/view?id=1051" "AAA
551 6000"
552 click f7f580e11d00a75814d2ded41fe8e8fe "/admin/user/view?id=1141" "BBB
553 600"
554 click 81dc9bdb52d04dc20036dbd8313ed055 "/admin/user/view?id=1234" "CCC
555 3000"
556 style 456ac9b0d15a8b7f1e71073221059886 fill:#f9f,stroke:#333,stroke-width:4px
557 </div>
558
559 <h3>flowchart</h3>
560 <div class="mermaid">
561 flowchart LR
562 456ac9b0d15a8b7f1e71073221059886[1051 AAA fa:fa-check]
563 f7f580e11d00a75814d2ded41fe8e8fe[1141 BBB fa:fa-check]
564 81dc9bdb52d04dc20036dbd8313ed055[1234 CCC fa:fa-check]
565 456ac9b0d15a8b7f1e71073221059886 -->|Node| f7f580e11d00a75814d2ded41fe8e8fe
566 f7f580e11d00a75814d2ded41fe8e8fe -->|Node| 81dc9bdb52d04dc20036dbd8313ed055
567 click 456ac9b0d15a8b7f1e71073221059886 "/admin/user/view?id=1051" "AAA
568 6000"
569 click f7f580e11d00a75814d2ded41fe8e8fe "/admin/user/view?id=1141" "BBB
570 600"
571 click 81dc9bdb52d04dc20036dbd8313ed055 "/admin/user/view?id=1234" "CCC
572 3000"
573 style 456ac9b0d15a8b7f1e71073221059886 fill:#f9f,stroke:#333,stroke-width:4px
574 </div>
575
576 <hr/>
577 <h2>Sample 9</h2>
578
579 <h3>graph</h3>
580 <div class="mermaid">
581 graph TD
582 A[Christmas] -->|Get money| B(Go shopping)
583 B --> C{{Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?}}
584 C -->|One| D[Laptop]
585 C -->|Two| E[iPhone]
586 C -->|Three| F[Car]
587 click A "flowchart.html#link-clicked" "link test"
588 click B testClick "click test"
589 classDef someclass fill:#f96;
590 class A someclass;
591 class C someclass;
592 </div>
593
594 <h3>flowchart</h3>
595 <div class="mermaid">
596 flowchart TD
597 A[Christmas] -->|Get money| B(Go shopping)
598 B --> C{{Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?}}
599 C -->|One| D[Laptop]
600 C -->|Two| E[iPhone]
601 C -->|Three| F[Car]
602 click A "flowchart.html#link-clicked" "link test"
603 click B testClick "click test"
604 classDef someclass fill:#f96;
605 class A someclass;
606 class C someclass;
607 </div>
608
609 <hr/>
610 <h2>Sample 10</h2>
611
612 <h3>graph</h3>
613 <div class="mermaid">
614 graph TD
615 A([stadium shape test])
616 A -->|Get money| B([Go shopping])
617 B --> C([Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?])
618 C -->|One| D([Laptop])
619 C -->|Two| E([iPhone])
620 C -->|Three| F([Car<br/>wroom wroom])
621 click A "flowchart.html#link-clicked" "link test"
622 click B testClick "click test"
623 classDef someclass fill:#f96;
624 class A someclass;
625 class C someclass;
626 </div>
627
628 <h3>flowchart</h3>
629 <div class="mermaid">
630 flowchart TD
631 A([stadium shape test])
632 A -->|Get money| B([Go shopping])
633 B --> C([Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?])
634 C -->|One| D([Laptop])
635 C -->|Two| E([iPhone])
636 C -->|Three| F([Car<br/>wroom wroom])
637 click A "flowchart.html#link-clicked" "link test"
638 click B testClick "click test"
639 classDef someclass fill:#f96;
640 class A someclass;
641 class C someclass;
642 </div>
643
644 <hr/>
645 <h2>Sample 11</h2>
646
647 <h3>graph</h3>
648 <div class="mermaid">
649 graph LR
650 A[[subroutine shape test]]
651 A -->|Get money| B[[Go shopping]]
652 B --> C[[Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?]]
653 C -->|One| D[[Laptop]]
654 C -->|Two| E[[iPhone]]
655 C -->|Three| F[[Car<br/>wroom wroom]]
656 click A "flowchart.html#link-clicked" "link test"
657 click B testClick "click test"
658 classDef someclass fill:#f96;
659 class A someclass;
660 class C someclass;
661 </div>
662
663 <h3>flowchart</h3>
664 <div class="mermaid">
665 flowchart LR
666 A[[subroutine shape test]]
667 A -->|Get money| B[[Go shopping]]
668 B --> C[[Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?]]
669 C -->|One| D[[Laptop]]
670 C -->|Two| E[[iPhone]]
671 C -->|Three| F[[Car<br/>wroom wroom]]
672 click A "flowchart.html#link-clicked" "link test"
673 click B testClick "click test"
674 classDef someclass fill:#f96;
675 class A someclass;
676 class C someclass;
677 </div>
678
679 <hr/>
680 <h2>Sample 12</h2>
681
682 <h3>graph</h3>
683 <div class="mermaid">
684 graph LR
685 A[(cylindrical<br />shape<br />test)]
686 A -->|Get money| B1[(Go shopping 1)]
687 A -->|Get money| B2[(Go shopping 2)]
688 A -->|Get money| B3[(Go shopping 3)]
689 C[(Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?)]
690 B1 --> C
691 B2 --> C
692 B3 --> C
693 C -->|One| D[(Laptop)]
694 C -->|Two| E[(iPhone)]
695 C -->|Three| F[(Car)]
696 click A "flowchart.html#link-clicked" "link test"
697 click B testClick "click test"
698 classDef someclass fill:#f96;
699 class A someclass;
700 </div>
701
702 <h3>flowchart</h3>
703 <div class="mermaid">
704 flowchart LR
705 A[(cylindrical<br />shape<br />test)]
706 A -->|Get money| B1[(Go shopping 1)]
707 A -->|Get money| B2[(Go shopping 2)]
708 A -->|Get money| B3[(Go shopping 3)]
709 C[(Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?)]
710 B1 --> C
711 B2 --> C
712 B3 --> C
713 C -->|One| D[(Laptop)]
714 C -->|Two| E[(iPhone)]
715 C -->|Three| F[(Car)]
716 click A "flowchart.html#link-clicked" "link test"
717 click B testClick "click test"
718 classDef someclass fill:#f96;
719 class A someclass;
720 </div>
721
722 <hr/>
723 <h2>Sample 13</h2>
724
725 <h3>graph</h3>
726 <div class="mermaid">
727 graph LR
728 A1[Multi<br>Line] -->|Multi<br>Line| B1(Multi<br>Line)
729 C1[Multi<br/>Line] -->|Multi<br/>Line| D1(Multi<br/>Line)
730 E1[Multi<br />Line] -->|Multi<br />Line| F1(Multi<br />Line)
731 A2[Multi<br>Line] -->|Multi<br>Line| B2(Multi<br>Line)
732 C2[Multi<br/>Line] -->|Multi<br/>Line| D2(Multi<br/>Line)
733 E2[Multi<br />Line] -->|Multi<br />Line| F2(Multi<br />Line)
734 linkStyle 0 stroke:DarkGray,stroke-width:2px
735 linkStyle 1 stroke:DarkGray,stroke-width:2px
736 linkStyle 2 stroke:DarkGray,stroke-width:2px
737 </div>
738
739 <h3>flowchart</h3>
740 <div class="mermaid">
741 flowchart LR
742 A1[Multi<br>Line] -->|Multi<br>Line| B1(Multi<br>Line)
743 C1[Multi<br/>Line] -->|Multi<br/>Line| D1(Multi<br/>Line)
744 E1[Multi<br />Line] -->|Multi<br />Line| F1(Multi<br />Line)
745 A2[Multi<br>Line] -->|Multi<br>Line| B2(Multi<br>Line)
746 C2[Multi<br/>Line] -->|Multi<br/>Line| D2(Multi<br/>Line)
747 E2[Multi<br />Line] -->|Multi<br />Line| F2(Multi<br />Line)
748 linkStyle 0 stroke:DarkGray,stroke-width:2px
749 linkStyle 1 stroke:DarkGray,stroke-width:2px
750 linkStyle 2 stroke:DarkGray,stroke-width:2px
751 </div>
752
753 <hr/>
754 <h2>Sample 14</h2>
755
756 <h3>graph</h3>
757 <div class="mermaid">
758 graph LR
759 A(( )) -->|step 1| B(( ))
760 B(( )) -->|step 2| C(( ))
761 C(( )) -->|step 3| D(( ))
762 linkStyle 1 stroke:greenyellow,stroke-width:2px
763 style C fill:greenyellow,stroke:green,stroke-width:4px
764 </div>
765
766 <h3>flowchart</h3>
767 <div class="mermaid">
768 flowchart LR
769 A(( )) -->|step 1| B(( ))
770 B(( )) -->|step 2| C(( ))
771 C(( )) -->|step 3| D(( ))
772 linkStyle 1 stroke:greenyellow,stroke-width:2px
773 style C fill:greenyellow,stroke:green,stroke-width:4px
774 </div>
775
776 <hr/>
777 <h2>Sample 15</h2>
778
779 <h3>graph</h3>
780 <div class="mermaid">
781 graph TB
782 TITLE["Link Click Events<br>(click the nodes below)"]
783 A["link test (open in same tab)"]
784 B["link test (open in new tab)"]
785 C[anchor test]
786 D[mailto test]
787 E[other protocol test]
788 F[script test]
789 TITLE --> A & B & C & D & E & F
790 click A "https://mermaid-js.github.io/mermaid/#/" "link test (open in same tab)"
791 click B "https://mermaid-js.github.io/mermaid/#/" "link test (open in new tab)" _blank
792 click C "#link-clicked"
793 click D "mailto:user@user.user" "mailto test"
794 click E "notes://do-your-thing/id" "other protocol test"
795 click F "javascript:alert('test')" "script test"
796 </div>
797
798 <h3>flowchart</h3>
799 <div class="mermaid">
800 flowchart TB
801 TITLE["Link Click Events<br>(click the nodes below)"]
802 A["link test (open in same tab)"]
803 B["link test (open in new tab)"]
804 C[anchor test]
805 D[mailto test]
806 E[other protocol test]
807 F[script test]
808 TITLE --> A & B & C & D & E & F
809 click A "https://mermaid-js.github.io/mermaid/#/" "link test (open in same tab)"
810 click B "https://mermaid-js.github.io/mermaid/#/" "link test (open in new tab)" _blank
811 click C "#link-clicked"
812 click D "mailto:user@user.user" "mailto test"
813 click E "notes://do-your-thing/id" "other protocol test"
814 click F "javascript:alert('test')" "script test"
815 </div>
816
817 <hr/>
818 <h2>Sample 16</h2>
819
820 <h3>graph</h3>
821 <div class="mermaid">
822 graph LR
823 A[red<br>text] -->|red<br>text| B(blue<br>text)
824 C[/red<br/>text/] -->|blue<br/>text| D{blue<br/>text}
825 E{{default<br />style}} -->|default<br />style| F([default<br />style])
826 linkStyle default color:Sienna;
827 linkStyle 0 color:red;
828 linkStyle 1 stroke:DarkGray,stroke-width:2px,color:#0000ff
829 style A color:red;
830 style B color:blue;
831 style C stroke:#ff0000,fill:#ffcccc,color:#ff0000
832 style D stroke:#0000ff,fill:#ccccff,color:#0000ff
833 click B "flowchart.html#link-clicked" "link test"
834 click D testClick "click test"
835 </div>
836
837 <h3>flowchart</h3>
838 <div class="mermaid">
839 flowchart LR
840 A[red<br>text] -->|red<br>text| B(blue<br>text)
841 C[/red<br/>text/] -->|blue<br/>text| D{blue<br/>text}
842 E{{default<br />style}} -->|default<br />style| F([default<br />style])
843 linkStyle default color:Sienna;
844 linkStyle 0 color:red;
845 linkStyle 1 stroke:DarkGray,stroke-width:2px,color:#0000ff
846 style A color:red;
847 style B color:blue;
848 style C stroke:#ff0000,fill:#ffcccc,color:#ff0000
849 style D stroke:#0000ff,fill:#ccccff,color:#0000ff
850 click B "flowchart.html#link-clicked" "link test"
851 click D testClick "click test"
852 </div>
853
854 <hr/>
855 <h2>Sample 17</h2>
856
857 <h3>graph</h3>
858 <div class="mermaid">
859 graph TD
860 A[myClass1] --> B[default] & C[default]
861 B[default] & C[default] --> D[myClass2]
862 classDef default stroke-width:2px,fill:none,stroke:silver
863 classDef node color:red
864 classDef myClass1 color:#0000ff
865 classDef myClass2 stroke:#0000ff,fill:#ccccff
866 class A myClass1
867 class D myClass2
868 </div>
869
870 <h3>flowchart</h3>
871 <div class="mermaid">
872 flowchart TD
873 A[myClass1] --> B[default] & C[default]
874 B[default] & C[default] --> D[myClass2]
875 classDef default stroke-width:2px,fill:none,stroke:silver
876 classDef node color:red
877 classDef myClass1 color:#0000ff
878 classDef myClass2 stroke:#0000ff,fill:#ccccff
879 class A myClass1
880 class D myClass2
881 </div>
882
883 <hr/>
884 <h2>Sample 18</h2>
885
886 <h3>graph</h3>
887 <div class="mermaid">
888 graph LR
889 A1[red text] -->|default style| A2[blue text]
890 B1(red text) -->|default style| B2(blue text)
891 C1([red text]) -->|default style| C2([blue text])
892 D1[[red text]] -->|default style| D2[[blue text]]
893 E1[(red text)] -->|default style| E2[(blue text)]
894 F1((red text)) -->|default style| F2((blue text))
895 G1>red text] -->|default style| G2>blue text]
896 H1{red text} -->|default style| H2{blue text}
897 I1{{red text}} -->|default style| I2{{blue text}}
898 J1[/red text/] -->|default style| J2[/blue text/]
899 K1[\red text\] -->|default style| K2[\blue text\]
900 L1[/red text\] -->|default style| L2[/blue text\]
901 M1[\red text/] -->|default style| M2[\blue text/]
902 N1[red text] -->|default style| N2[blue text]
903 linkStyle default color:Sienna;
904 style A1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
905 style B1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
906 style C1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
907 style D1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
908 style E1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
909 style F1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
910 style G1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
911 style H1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
912 style I1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
913 style J1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
914 style K1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
915 style L1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
916 style M1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
917 style N1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
918 style A2 stroke:#0000ff,fill:#ccccff,color:#0000ff
919 style B2 stroke:#0000ff,fill:#ccccff,color:#0000ff
920 style C2 stroke:#0000ff,fill:#ccccff,color:#0000ff
921 style D2 stroke:#0000ff,fill:#ccccff,color:#0000ff
922 style E2 stroke:#0000ff,fill:#ccccff,color:#0000ff
923 style F2 stroke:#0000ff,fill:#ccccff,color:#0000ff
924 style G2 stroke:#0000ff,fill:#ccccff,color:#0000ff
925 style H2 stroke:#0000ff,fill:#ccccff,color:#0000ff
926 style I2 stroke:#0000ff,fill:#ccccff,color:#0000ff
927 style J2 stroke:#0000ff,fill:#ccccff,color:#0000ff
928 style K2 stroke:#0000ff,fill:#ccccff,color:#0000ff
929 style L2 stroke:#0000ff,fill:#ccccff,color:#0000ff
930 style M2 stroke:#0000ff,fill:#ccccff,color:#0000ff
931 style N2 stroke:#0000ff,fill:#ccccff,color:#0000ff
932 </div>
933
934 <h3>flowchart</h3>
935 <div class="mermaid">
936 flowchart LR
937 A1[red text] <-->|default style| A2[blue text]
938 B1(red text) <-->|default style| B2(blue text)
939 C1([red text]) <-->|default style| C2([blue text])
940 D1[[red text]] <-->|default style| D2[[blue text]]
941 E1[(red text)] <-->|default style| E2[(blue text)]
942 F1((red text)) <-->|default style| F2((blue text))
943 G1>red text] <-->|default style| G2>blue text]
944 H1{red text} <-->|default style| H2{blue text}
945 I1{{red text}} <-->|default style| I2{{blue text}}
946 J1[/red text/] <-->|default style| J2[/blue text/]
947 K1[\red text\] <-->|default style| K2[\blue text\]
948 L1[/red text\] <-->|default style| L2[/blue text\]
949 M1[\red text/] <-->|default style| M2[\blue text/]
950 N1[red text] <-->|default style| N2[blue text]
951 linkStyle default color:Sienna;
952 style A1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
953 style B1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
954 style C1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
955 style D1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
956 style E1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
957 style F1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
958 style G1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
959 style H1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
960 style I1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
961 style J1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
962 style K1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
963 style L1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
964 style M1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
965 style N1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
966 style A2 stroke:#0000ff,fill:#ccccff,color:#0000ff
967 style B2 stroke:#0000ff,fill:#ccccff,color:#0000ff
968 style C2 stroke:#0000ff,fill:#ccccff,color:#0000ff
969 style D2 stroke:#0000ff,fill:#ccccff,color:#0000ff
970 style E2 stroke:#0000ff,fill:#ccccff,color:#0000ff
971 style F2 stroke:#0000ff,fill:#ccccff,color:#0000ff
972 style G2 stroke:#0000ff,fill:#ccccff,color:#0000ff
973 style H2 stroke:#0000ff,fill:#ccccff,color:#0000ff
974 style I2 stroke:#0000ff,fill:#ccccff,color:#0000ff
975 style J2 stroke:#0000ff,fill:#ccccff,color:#0000ff
976 style K2 stroke:#0000ff,fill:#ccccff,color:#0000ff
977 style L2 stroke:#0000ff,fill:#ccccff,color:#0000ff
978 style M2 stroke:#0000ff,fill:#ccccff,color:#0000ff
979 style N2 stroke:#0000ff,fill:#ccccff,color:#0000ff
980 </div>
981
982 <hr/>
983 <h2>Sample 19</h2>
984
985 <h3>graph</h3>
986 <div class="mermaid">
987 graph TB
988 A1[red text] -->|default style| A2[blue text]
989 B1(red text) -->|default style| B2(blue text)
990 C1([red text]) -->|default style| C2([blue text])
991 D1[[red text]] -->|default style| D2[[blue text]]
992 E1[(red text)] -->|default style| E2[(blue text)]
993 F1((red text)) -->|default style| F2((blue text))
994 G1>red text] -->|default style| G2>blue text]
995 H1{red text} -->|default style| H2{blue text}
996 I1{{red text}} -->|default style| I2{{blue text}}
997 J1[/red text/] -->|default style| J2[/blue text/]
998 K1[\red text\] -->|default style| K2[\blue text\]
999 L1[/red text\] -->|default style| L2[/blue text\]
1000 M1[\red text/] -->|default style| M2[\blue text/]
1001 N1[red text] -->|default style| N2[blue text]
1002 linkStyle default color:Sienna;
1003 style A1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1004 style B1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1005 style C1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1006 style D1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1007 style E1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1008 style F1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1009 style G1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1010 style H1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1011 style I1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1012 style J1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1013 style K1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1014 style L1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1015 style M1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1016 style N1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1017 style A2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1018 style B2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1019 style C2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1020 style D2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1021 style E2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1022 style F2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1023 style G2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1024 style H2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1025 style I2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1026 style J2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1027 style K2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1028 style L2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1029 style M2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1030 style N2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1031 </div>
1032
1033 <h3>flowchart</h3>
1034 <div class="mermaid">
1035 flowchart TB
1036 A1[red text] <-->|default style| A2[blue text]
1037 B1(red text) <-->|default style| B2(blue text)
1038 C1([red text]) <-->|default style| C2([blue text])
1039 D1[[red text]] <-->|default style| D2[[blue text]]
1040 E1[(red text)] <-->|default style| E2[(blue text)]
1041 F1((red text)) <-->|default style| F2((blue text))
1042 G1>red text] <-->|default style| G2>blue text]
1043 H1{red text} <-->|default style| H2{blue text}
1044 I1{{red text}} <-->|default style| I2{{blue text}}
1045 J1[/red text/] <-->|default style| J2[/blue text/]
1046 K1[\red text\] <-->|default style| K2[\blue text\]
1047 L1[/red text\] <-->|default style| L2[/blue text\]
1048 M1[\red text/] <-->|default style| M2[\blue text/]
1049 N1[red text] <-->|default style| N2[blue text]
1050 linkStyle default color:Sienna;
1051 style A1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1052 style B1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1053 style C1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1054 style D1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1055 style E1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1056 style F1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1057 style G1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1058 style H1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1059 style I1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1060 style J1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1061 style K1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1062 style L1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1063 style M1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1064 style N1 stroke:#ff0000,fill:#ffcccc,color:#ff0000
1065 style A2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1066 style B2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1067 style C2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1068 style D2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1069 style E2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1070 style F2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1071 style G2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1072 style H2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1073 style I2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1074 style J2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1075 style K2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1076 style L2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1077 style M2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1078 style N2 stroke:#0000ff,fill:#ccccff,color:#0000ff
1079 </div>
1080
1081 <hr/>
1082
1083 <h1 id="link-clicked">Anchor for "link-clicked" test</h1>
1084
1085 <script src="./mermaid.js"></script>
1086 <script>
1087 mermaid.initialize({
1088 theme: 'forest',
1089 logLevel: 3,
1090 securityLevel: 'loose',
1091 flowchart: { curve: 'basis' }
1092 });
1093 </script>
1094 <script>
1095 function testClick(nodeId) {
1096 console.log("clicked", nodeId)
1097 var originalBgColor = document.querySelector('body').style.backgroundColor
1098 document.querySelector('body').style.backgroundColor = 'yellow'
1099 setTimeout(function() {
1100 document.querySelector('body').style.backgroundColor = originalBgColor
1101 }, 100)
1102 }
1103 </script>
1104</body>
1105</html>