| 1 |
flowchart LR |
| 2 |
id |
| 3 |
|
| 4 |
flowchart LR |
| 5 |
id1[This is the text in the box] |
| 6 |
|
| 7 |
flowchart TD |
| 8 |
Start --> Stop |
| 9 |
|
| 10 |
flowchart LR |
| 11 |
Start --> Stop |
| 12 |
|
| 13 |
flowchart LR |
| 14 |
id1(This is the text in the box) |
| 15 |
|
| 16 |
flowchart LR |
| 17 |
id1([This is the text in the box]) |
| 18 |
|
| 19 |
flowchart LR |
| 20 |
id1[[This is the text in the box]] |
| 21 |
|
| 22 |
flowchart LR |
| 23 |
id1[(Database)] |
| 24 |
|
| 25 |
flowchart LR |
| 26 |
id1((This is the text in the circle)) |
| 27 |
|
| 28 |
flowchart LR |
| 29 |
id1>This is the text in the box] |
| 30 |
|
| 31 |
flowchart LR |
| 32 |
id1{This is the text in the box} |
| 33 |
|
| 34 |
flowchart LR |
| 35 |
id1{{This is the text in the box}} |
| 36 |
|
| 37 |
flowchart TD |
| 38 |
id1[/This is the text in the box/] |
| 39 |
|
| 40 |
flowchart TD |
| 41 |
id1[\This is the text in the box\] |
| 42 |
|
| 43 |
flowchart TD |
| 44 |
A[/Christmas\] |
| 45 |
|
| 46 |
flowchart TD |
| 47 |
B[\Go shopping/] |
| 48 |
|
| 49 |
flowchart LR |
| 50 |
A-->B |
| 51 |
|
| 52 |
flowchart LR |
| 53 |
A --- B |
| 54 |
|
| 55 |
flowchart LR |
| 56 |
A-- This is the text! ---B |
| 57 |
|
| 58 |
flowchart LR |
| 59 |
A---|This is the text|B |
| 60 |
|
| 61 |
flowchart LR |
| 62 |
A-->|text|B |
| 63 |
|
| 64 |
flowchart LR |
| 65 |
A-- text -->B |
| 66 |
|
| 67 |
flowchart LR; |
| 68 |
A-.->B; |
| 69 |
|
| 70 |
flowchart LR |
| 71 |
A-. text .-> B |
| 72 |
|
| 73 |
flowchart LR |
| 74 |
A ==> B |
| 75 |
|
| 76 |
flowchart LR |
| 77 |
A == text ==> B |
| 78 |
|
| 79 |
flowchart LR |
| 80 |
A -- text --> B -- text2 --> C |
| 81 |
|
| 82 |
flowchart LR |
| 83 |
a --> b & c--> d |
| 84 |
|
| 85 |
flowchart TB |
| 86 |
A & B--> C & D |
| 87 |
|
| 88 |
flowchart TB |
| 89 |
A --> C |
| 90 |
A --> D |
| 91 |
B --> C |
| 92 |
B --> D |
| 93 |
|
| 94 |
flowchart LR |
| 95 |
A --o B |
| 96 |
B --x C |
| 97 |
|
| 98 |
flowchart LR |
| 99 |
A o--o B |
| 100 |
B <--> C |
| 101 |
C x--x D |
| 102 |
|
| 103 |
flowchart TD |
| 104 |
A[Start] --> B{Is it?}; |
| 105 |
B -->|Yes| C[OK]; |
| 106 |
C --> D[Rethink]; |
| 107 |
D --> B; |
| 108 |
B ---->|No| E[End]; |
| 109 |
|
| 110 |
flowchart TD |
| 111 |
A[Start] --> B{Is it?}; |
| 112 |
B -- Yes --> C[OK]; |
| 113 |
C --> D[Rethink]; |
| 114 |
D --> B; |
| 115 |
B -- No ----> E[End]; |
| 116 |
|
| 117 |
flowchart LR |
| 118 |
id1["This is the (text) in the box"] |
| 119 |
|
| 120 |
flowchart LR |
| 121 |
A["A double quote:#quot;"] -->B["A dec char:#9829;"] |
| 122 |
|
| 123 |
subgraph title |
| 124 |
graph definition |
| 125 |
end |
| 126 |
|
| 127 |
flowchart TB |
| 128 |
c1-->a2 |
| 129 |
subgraph one |
| 130 |
a1-->a2 |
| 131 |
end |
| 132 |
subgraph two |
| 133 |
b1-->b2 |
| 134 |
end |
| 135 |
subgraph three |
| 136 |
c1-->c2 |
| 137 |
end |
| 138 |
|
| 139 |
flowchart TB |
| 140 |
c1-->a2 |
| 141 |
subgraph ide1 [one] |
| 142 |
a1-->a2 |
| 143 |
end |
| 144 |
|
| 145 |
flowchart TB |
| 146 |
c1-->a2 |
| 147 |
subgraph one |
| 148 |
a1-->a2 |
| 149 |
end |
| 150 |
subgraph two |
| 151 |
b1-->b2 |
| 152 |
end |
| 153 |
subgraph three |
| 154 |
c1-->c2 |
| 155 |
end |
| 156 |
one --> two |
| 157 |
three --> two |
| 158 |
two --> c2 |
| 159 |
|
| 160 |
flowchart LR |
| 161 |
subgraph TOP |
| 162 |
direction TB |
| 163 |
subgraph B1 |
| 164 |
direction RL |
| 165 |
i1 -->f1 |
| 166 |
end |
| 167 |
subgraph B2 |
| 168 |
direction BT |
| 169 |
i2 -->f2 |
| 170 |
end |
| 171 |
end |
| 172 |
A --> TOP --> B |
| 173 |
B1 --> B2 |
| 174 |
|
| 175 |
click nodeId callback |
| 176 |
click nodeId call callback() |
| 177 |
|
| 178 |
flowchart LR; |
| 179 |
A-->B; |
| 180 |
B-->C; |
| 181 |
C-->D; |
| 182 |
click A callback "Tooltip for a callback" |
| 183 |
click B "http://www.github.com" "This is a tooltip for a link" |
| 184 |
click A call callback() "Tooltip for a callback" |
| 185 |
click B href "http://www.github.com" "This is a tooltip for a link" |
| 186 |
|
| 187 |
flowchart LR; |
| 188 |
A-->B; |
| 189 |
B-->C; |
| 190 |
C-->D; |
| 191 |
D-->E; |
| 192 |
click A "http://www.github.com" _blank |
| 193 |
click B "http://www.github.com" "Open this in a new tab" _blank |
| 194 |
click C href "http://www.github.com" _blank |
| 195 |
click D href "http://www.github.com" "Open this in a new tab" _blank |
| 196 |
|
| 197 |
flowchart LR |
| 198 |
%% this is a comment A -- text --> B{node} |
| 199 |
A -- text --> B -- text2 --> C |
| 200 |
|
| 201 |
linkStyle 3 stroke:#ff3,stroke-width:4px,color:red; |
| 202 |
|
| 203 |
flowchart LR |
| 204 |
id1(Start)-->id2(Stop) |
| 205 |
style id1 fill:#f9f,stroke:#333,stroke-width:4px |
| 206 |
style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5 |
| 207 |
|
| 208 |
classDef className fill:#f9f,stroke:#333,stroke-width:4px; |
| 209 |
|
| 210 |
class nodeId1 className; |
| 211 |
|
| 212 |
class nodeId1,nodeId2 className; |
| 213 |
|
| 214 |
flowchart LR |
| 215 |
A:::someclass --> B |
| 216 |
classDef someclass fill:#f96; |
| 217 |
|
| 218 |
flowchart LR; |
| 219 |
A-->B[AAA<span>BBB</span>]; |
| 220 |
B-->D; |
| 221 |
class A cssClass; |
| 222 |
|
| 223 |
classDef default fill:#f9f,stroke:#333,stroke-width:4px; |
| 224 |
|
| 225 |
flowchart TD |
| 226 |
B["fa:fa-twitter for peace"] |
| 227 |
B-->C[fa:fa-ban forbidden] |
| 228 |
B-->D(fa:fa-spinner); |
| 229 |
B-->E(A fa:fa-camera-retro perhaps?); |
| 230 |
|
| 231 |
flowchart LR |
| 232 |
A[Hard edge] -->|Link text| B(Round edge) |
| 233 |
B --> C{Decision} |
| 234 |
C -->|One| D[Result one] |
| 235 |
C -->|Two| E[Result two] |
| 236 |
|
| 237 |
flowchart LR; |
| 238 |
A-->B; |
| 239 |
B-->C; |
| 240 |
C-->D; |
| 241 |
click A callback "Tooltip" |
| 242 |
click B "http://www.github.com" "This is a link" |
| 243 |
click C call callback() "Tooltip" |
| 244 |
click D href "http://www.github.com" "This is a link" |
| 245 |
|
| 246 |
---------------------------------------------------- |
| 247 |
|
| 248 |
[ |
| 249 |
["keyword", "flowchart"], " LR\r\n id\r\n\r\n", |
| 250 |
|
| 251 |
["keyword", "flowchart"], |
| 252 |
" LR\r\n id1", |
| 253 |
["text", "[This is the text in the box]"], |
| 254 |
|
| 255 |
["keyword", "flowchart"], |
| 256 |
" TD\r\n Start ", |
| 257 |
["arrow", "-->"], |
| 258 |
" Stop\r\n\r\n", |
| 259 |
|
| 260 |
["keyword", "flowchart"], |
| 261 |
" LR\r\n Start ", |
| 262 |
["arrow", "-->"], |
| 263 |
" Stop\r\n\r\n", |
| 264 |
|
| 265 |
["keyword", "flowchart"], |
| 266 |
" LR\r\n id1", |
| 267 |
["text", "(This is the text in the box)"], |
| 268 |
|
| 269 |
["keyword", "flowchart"], |
| 270 |
" LR\r\n id1", |
| 271 |
["text", "([This is the text in the box])"], |
| 272 |
|
| 273 |
["keyword", "flowchart"], |
| 274 |
" LR\r\n id1", |
| 275 |
["text", "[[This is the text in the box]]"], |
| 276 |
|
| 277 |
["keyword", "flowchart"], " LR\r\n id1", ["text", "[(Database)]"], |
| 278 |
|
| 279 |
["keyword", "flowchart"], |
| 280 |
" LR\r\n id1", |
| 281 |
["text", "((This is the text in the circle))"], |
| 282 |
|
| 283 |
["keyword", "flowchart"], |
| 284 |
" LR\r\n id1", |
| 285 |
["text", ">This is the text in the box]"], |
| 286 |
|
| 287 |
["keyword", "flowchart"], |
| 288 |
" LR\r\n id1", |
| 289 |
["text", "{This is the text in the box}"], |
| 290 |
|
| 291 |
["keyword", "flowchart"], |
| 292 |
" LR\r\n id1", |
| 293 |
["text", "{{This is the text in the box}}"], |
| 294 |
|
| 295 |
["keyword", "flowchart"], |
| 296 |
" TD\r\n id1", |
| 297 |
["text", "[/This is the text in the box/]"], |
| 298 |
|
| 299 |
["keyword", "flowchart"], |
| 300 |
" TD\r\n id1", |
| 301 |
["text", "[\\This is the text in the box\\]"], |
| 302 |
|
| 303 |
["keyword", "flowchart"], " TD\r\n A", ["text", "[/Christmas\\]"], |
| 304 |
|
| 305 |
["keyword", "flowchart"], " TD\r\n B", ["text", "[\\Go shopping/]"], |
| 306 |
|
| 307 |
["keyword", "flowchart"], " LR\r\n A", ["arrow", "-->"], "B\r\n\r\n", |
| 308 |
|
| 309 |
["keyword", "flowchart"], " LR\r\n A ", ["arrow", "---"], " B\r\n\r\n", |
| 310 |
|
| 311 |
["keyword", "flowchart"], |
| 312 |
" LR\r\n A", |
| 313 |
["inter-arrow-label", [ |
| 314 |
["arrow-head", "--"], |
| 315 |
["label", "This is the text!"], |
| 316 |
["arrow", "---"] |
| 317 |
]], |
| 318 |
"B\r\n\r\n", |
| 319 |
|
| 320 |
["keyword", "flowchart"], |
| 321 |
" LR\r\n A", |
| 322 |
["arrow", "---"], |
| 323 |
["label", "|This is the text|"], |
| 324 |
"B\r\n\r\n", |
| 325 |
|
| 326 |
["keyword", "flowchart"], |
| 327 |
" LR\r\n A", |
| 328 |
["arrow", "-->"], |
| 329 |
["label", "|text|"], |
| 330 |
"B\r\n\r\n", |
| 331 |
|
| 332 |
["keyword", "flowchart"], |
| 333 |
" LR\r\n A", |
| 334 |
["inter-arrow-label", [ |
| 335 |
["arrow-head", "--"], |
| 336 |
["label", "text"], |
| 337 |
["arrow", "-->"] |
| 338 |
]], |
| 339 |
"B\r\n\r\n", |
| 340 |
|
| 341 |
["keyword", "flowchart"], " LR", ["punctuation", ";"], |
| 342 |
"\r\n A", ["arrow", "-.->"], "B", ["punctuation", ";"], |
| 343 |
|
| 344 |
["keyword", "flowchart"], |
| 345 |
" LR\r\n A", |
| 346 |
["inter-arrow-label", [ |
| 347 |
["arrow-head", "-."], |
| 348 |
["label", "text"], |
| 349 |
["arrow", ".->"] |
| 350 |
]], |
| 351 |
" B\r\n\r\n", |
| 352 |
|
| 353 |
["keyword", "flowchart"], " LR\r\n A ", ["arrow", "==>"], " B\r\n\r\n", |
| 354 |
|
| 355 |
["keyword", "flowchart"], |
| 356 |
" LR\r\n A ", |
| 357 |
["inter-arrow-label", [ |
| 358 |
["arrow-head", "=="], |
| 359 |
["label", "text"], |
| 360 |
["arrow", "==>"] |
| 361 |
]], |
| 362 |
" B\r\n\r\n", |
| 363 |
|
| 364 |
["keyword", "flowchart"], |
| 365 |
" LR\r\n A ", |
| 366 |
["inter-arrow-label", [ |
| 367 |
["arrow-head", "--"], |
| 368 |
["label", "text"], |
| 369 |
["arrow", "-->"] |
| 370 |
]], |
| 371 |
" B ", |
| 372 |
["inter-arrow-label", [ |
| 373 |
["arrow-head", "--"], |
| 374 |
["label", "text2"], |
| 375 |
["arrow", "-->"] |
| 376 |
]], |
| 377 |
" C\r\n\r\n", |
| 378 |
|
| 379 |
["keyword", "flowchart"], |
| 380 |
" LR\r\n a ", |
| 381 |
["arrow", "-->"], |
| 382 |
" b ", |
| 383 |
["operator", "&"], |
| 384 |
" c", |
| 385 |
["arrow", "-->"], |
| 386 |
" d\r\n\r\n", |
| 387 |
|
| 388 |
["keyword", "flowchart"], |
| 389 |
" TB\r\n A ", |
| 390 |
["operator", "&"], |
| 391 |
" B", |
| 392 |
["arrow", "-->"], |
| 393 |
" C ", |
| 394 |
["operator", "&"], |
| 395 |
" D\r\n\r\n", |
| 396 |
|
| 397 |
["keyword", "flowchart"], |
| 398 |
" TB\r\n A ", |
| 399 |
["arrow", "-->"], |
| 400 |
" C\r\n A ", |
| 401 |
["arrow", "-->"], |
| 402 |
" D\r\n B ", |
| 403 |
["arrow", "-->"], |
| 404 |
" C\r\n B ", |
| 405 |
["arrow", "-->"], |
| 406 |
" D\r\n\r\n", |
| 407 |
|
| 408 |
["keyword", "flowchart"], |
| 409 |
" LR\r\n A ", |
| 410 |
["arrow", "--o"], |
| 411 |
" B\r\n B ", |
| 412 |
["arrow", "--x"], |
| 413 |
" C\r\n\r\n", |
| 414 |
|
| 415 |
["keyword", "flowchart"], |
| 416 |
" LR\r\n A ", |
| 417 |
["arrow", "o--o"], |
| 418 |
" B\r\n B ", |
| 419 |
["arrow", "<-->"], |
| 420 |
" C\r\n C ", |
| 421 |
["arrow", "x--x"], |
| 422 |
" D\r\n\r\n", |
| 423 |
|
| 424 |
["keyword", "flowchart"], |
| 425 |
" TD\r\n A", |
| 426 |
["text", "[Start]"], |
| 427 |
["arrow", "-->"], |
| 428 |
" B", |
| 429 |
["text", "{Is it?}"], |
| 430 |
["punctuation", ";"], |
| 431 |
|
| 432 |
"\r\n B ", |
| 433 |
["arrow", "-->"], |
| 434 |
["label", "|Yes|"], |
| 435 |
" C", |
| 436 |
["text", "[OK]"], |
| 437 |
["punctuation", ";"], |
| 438 |
|
| 439 |
"\r\n C ", |
| 440 |
["arrow", "-->"], |
| 441 |
" D", |
| 442 |
["text", "[Rethink]"], |
| 443 |
["punctuation", ";"], |
| 444 |
|
| 445 |
"\r\n D ", |
| 446 |
["arrow", "-->"], |
| 447 |
" B", |
| 448 |
["punctuation", ";"], |
| 449 |
|
| 450 |
"\r\n B ", |
| 451 |
["arrow", "---->"], |
| 452 |
["label", "|No|"], |
| 453 |
" E", |
| 454 |
["text", "[End]"], |
| 455 |
["punctuation", ";"], |
| 456 |
|
| 457 |
["keyword", "flowchart"], |
| 458 |
" TD\r\n A", |
| 459 |
["text", "[Start]"], |
| 460 |
["arrow", "-->"], |
| 461 |
" B", |
| 462 |
["text", "{Is it?}"], |
| 463 |
["punctuation", ";"], |
| 464 |
|
| 465 |
"\r\n B ", |
| 466 |
["inter-arrow-label", [ |
| 467 |
["arrow-head", "--"], |
| 468 |
["label", "Yes"], |
| 469 |
["arrow", "-->"] |
| 470 |
]], |
| 471 |
" C", |
| 472 |
["text", "[OK]"], |
| 473 |
["punctuation", ";"], |
| 474 |
|
| 475 |
"\r\n C ", |
| 476 |
["arrow", "-->"], |
| 477 |
" D", |
| 478 |
["text", "[Rethink]"], |
| 479 |
["punctuation", ";"], |
| 480 |
|
| 481 |
"\r\n D ", |
| 482 |
["arrow", "-->"], |
| 483 |
" B", |
| 484 |
["punctuation", ";"], |
| 485 |
|
| 486 |
"\r\n B ", |
| 487 |
["inter-arrow-label", [ |
| 488 |
["arrow-head", "--"], |
| 489 |
["label", "No"], |
| 490 |
["arrow", "---->"] |
| 491 |
]], |
| 492 |
" E", |
| 493 |
["text", "[End]"], |
| 494 |
["punctuation", ";"], |
| 495 |
|
| 496 |
["keyword", "flowchart"], |
| 497 |
" LR\r\n id1", |
| 498 |
["text", "[\"This is the (text) in the box\"]"], |
| 499 |
|
| 500 |
["keyword", "flowchart"], |
| 501 |
" LR\r\n A", |
| 502 |
["text", "[\"A double quote:#quot;\"]"], |
| 503 |
["arrow", "-->"], |
| 504 |
"B", |
| 505 |
["text", "[\"A dec char:#9829;\"]"], |
| 506 |
|
| 507 |
["keyword", "subgraph"], " title\r\n ", |
| 508 |
["keyword", "graph"], " definition\r\n", |
| 509 |
["keyword", "end"], |
| 510 |
|
| 511 |
["keyword", "flowchart"], " TB\r\n c1", ["arrow", "-->"], "a2\r\n ", |
| 512 |
["keyword", "subgraph"], " one\r\n a1", ["arrow", "-->"], "a2\r\n ", |
| 513 |
["keyword", "end"], |
| 514 |
["keyword", "subgraph"], " two\r\n b1", ["arrow", "-->"], "b2\r\n ", |
| 515 |
["keyword", "end"], |
| 516 |
["keyword", "subgraph"], " three\r\n c1", ["arrow", "-->"], "c2\r\n ", |
| 517 |
["keyword", "end"], |
| 518 |
|
| 519 |
["keyword", "flowchart"], " TB\r\n c1", ["arrow", "-->"], "a2\r\n ", |
| 520 |
["keyword", "subgraph"], " ide1 ", ["text", "[one]"], |
| 521 |
"\r\n a1", ["arrow", "-->"], "a2\r\n ", |
| 522 |
["keyword", "end"], |
| 523 |
|
| 524 |
["keyword", "flowchart"], |
| 525 |
" TB\r\n c1", |
| 526 |
["arrow", "-->"], |
| 527 |
"a2\r\n ", |
| 528 |
|
| 529 |
["keyword", "subgraph"], |
| 530 |
" one\r\n a1", |
| 531 |
["arrow", "-->"], |
| 532 |
"a2\r\n ", |
| 533 |
|
| 534 |
["keyword", "end"], |
| 535 |
|
| 536 |
["keyword", "subgraph"], |
| 537 |
" two\r\n b1", |
| 538 |
["arrow", "-->"], |
| 539 |
"b2\r\n ", |
| 540 |
|
| 541 |
["keyword", "end"], |
| 542 |
|
| 543 |
["keyword", "subgraph"], |
| 544 |
" three\r\n c1", |
| 545 |
["arrow", "-->"], |
| 546 |
"c2\r\n ", |
| 547 |
|
| 548 |
["keyword", "end"], |
| 549 |
|
| 550 |
"\r\n one ", |
| 551 |
["arrow", "-->"], |
| 552 |
" two\r\n three ", |
| 553 |
["arrow", "-->"], |
| 554 |
" two\r\n two ", |
| 555 |
["arrow", "-->"], |
| 556 |
" c2\r\n\r\n", |
| 557 |
|
| 558 |
["keyword", "flowchart"], |
| 559 |
" LR\r\n ", |
| 560 |
|
| 561 |
["keyword", "subgraph"], |
| 562 |
" TOP\r\n ", |
| 563 |
|
| 564 |
["keyword", "direction"], |
| 565 |
" TB\r\n ", |
| 566 |
|
| 567 |
["keyword", "subgraph"], |
| 568 |
" B1\r\n ", |
| 569 |
|
| 570 |
["keyword", "direction"], |
| 571 |
" RL\r\n i1 ", |
| 572 |
["arrow", "-->"], |
| 573 |
"f1\r\n ", |
| 574 |
|
| 575 |
["keyword", "end"], |
| 576 |
|
| 577 |
["keyword", "subgraph"], |
| 578 |
" B2\r\n ", |
| 579 |
|
| 580 |
["keyword", "direction"], |
| 581 |
" BT\r\n i2 ", |
| 582 |
["arrow", "-->"], |
| 583 |
"f2\r\n ", |
| 584 |
|
| 585 |
["keyword", "end"], |
| 586 |
|
| 587 |
["keyword", "end"], |
| 588 |
|
| 589 |
"\r\n A ", |
| 590 |
["arrow", "-->"], |
| 591 |
" TOP ", |
| 592 |
["arrow", "-->"], |
| 593 |
" B\r\n B1 ", |
| 594 |
["arrow", "-->"], |
| 595 |
" B2\r\n\r\n", |
| 596 |
|
| 597 |
["keyword", "click"], |
| 598 |
" nodeId callback\r\n", |
| 599 |
|
| 600 |
["keyword", "click"], |
| 601 |
" nodeId call callback", |
| 602 |
["punctuation", "("], |
| 603 |
["punctuation", ")"], |
| 604 |
|
| 605 |
["keyword", "flowchart"], |
| 606 |
" LR", |
| 607 |
["punctuation", ";"], |
| 608 |
|
| 609 |
"\r\n A", |
| 610 |
["arrow", "-->"], |
| 611 |
"B", |
| 612 |
["punctuation", ";"], |
| 613 |
|
| 614 |
"\r\n B", |
| 615 |
["arrow", "-->"], |
| 616 |
"C", |
| 617 |
["punctuation", ";"], |
| 618 |
|
| 619 |
"\r\n C", |
| 620 |
["arrow", "-->"], |
| 621 |
"D", |
| 622 |
["punctuation", ";"], |
| 623 |
|
| 624 |
["keyword", "click"], |
| 625 |
" A callback ", |
| 626 |
["string", "\"Tooltip for a callback\""], |
| 627 |
|
| 628 |
["keyword", "click"], |
| 629 |
" B ", |
| 630 |
["string", "\"http://www.github.com\""], |
| 631 |
["string", "\"This is a tooltip for a link\""], |
| 632 |
|
| 633 |
["keyword", "click"], |
| 634 |
" A call callback", |
| 635 |
["punctuation", "("], |
| 636 |
["punctuation", ")"], |
| 637 |
["string", "\"Tooltip for a callback\""], |
| 638 |
|
| 639 |
["keyword", "click"], |
| 640 |
" B href ", |
| 641 |
["string", "\"http://www.github.com\""], |
| 642 |
["string", "\"This is a tooltip for a link\""], |
| 643 |
|
| 644 |
["keyword", "flowchart"], |
| 645 |
" LR", |
| 646 |
["punctuation", ";"], |
| 647 |
|
| 648 |
"\r\n A", |
| 649 |
["arrow", "-->"], |
| 650 |
"B", |
| 651 |
["punctuation", ";"], |
| 652 |
|
| 653 |
"\r\n B", |
| 654 |
["arrow", "-->"], |
| 655 |
"C", |
| 656 |
["punctuation", ";"], |
| 657 |
|
| 658 |
"\r\n C", |
| 659 |
["arrow", "-->"], |
| 660 |
"D", |
| 661 |
["punctuation", ";"], |
| 662 |
|
| 663 |
"\r\n D", |
| 664 |
["arrow", "-->"], |
| 665 |
"E", |
| 666 |
["punctuation", ";"], |
| 667 |
|
| 668 |
["keyword", "click"], |
| 669 |
" A ", |
| 670 |
["string", "\"http://www.github.com\""], |
| 671 |
" _blank\r\n ", |
| 672 |
|
| 673 |
["keyword", "click"], |
| 674 |
" B ", |
| 675 |
["string", "\"http://www.github.com\""], |
| 676 |
["string", "\"Open this in a new tab\""], |
| 677 |
" _blank\r\n ", |
| 678 |
|
| 679 |
["keyword", "click"], |
| 680 |
" C href ", |
| 681 |
["string", "\"http://www.github.com\""], |
| 682 |
" _blank\r\n ", |
| 683 |
|
| 684 |
["keyword", "click"], |
| 685 |
" D href ", |
| 686 |
["string", "\"http://www.github.com\""], |
| 687 |
["string", "\"Open this in a new tab\""], |
| 688 |
" _blank\r\n\r\n", |
| 689 |
|
| 690 |
["keyword", "flowchart"], |
| 691 |
" LR\r\n", |
| 692 |
|
| 693 |
["comment", "%% this is a comment A -- text --> B{node}"], |
| 694 |
|
| 695 |
"\r\n A ", |
| 696 |
["inter-arrow-label", [ |
| 697 |
["arrow-head", "--"], |
| 698 |
["label", "text"], |
| 699 |
["arrow", "-->"] |
| 700 |
]], |
| 701 |
" B ", |
| 702 |
["inter-arrow-label", [ |
| 703 |
["arrow-head", "--"], |
| 704 |
["label", "text2"], |
| 705 |
["arrow", "-->"] |
| 706 |
]], |
| 707 |
" C\r\n\r\n", |
| 708 |
|
| 709 |
["keyword", "linkStyle"], |
| 710 |
" 3 ", |
| 711 |
["style", [ |
| 712 |
["property", "stroke"], |
| 713 |
["operator", ":"], |
| 714 |
"#ff3", |
| 715 |
["punctuation", ","], |
| 716 |
["property", "stroke-width"], |
| 717 |
["operator", ":"], |
| 718 |
"4px", |
| 719 |
["punctuation", ","], |
| 720 |
["property", "color"], |
| 721 |
["operator", ":"], |
| 722 |
"red" |
| 723 |
]], |
| 724 |
["punctuation", ";"], |
| 725 |
|
| 726 |
["keyword", "flowchart"], |
| 727 |
" LR\r\n id1", |
| 728 |
["text", "(Start)"], |
| 729 |
["arrow", "-->"], |
| 730 |
"id2", |
| 731 |
["text", "(Stop)"], |
| 732 |
|
| 733 |
["keyword", "style"], |
| 734 |
" id1 ", |
| 735 |
["style", [ |
| 736 |
["property", "fill"], |
| 737 |
["operator", ":"], |
| 738 |
"#f9f", |
| 739 |
["punctuation", ","], |
| 740 |
["property", "stroke"], |
| 741 |
["operator", ":"], |
| 742 |
"#333", |
| 743 |
["punctuation", ","], |
| 744 |
["property", "stroke-width"], |
| 745 |
["operator", ":"], |
| 746 |
"4px" |
| 747 |
]], |
| 748 |
|
| 749 |
["keyword", "style"], |
| 750 |
" id2 ", |
| 751 |
["style", [ |
| 752 |
["property", "fill"], |
| 753 |
["operator", ":"], |
| 754 |
"#bbf", |
| 755 |
["punctuation", ","], |
| 756 |
["property", "stroke"], |
| 757 |
["operator", ":"], |
| 758 |
"#f66", |
| 759 |
["punctuation", ","], |
| 760 |
["property", "stroke-width"], |
| 761 |
["operator", ":"], |
| 762 |
"2px", |
| 763 |
["punctuation", ","], |
| 764 |
["property", "color"], |
| 765 |
["operator", ":"], |
| 766 |
"#fff", |
| 767 |
["punctuation", ","], |
| 768 |
["property", "stroke-dasharray"], |
| 769 |
["operator", ":"], |
| 770 |
" 5 5" |
| 771 |
]], |
| 772 |
|
| 773 |
["keyword", "classDef"], |
| 774 |
" className ", |
| 775 |
["style", [ |
| 776 |
["property", "fill"], |
| 777 |
["operator", ":"], |
| 778 |
"#f9f", |
| 779 |
["punctuation", ","], |
| 780 |
["property", "stroke"], |
| 781 |
["operator", ":"], |
| 782 |
"#333", |
| 783 |
["punctuation", ","], |
| 784 |
["property", "stroke-width"], |
| 785 |
["operator", ":"], |
| 786 |
"4px" |
| 787 |
]], |
| 788 |
["punctuation", ";"], |
| 789 |
|
| 790 |
["keyword", "class"], " nodeId1 className", ["punctuation", ";"], |
| 791 |
|
| 792 |
["keyword", "class"], " nodeId1,nodeId2 className", ["punctuation", ";"], |
| 793 |
|
| 794 |
["keyword", "flowchart"], |
| 795 |
" LR\r\n A", |
| 796 |
["operator", ":::"], |
| 797 |
"someclass ", |
| 798 |
["arrow", "-->"], |
| 799 |
" B\r\n ", |
| 800 |
|
| 801 |
["keyword", "classDef"], |
| 802 |
" someclass ", |
| 803 |
["style", [ |
| 804 |
["property", "fill"], |
| 805 |
["operator", ":"], |
| 806 |
"#f96" |
| 807 |
]], |
| 808 |
["punctuation", ";"], |
| 809 |
|
| 810 |
["keyword", "flowchart"], |
| 811 |
" LR", |
| 812 |
["punctuation", ";"], |
| 813 |
|
| 814 |
"\r\n A", |
| 815 |
["arrow", "-->"], |
| 816 |
"B", |
| 817 |
["text", "[AAA<span>BBB</span>]"], |
| 818 |
["punctuation", ";"], |
| 819 |
|
| 820 |
"\r\n B", |
| 821 |
["arrow", "-->"], |
| 822 |
"D", |
| 823 |
["punctuation", ";"], |
| 824 |
|
| 825 |
["keyword", "class"], |
| 826 |
" A cssClass", |
| 827 |
["punctuation", ";"], |
| 828 |
|
| 829 |
["keyword", "classDef"], |
| 830 |
" default ", |
| 831 |
["style", [ |
| 832 |
["property", "fill"], |
| 833 |
["operator", ":"], |
| 834 |
"#f9f", |
| 835 |
["punctuation", ","], |
| 836 |
["property", "stroke"], |
| 837 |
["operator", ":"], |
| 838 |
"#333", |
| 839 |
["punctuation", ","], |
| 840 |
["property", "stroke-width"], |
| 841 |
["operator", ":"], |
| 842 |
"4px" |
| 843 |
]], |
| 844 |
["punctuation", ";"], |
| 845 |
|
| 846 |
["keyword", "flowchart"], |
| 847 |
" TD\r\n B", |
| 848 |
["text", "[\"fa:fa-twitter for peace\"]"], |
| 849 |
|
| 850 |
"\r\n B", |
| 851 |
["arrow", "-->"], |
| 852 |
"C", |
| 853 |
["text", "[fa:fa-ban forbidden]"], |
| 854 |
|
| 855 |
"\r\n B", |
| 856 |
["arrow", "-->"], |
| 857 |
"D", |
| 858 |
["text", "(fa:fa-spinner)"], |
| 859 |
["punctuation", ";"], |
| 860 |
|
| 861 |
"\r\n B", |
| 862 |
["arrow", "-->"], |
| 863 |
"E", |
| 864 |
["text", "(A fa:fa-camera-retro perhaps?)"], |
| 865 |
["punctuation", ";"], |
| 866 |
|
| 867 |
["keyword", "flowchart"], |
| 868 |
" LR\r\n A", |
| 869 |
["text", "[Hard edge]"], |
| 870 |
["arrow", "-->"], |
| 871 |
["label", "|Link text|"], |
| 872 |
" B", |
| 873 |
["text", "(Round edge)"], |
| 874 |
|
| 875 |
"\r\n B ", |
| 876 |
["arrow", "-->"], |
| 877 |
" C", |
| 878 |
["text", "{Decision}"], |
| 879 |
|
| 880 |
"\r\n C ", |
| 881 |
["arrow", "-->"], |
| 882 |
["label", "|One|"], |
| 883 |
" D", |
| 884 |
["text", "[Result one]"], |
| 885 |
|
| 886 |
"\r\n C ", |
| 887 |
["arrow", "-->"], |
| 888 |
["label", "|Two|"], |
| 889 |
" E", |
| 890 |
["text", "[Result two]"], |
| 891 |
|
| 892 |
["keyword", "flowchart"], |
| 893 |
" LR", |
| 894 |
["punctuation", ";"], |
| 895 |
|
| 896 |
"\r\n A", |
| 897 |
["arrow", "-->"], |
| 898 |
"B", |
| 899 |
["punctuation", ";"], |
| 900 |
|
| 901 |
"\r\n B", |
| 902 |
["arrow", "-->"], |
| 903 |
"C", |
| 904 |
["punctuation", ";"], |
| 905 |
|
| 906 |
"\r\n C", |
| 907 |
["arrow", "-->"], |
| 908 |
"D", |
| 909 |
["punctuation", ";"], |
| 910 |
|
| 911 |
["keyword", "click"], |
| 912 |
" A callback ", |
| 913 |
["string", "\"Tooltip\""], |
| 914 |
|
| 915 |
["keyword", "click"], |
| 916 |
" B ", |
| 917 |
["string", "\"http://www.github.com\""], |
| 918 |
["string", "\"This is a link\""], |
| 919 |
|
| 920 |
["keyword", "click"], |
| 921 |
" C call callback", |
| 922 |
["punctuation", "("], |
| 923 |
["punctuation", ")"], |
| 924 |
["string", "\"Tooltip\""], |
| 925 |
|
| 926 |
["keyword", "click"], |
| 927 |
" D href ", |
| 928 |
["string", "\"http://www.github.com\""], |
| 929 |
["string", "\"This is a link\""] |
| 930 |
] |