UNPKG

mermaid

Version:

Markdownish syntax for generating flowcharts

198 lines (177 loc) 6.02 kB
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <!-- <script src="../vendor/d3/d3.js"></script> <script src="../vendor/dagre-d3/dist/dagre-d3.core.js"></script> --> <script src="../dist/mermaid.full.js"></script> <style id="css"> /* This sets the color for "TK" nodes to a light blue green. */ g.type-TK > rect { fill: #00ffd0; } text { font-weight: 300; font-family: "Helvetica Neue", Helvetica, Arial, sans-serf; font-size: 14px; } .node rect { stroke: #999; fill: #ededed; stroke-width: 1.5px; } .edgePath path { stroke: #333; stroke-width: 1.5px; fill:#fff; } </style> </head> <body> <h1>Loglevel 3</h1> <div class="mermaid" id="loglevel3"> graph TD; classDef default stroke:#999,fill:#ededed; classDef gosub-object fill:#1e90ff; classDef delay-object fill:#32cd32; classDef switch-object stroke:#999,fill:#ff8c00; classDef drop-object fill:#8fbc8f; classDef phrasestudio-object fill:#84b5ed; classDef phrasephone-object fill:#dddddd; ano(A-number<br> +46 70 3010663<br> Test bw)-->bno(+46 77 1905746<br> LFZ Generell); bno-->df103do1(103.1 Start<br> LFZ - Kvällsmeny 17-22); df103do1-->|Errand=100<br> FallbackNumber=4663193308<br> Entrance=LFZ Generell|df103do30{103.30 Switch}; df103do30-->|Schedule<br> Kvällsmeny<br> Open|df103do70(103.70 Menu); df103do30-->|Schedule<br> Kvällsmeny<br> Closed|df103do40(103.40 Gosub<br> => 104.1 LFZ - Stängtfraser); df103do40-->|Sub|df104do3(104.3 Phrase<br> Stängt_InfoTelefontid DB:237); df104do3-->df104do4(104.4 Phrase<br> Stängt_InfoSkadeärende DB:238); df104do4-->df104do5(104.5 Phrase<br> Stängt_InfoOmbud DB:239); df104do5-->df104do6(104.6 Phrase<br> InfoWebbplats DB:235); df104do6-->df104do7(104.7 Phrase<br> TackOchVälkommenÅter DB:236); df104do7-->df104do8(104.8 Return); df104do8-->df103do50(103.50 Goto); df103do50-->df103do999(103.999 Drop); df103do70-->|1<br> Errand=310<br> Menuchoice=Telefonbanken|df103do116(103.116 Goto); df103do116-->df6do11<6.11 Switch>; df6do11-->|Öppet|df6do200(6.200 Route<br> CG route); df103do70-->|2<br> Errand=340<br> Menuchoice=Privat Sak|df103do126(103.126 Goto); df103do126-->df6do11<6.11 Switch>; df103do70-->|3<br> Errand=300<br> Menuchoice=Skadejour|df103do136(103.136 Goto); df103do136-->df6do11<6.11 Switch>; df103do70-->|invalid|df103do80(103.80 Goto); df103do80-->df103do184(103.184 Phrase<br> Meny_Okänt_val DB:241); df103do184-->df103do186(103.186 Goto); df103do186-->df103do305(103.305 Counter); df103do70-->|timeout|df103do85(103.85 Goto); df103do85-->df103do305; df103do305-->|2x|df103do310(103.310 Phrase<br> Meny_Försök_igen DB:242); df103do310-->df103do315(103.315 Goto); df103do315-->df103do70; df103do305-->|3x|df103do325(103.325 Goto); df103do325-->df103do985(103.985 Gosub<br> => 105.1 LFZ - Kväll inget val); df103do985-->|Sub|df105do3(105.3 Phrase<br> InfoWebbplats DB:235); df105do3-->df105do4(105.4 Phrase<br> TackOchVälkommenÅter DB:236); df105do4-->df105do8(105.8 Return); df105do8-->df103do990(103.990 Goto); df103do990-->df103do999; class df103do999 drop-object; class df103do30,df6do11,df6do11,df6do11 switch-object; class df104do3,df104do4,df104do5,df104do6,df104do7,df103do184,df103do310,df105do3,df105do4 phrasestudio-object; class df103do40,df103do985 gosub-object; </div> <h1>Loglevel 2</h1> <div class="mermaid" id="loglevel2"> graph TD; classDef default stroke:#999,fill:#ededed; classDef gosub-object fill:#1e90ff; classDef delay-object fill:#32cd32; classDef switch-object stroke:#999,fill:#ff8c00; classDef drop-object fill:#8fbc8f; classDef phrasestudio-object fill:#84b5ed; classDef phrasephone-object fill:#dddddd; ano(A-number<br> +46 70 3010663<br> Test bw)-->bno(+46 77 1905746<br> LFZ Generell); bno-->df103do1(103.1 Start<br> LFZ - Kvällsmeny 17-22); df103do1-->|Errand=100<br> FallbackNumber=4663193308<br> Entrance=LFZ Generell|df103do30{103.30 Switch}; df103do30-->|Schedule<br> Kvällsmeny<br> Open|df103do70(103.70 Menu); df103do30-->|Schedule<br> Kvällsmeny<br> Closed|df104do3(104.3 Phrase<br> Stängt_InfoTelefontid DB:237); df104do3-->df104do4(104.4 Phrase<br> Stängt_InfoSkadeärende DB:238); df104do4-->df104do5(104.5 Phrase<br> Stängt_InfoOmbud DB:239); df104do5-->df104do6(104.6 Phrase<br> InfoWebbplats DB:235); df104do6-->df104do7(104.7 Phrase<br> TackOchVälkommenÅter DB:236); df104do7-->df103do999(103.999 Drop); df103do70-->|1<br> Errand=310<br> Menuchoice=Telefonbanken|df6do200(6.200 Route<br> CG route); df103do70-->|2<br> Errand=340<br> Menuchoice=Privat Sak|df6do200(6.200 Route<br> CG route); df103do70-->|3<br> Errand=300<br> Menuchoice=Skadejour|df6do200(6.200 Route<br> CG route); df103do70-->|invalid|df103do184(103.184 Phrase<br> Meny_Okänt_val DB:241); df103do184-->df103do305(103.305 Counter); df103do70-->|timeout|df103do305; df103do305-->|2x|df103do310(103.310 Phrase<br> Meny_Försök_igen DB:242); df103do310-->df103do70; df103do305-->|3x|df105do3(105.3 Phrase<br> InfoWebbplats DB:235); df105do3-->df105do4(105.4 Phrase<br> TackOchVälkommenÅter DB:236); df105do4-->df103do999; class df103do999 drop-object; class df103do30 switch-object; class df104do3,df104do4,df104do5,df104do6,df104do7,df103do184,df103do310,df105do3,df105do4 phrasestudio-object; linkStyle 3 stroke:#ff3,stroke-width:4px; </div> </body> </html>