merman-render 0.8.0-alpha.3

Headless layout + SVG renderer for Mermaid (parity-focused; upstream SVG goldens).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
// This file is generated by `xtask`.

pub fn lookup_svg_override_em(font_key: &str, text: &str) -> Option<(f64, f64)> {
    match font_key {
        "trebuchetms,verdana,arial,sans-serif" => lookup_in_trebuchetms_verdana_arial_sans_serif(),
        _ => None,
    }
    .and_then(|tbl| lookup_in(tbl, text))
}

fn lookup_in(tbl: &'static [(&'static str, f64, f64)], text: &str) -> Option<(f64, f64)> {
    let mut lo = 0usize;
    let mut hi = tbl.len();
    while lo < hi {
        let mid = (lo + hi) / 2;
        let (k, l, r) = tbl[mid];
        match k.cmp(text) {
            std::cmp::Ordering::Equal => return Some((l, r)),
            std::cmp::Ordering::Less => lo = mid + 1,
            std::cmp::Ordering::Greater => hi = mid,
        }
    }
    None
}

fn lookup_in_trebuchetms_verdana_arial_sans_serif() -> Option<&'static [(&'static str, f64, f64)]> {
    Some(SVG_OVERRIDES_TREBUCHETMS_VERDANA_ARIAL_SANS_SERIF)
}
static SVG_OVERRIDES_TREBUCHETMS_VERDANA_ARIAL_SANS_SERIF: &[(&str, f64, f64)] = &[
    ("", 0.0, 0.8125),
    (" inside", 0.0, 2.375),
    (" tag", 0.0, 1.3125),
    (" with ", 0.0, 1.875),
    ("\"API Gateway\"", 0.0, 6.25),
    ("\"Alice - A\"", 0.0, 4.5),
    ("\"Bob = B\"", 0.0, 4.1875),
    ("\"DB (primary)\"", 0.0, 6.3125),
    ("$$\\alpha$$", 0.0, 0.8125),
    ("$$\\beta$$", 0.0, 0.8125),
    ("$$\\sqrt{2+2}=\\sqrt{4}=2$$", 0.0, 6.375),
    ("- Class definitions", 0.0, 7.25),
    ("- Theme integration", 0.0, 8.0),
    ("- appendDivSvgG()", 0.0, 7.9375),
    ("- cleanUpSvgCode()", 0.0, 8.25),
    ("- createCssStyles()", 0.0, 7.5),
    ("- createUserStyles()", 0.0, 8.0),
    ("- cssImportantStyles()", 0.0, 8.875),
    ("- default: DOMPurify sanitization", 0.0, 13.625),
    ("- getConfig()", 0.0, 5.25),
    ("- getSiteConfig()", 0.0, 6.8125),
    ("- loose: minimal sanitization", 0.0, 11.5),
    ("- putIntoIFrame()", 0.0, 7.0),
    ("- removeExistingElements()", 0.0, 11.3125),
    ("- reset()", 0.0, 3.125),
    ("- sandbox: iframe isolation", 0.0, 10.8125),
    ("- saveConfigFromInitialize()", 0.0, 11.5),
    ("- setConfig()", 0.0, 5.125),
    ("- updateSiteConfig()", 0.0, 8.25),
    ("-:<>,", 0.0, 2.0),
    ("0", 0.0, 0.8125),
    ("1", 0.0, 0.8125),
    ("2", 0.0, 0.8125),
    ("200", 0.0, 1.5),
    ("200 (cached)", 0.0, 5.1875),
    ("200 OK", 0.0, 3.25),
    ("200 OK ([])", 0.0, 4.75),
    ("200 OK (cached)", 0.0, 6.875),
    ("200 OK (items)", 0.0, 6.25),
    ("200 OK + JWT", 0.0, 6.1875),
    ("200 OK + profile JSON", 0.0, 9.5625),
    ("201 Created", 0.0, 4.9375),
    ("202 Accepted", 0.0, 5.5625),
    ("3", 0.0, 0.8125),
    ("4", 0.0, 0.8125),
    ("401 Unauthorized", 0.0, 7.25),
    ("404 Not Found", 0.0, 6.125),
    ("423 Locked", 0.0, 4.8125),
    ("5", 0.0, 0.8125),
    ("500", 0.0, 1.5),
    ("500 Error", 0.0, 3.875),
    (":-)", 0.0, 0.9375),
    ("A", 0.0, 0.8125),
    (
        "A long message that should NOT wrap even though the diagram default is wrap",
        0.0,
        31.9375,
    ),
    (
        "A long message that should wrap when the diagram uses the wrap directive and the label is",
        0.0,
        36.4375,
    ),
    ("A long message with an explicit", 0.0, 12.875),
    ("A long note that should NOT wrap", 0.0, 13.9375),
    (
        "A long note that should NOT wrap<br/>second line",
        0.0,
        13.9375,
    ),
    (
        "A long note that should also wrap and expand the root viewBox when needed",
        0.0,
        31.0625,
    ),
    ("A typical interaction", 0.0, 8.3125),
    ("A typical interaction<br/>But now in two lines", 0.0, 8.375),
    ("A1", 0.0, 1.3125),
    ("API", 0.0, 1.6875),
    ("AUTH", 0.0, 2.875),
    ("Access granted", 0.0, 6.1875),
    ("Access token", 0.0, 5.4375),
    ("Account Service", 0.0, 6.6875),
    ("Admin", 0.0, 2.875),
    ("After a few more moments, John", 0.0, 13.3125),
    (
        "After a few more moments, John<br />finally snaps out of it.",
        0.0,
        13.3125,
    ),
    (
        "After a few more moments, John<br/>finally snaps out of it.",
        0.0,
        13.3125,
    ),
    ("Alice", 0.0, 2.25),
    ("Alice & John", 0.0, 5.4375),
    ("Alice and Bob", 0.0, 5.8125),
    ("Alice calls John.", 0.0, 6.6875),
    ("Alice note", 0.0, 4.1875),
    ("Alice, the talkative", 0.0, 7.625),
    ("Alice-in-Wonderland", 0.0, 8.625),
    ("Alice/Bob Note", 0.0, 6.375),
    ("Alice2", 0.0, 2.75),
    ("Alice<br/>Johnson", 0.0, 3.3125),
    ("Alice=Wonderland", 0.0, 7.6875),
    (
        "And did you catch the new book about alien invasion?",
        0.0,
        21.8125,
    ),
    ("And now?", 0.0, 4.1875),
    ("Another Group", 0.0, 6.125),
    ("Another bidirectional dotted", 0.0, 11.4375),
    ("Another bidirectional solid", 0.0, 10.875),
    ("Another central connection", 0.0, 11.0),
    ("Another long message", 0.0, 9.0),
    (
        "Another long message<br/>with explicit<br/>line breaks",
        0.0,
        9.0,
    ),
    ("Answer: $$2$$", 0.0, 3.875),
    ("Aqua", 0.0, 2.3125),
    ("Are you OK?", 0.0, 5.4375),
    ("Audit trail", 0.0, 4.25),
    ("AuditLogs", 0.0, 4.3125),
    ("Auth", 0.0, 2.125),
    ("Auth Controller", 0.0, 6.4375),
    ("Auth Service", 0.0, 5.3125),
    ("Auth token", 0.0, 4.625),
    ("AuthService", 0.0, 5.0625),
    ("Authenticate", 0.0, 5.1875),
    ("Authentication", 0.0, 6.0625),
    ("Authentication token", 0.0, 8.5625),
    ("Available", 0.0, 3.875),
    ("B", 0.0, 0.8125),
    ("B and C span", 0.0, 5.5),
    ("Backend", 0.0, 3.625),
    ("Bidirectional Arrows are so cool", 0.0, 13.125),
    ("Bidirectional dotted", 0.0, 8.125),
    ("Bidirectional dotted left to right", 0.0, 12.8125),
    ("Bidirectional dotted right to left", 0.0, 12.8125),
    ("Bidirectional dotted self-reference", 0.0, 13.75),
    ("Bidirectional solid", 0.0, 7.5625),
    ("Bidirectional solid left to right", 0.0, 12.25),
    ("Bidirectional solid right to left", 0.0, 12.25),
    ("Bidirectional solid self-reference", 0.0, 13.25),
    ("BillingService", 0.0, 5.8125),
    ("Blog Service", 0.0, 5.25),
    ("Bob", 0.0, 1.75),
    ("Bob note", 0.0, 3.6875),
    ("Bob note<br>Second line", 0.0, 4.6875),
    ("Bob prods him a", 0.0, 6.75),
    ("Bob thinks", 0.0, 4.4375),
    ("Bob thinks a long", 0.0, 7.125),
    (
        "Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.",
        0.0,
        7.25,
    ),
    ("Book something", 0.0, 6.625),
    ("BookingService", 0.0, 6.5),
    ("Bot", 0.0, 1.5625),
    ("Browser", 0.0, 3.5),
    ("But now in two lines", 0.0, 8.375),
    ("Bye", 0.0, 1.6875),
    ("Bye c !", 0.0, 2.9375),
    ("Bye for me!", 0.0, 4.875),
    ("Bye!", 0.0, 2.0),
    ("C", 0.0, 0.8125),
    ("C2", 0.0, 1.1875),
    ("COL", 0.0, 2.0),
    ("CSS Generation", 0.0, 6.5625),
    ("Can we do this today?", 0.0, 8.875),
    ("Can you help us today?", 0.0, 9.375),
    ("Carl", 0.0, 1.75),
    ("Carol", 0.0, 2.25),
    ("Carol, let me introduce Alice?", 0.0, 12.0),
    ("Central at end with bidirectional LTR", 0.0, 15.0625),
    ("Central at start with bidirectional RTL", 0.0, 15.3125),
    ("Central connection at destination", 0.0, 13.25),
    ("Charlie", 0.0, 2.9375),
    ("Check availability", 0.0, 7.375),
    ("Checking with John...", 0.0, 8.75),
    ("Circle at source with close arrow", 0.0, 13.1875),
    ("Circle at source with close arrow (RTL)", 0.0, 15.9375),
    ("Circle at source with cross arrow", 0.0, 13.1875),
    ("Circle at source with cross arrow (RTL)", 0.0, 15.9375),
    ("Circle at source with dotted arrow", 0.0, 13.6875),
    ("Circle at source with dotted arrow (RTL)", 0.0, 16.375),
    ("Circle at source with open arrow", 0.0, 13.125),
    ("Circle at source with open arrow (RTL)", 0.0, 15.8125),
    ("Circle at source with solid arrow", 0.0, 13.125),
    ("Circle at source with solid arrow (RTL)", 0.0, 15.8125),
    ("Clean/modify tokenized", 0.0, 9.6875),
    (
        "Clean/modify tokenized<br>rules returned value",
        0.0,
        9.6875,
    ),
    ("Client", 0.0, 2.5),
    ("Clients", 0.0, 2.8125),
    ("Close arrow with circle at destination", 0.0, 15.0),
    ("Close arrow with circle at destination (RTL)", 0.0, 17.6875),
    ("CloudService", 0.0, 5.4375),
    ("Collections request", 0.0, 7.75),
    ("Collections response", 0.0, 8.3125),
    ("Compare password hash", 0.0, 9.8125),
    ("Complete", 0.0, 3.875),
    ("Configuration Functions", 0.0, 9.8125),
    ("Confirmation", 0.0, 5.4375),
    ("Consumer", 0.0, 4.125),
    ("Contacts", 0.0, 3.5),
    ("Control request", 0.0, 6.25),
    ("Control response", 0.0, 6.8125),
    ("Cool", 0.0, 2.0),
    ("Core", 0.0, 1.9375),
    ("Create order", 0.0, 5.0),
    ("Create services", 0.0, 6.0625),
    ("Create transaction", 0.0, 7.3125),
    ("Cross arrow self-reference", 0.0, 10.625),
    ("Cross arrow with circle at destination", 0.0, 15.0),
    ("Cross arrow with circle at destination (RTL)", 0.0, 17.6875),
    ("Customer", 0.0, 3.9375),
    ("D", 0.0, 0.8125),
    ("DB", 0.0, 1.4375),
    ("DB query", 0.0, 4.0625),
    ("DB result", 0.0, 3.9375),
    ("DOM/SVG", 0.0, 4.6875),
    ("DOMPurify.sanitize(svgCode, options)", 0.0, 15.75),
    ("Dana", 0.0, 2.25),
    ("Dashboard", 0.0, 4.4375),
    ("DataProcessor", 0.0, 5.875),
    ("Database", 0.0, 3.75),
    ("David", 0.0, 2.5625),
    ("Diagram.fromText", 0.0, 7.5625),
    ("Diagram.fromText('error')", 0.0, 10.5),
    (
        "Diagram.fromText(text, { title: processed.title })",
        0.0,
        19.5,
    ),
    ("Diana", 0.0, 2.5),
    ("Did you want to go to the game tonight?", 0.0, 16.25),
    ("Display users", 0.0, 5.5),
    ("Do something", 0.0, 5.6875),
    ("Docs", 0.0, 2.125),
    ("Donald", 0.0, 3.0625),
    ("Done", 0.0, 2.25),
    ("Dotted arrow self-reference", 0.0, 11.125),
    ("Dotted arrow with circle at destination", 0.0, 15.5625),
    ("Dotted arrow with circle at destination (RTL)", 0.0, 18.25),
    ("Dotted cross self-reference", 0.0, 10.8125),
    ("Dotted open arrow self-reference", 0.0, 13.3125),
    ("Dual central bidirectional", 0.0, 10.3125),
    ("Dual central connections", 0.0, 10.0),
    ("Dual central with bidirectional dotted LTR", 0.0, 17.1875),
    ("Dual central with bidirectional dotted RTL", 0.0, 17.125),
    ("Dual central with bidirectional solid LTR", 0.0, 16.625),
    ("Dual central with bidirectional solid RTL", 0.0, 16.625),
    ("E", 0.0, 0.8125),
    ("EmojiSafe", 0.0, 4.3125),
    ("Encrypted data", 0.0, 6.125),
    ("Encrypted data<br/>requires decryption", 0.0, 7.875),
    ("Endpoint", 0.0, 3.75),
    ("Enter credentials", 0.0, 6.8125),
    ("Entity codes: ♥ and ∞", 0.0, 8.875),
    ("Entity codes: fl°°9829¶ß and fl°infin¶ß", 0.0, 15.625),
    ("Entity request", 0.0, 5.6875),
    ("Entity response", 0.0, 6.25),
    ("Error", 0.0, 2.1875),
    ("Error Handling Throughout", 0.0, 11.125),
    ("Eve", 0.0, 1.625),
    ("EventBus", 0.0, 3.9375),
    ("Every 10 seconds", 0.0, 7.125),
    ("Extremely utterly", 0.0, 7.125),
    ("Extremely utterly long", 0.0, 9.125),
    ("Extremely utterly long line of", 0.0, 12.125),
    (
        "Extremely utterly long line of longness which had previously overflown the actor box as it is much longer than what it should be",
        0.0,
        51.5625,
    ),
    ("FE", 0.0, 1.25),
    ("Failure", 0.0, 2.875),
    ("Favela", 0.0, 2.8125),
    ("Features:", 0.0, 3.75),
    (
        "Features:<br/>- createCssStyles()<br/>- createUserStyles()<br/>- cssImportantStyles()<br/>- Theme integration<br/>- Class definitions",
        0.0,
        8.875,
    ),
    ("Feel sick...", 0.0, 4.375),
    ("Feeling fresh like a daisy", 0.0, 10.1875),
    ("Fight against hypochondria", 0.0, 11.0625),
    (
        "Final response with confirmation of all actions taken",
        0.0,
        21.1875,
    ),
    ("Fine!", 0.0, 2.1875),
    (
        "Fine, how did your mother like the book I suggested?",
        0.0,
        21.4375,
    ),
    (
        "Fine, how did your mother like the book I suggested? And did you catch the new book about alien invasion?",
        0.0,
        43.375,
    ),
    ("Fine, thank you. And you?", 0.0, 10.6875),
    ("First call", 0.0, 3.625),
    ("Format profiles", 0.0, 6.25),
    ("Formatted data", 0.0, 6.125),
    ("Forward", 0.0, 3.5),
    ("Frontend", 0.0, 3.75),
    ("Functions:", 0.0, 4.3125),
    (
        "Functions:<br/>- reset()<br/>- getConfig()<br/>- setConfig()<br/>- getSiteConfig()<br/>- updateSiteConfig()<br/>- saveConfigFromInitialize()",
        0.0,
        11.5,
    ),
    ("G", 0.0, 0.8125),
    ("GET /items", 0.0, 4.625),
    ("GET /profile (JWT)", 0.0, 8.0),
    ("Go help John", 0.0, 5.375),
    ("Good.", 0.0, 2.5),
    ("Got it!", 0.0, 2.625),
    ("Great", 0.0, 2.25),
    ("Great!", 0.0, 2.5625),
    ("Great<br/><br/>day!", 0.0, 2.25),
    ("Greek", 0.0, 2.5),
    ("Group 1", 0.0, 3.3125),
    ("Group1", 0.0, 3.0625),
    ("HTML response", 0.0, 6.625),
    ("Hello", 0.0, 2.3125),
    ("Hello Alice!", 0.0, 5.0),
    ("Hello Alice, I'm fine and  you?", 0.0, 12.125),
    ("Hello Alice, I'm fine and you?", 0.0, 12.125),
    ("Hello Alice, please meet Carol?", 0.0, 12.75),
    ("Hello Bob, are you alright?", 0.0, 11.0),
    ("Hello Bob, how are - you?", 0.0, 10.6875),
    ("Hello Bob, how are you ?", 0.0, 10.3125),
    ("Hello Bob, how are you?", 0.0, 10.0625),
    ("Hello Bob, how are you? If you", 0.0, 12.8125),
    ("Hello Bob, how is Charley?", 0.0, 11.1875),
    ("Hello Bob?", 0.0, 4.625),
    ("Hello Charley, how are you?", 0.0, 11.5),
    ("Hello Donald?", 0.0, 5.9375),
    ("Hello John", 0.0, 4.5),
    ("Hello John,", 0.0, 4.6875),
    ("Hello John, how are you today?", 0.0, 12.8125),
    ("Hello John, how are you?", 0.0, 10.3125),
    ("Hello John,<br/>how are you?", 0.0, 5.4375),
    ("Hello John,<br>how are you?", 0.0, 5.4375),
    ("Hello John<br/>", 0.0, 4.5),
    ("Hello again", 0.0, 4.75),
    ("Hello b?", 0.0, 3.5),
    ("Hello c!", 0.0, 3.3125),
    ("Hello guys!", 0.0, 4.75),
    ("Hello world!", 0.0, 5.1875),
    ("Hello!", 0.0, 2.625),
    ("Hello, how are you?", 0.0, 8.1875),
    ("Helper Functions", 0.0, 7.0),
    ("Hey", 0.0, 1.8125),
    ("Hey John -", 0.0, 4.4375),
    ("Hey John - we're still waiting to know", 0.0, 15.375),
    (
        "Hey John - we're still waiting to know<br />how you're doing",
        0.0,
        15.375,
    ),
    (
        "Hey John -<br/>we're still waiting to know<br/>how you're doing",
        0.0,
        10.6875,
    ),
    ("Hi", 0.0, 1.125),
    ("Hi Alice", 0.0, 3.4375),
    ("Hi Alice!", 0.0, 3.75),
    ("Hi Alice,", 0.0, 3.6875),
    ("Hi Alice, I can hear you!", 0.0, 9.9375),
    ("Hi Alice, I can hear you! I was", 0.0, 12.3125),
    ("Hi Alice,<br />I can hear you!", 0.0, 6.0),
    ("Hi Bob", 0.0, 3.0),
    ("Hi Carl!", 0.0, 3.375),
    ("Hi Joan", 0.0, 3.1875),
    ("Hi John", 0.0, 3.25),
    ("Hi Mandy", 0.0, 4.1875),
    ("Hi Polo!", 0.0, 3.5),
    ("Hi too", 0.0, 2.5625),
    ("Hi!", 0.0, 1.375),
    ("Hiii", 0.0, 1.625),
    ("Hola", 0.0, 2.0625),
    ("How about you John?", 0.0, 8.8125),
    ("How about you?", 0.0, 6.6875),
    ("How are you?", 0.0, 5.6875),
    ("I agree", 0.0, 2.75),
    ("I am good thanks", 0.0, 6.9375),
    ("I am good thanks!", 0.0, 7.25),
    ("I am left aligned", 0.0, 6.625),
    ("I am left aligned<br>but also<br>multiline", 0.0, 6.625),
    ("I am right aligned", 0.0, 7.1875),
    ("I am right aligned<br>but also<br>multiline", 0.0, 7.1875),
    ("I can hear you!", 0.0, 6.0),
    ("I feel great!", 0.0, 4.6875),
    ("I feel great! I was not ignoring", 0.0, 12.1875),
    ("I feel surrounded by darkness", 0.0, 11.8125),
    ("I should have bigger fonts", 0.0, 10.4375),
    ("I want this done today", 0.0, 8.9375),
    ("I ♥ you ∞ times more!", 0.0, 8.9375),
    ("I ♥ you!", 0.0, 3.25),
    ("I fl°°9829¶ß you fl°infin¶ß times more!", 0.0, 15.75),
    ("I fl°°9829¶ß you!", 0.0, 7.0),
    ("I'm feeling quite verbose today.", 0.0, 12.5625),
    ("I'm short", 0.0, 3.5625),
    ("I'm short though", 0.0, 6.625),
    ("I'm short<br>but also<br>multiline", 0.0, 3.6875),
    ("INSERT session token", 0.0, 9.125),
    ("Initiate transaction", 0.0, 7.5625),
    ("Invalid credentials", 0.0, 7.4375),
    ("InventoryManager", 0.0, 7.5),
    ("It's good!", 0.0, 3.75),
    ("Items reserved", 0.0, 5.9375),
    ("J", 0.0, 0.8125),
    ("Joan", 0.0, 1.875),
    ("John", 0.0, 1.9375),
    ("John looks like he's", 0.0, 7.8125),
    ("John note", 0.0, 3.875),
    ("John thinks a long", 0.0, 7.3125),
    (
        "John thinks a long<br />long time, so long<br />that the text does<br />not fit on a row.",
        0.0,
        7.3125,
    ),
    (
        "John thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.",
        0.0,
        7.3125,
    ),
    ("John! Are you still debating about how", 0.0, 15.5625),
    ("John! Are you still debating about how you're", 0.0, 18.25),
    ("John! Cmon!", 0.0, 5.25),
    (
        "John's trying hard not to break his train of thought.",
        0.0,
        20.3125,
    ),
    ("John,", 0.0, 2.125),
    ("John, can you hear me?", 0.0, 9.4375),
    ("John, can you hear me? If you are", 0.0, 13.5625),
    ("John,<br />can you hear me?", 0.0, 7.0),
    ("John,<br/>can you hear me?", 0.0, 7.0),
    ("John2", 0.0, 2.375),
    ("John<br />Second Line", 0.0, 5.0),
    ("John<br/>Second Line", 0.0, 5.0),
    ("Johnson", 0.0, 3.3125),
    ("Jolly good!", 0.0, 4.5),
    ("L", 0.0, 0.8125),
    ("LOG", 0.0, 2.125),
    ("Lexer", 0.0, 2.4375),
    ("Line 1", 0.0, 2.625),
    ("Line 1<br/>Line 2<br/>Line 3", 0.0, 2.625),
    ("Line 2", 0.0, 2.625),
    ("Line 3", 0.0, 2.625),
    ("List users", 0.0, 3.9375),
    ("Log", 0.0, 1.6875),
    ("Log different error", 0.0, 7.5625),
    ("Log error", 0.0, 3.9375),
    ("Login", 0.0, 2.5),
    ("Login request", 0.0, 5.625),
    ("LoginUI", 0.0, 3.5625),
    ("Logs", 0.0, 2.0625),
    ("Logs in using credentials", 0.0, 10.0625),
    ("Lola", 0.0, 1.9375),
    ("LongNameUser", 0.0, 6.5),
    ("Looks", 0.0, 2.5625),
    ("Looks back", 0.0, 4.75),
    ("M", 0.0, 1.0),
    ("Mail Service", 0.0, 5.1875),
    ("Mandy", 0.0, 2.9375),
    ("Maybe", 0.0, 2.8125),
    ("Mermaid Complete API Flow", 0.0, 12.0),
    ("Message", 0.0, 3.5625),
    ("Message 1", 0.0, 4.3125),
    ("Message 1<br>Second line", 0.0, 4.6875),
    ("Message 2", 0.0, 4.3125),
    ("Message in loop", 0.0, 6.625),
    (
        "Mixed — em-dash, en–dash, quotes “like this”, and symbols ✓✗",
        0.0,
        26.125,
    ),
    ("Mobile", 0.0, 2.9375),
    ("MobileApp", 0.0, 4.6875),
    ("Modes:", 0.0, 3.0625),
    (
        "Modes:<br/>- sandbox: iframe isolation<br/>- loose: minimal sanitization<br/>- default: DOMPurify sanitization",
        0.0,
        13.625,
    ),
    ("Module", 0.0, 3.1875),
    ("MongoDB", 0.0, 4.3125),
    ("Nested call", 0.0, 4.5625),
    ("New order", 0.0, 4.375),
    ("No", 0.0, 1.3125),
    ("Normal cross message", 0.0, 9.0625),
    ("Normal dotted message", 0.0, 9.5),
    ("Normal message", 0.0, 6.75),
    ("Not so good :(", 0.0, 5.875),
    ("Note", 0.0, 2.0),
    ("Note line 1", 0.0, 4.5),
    ("Note line 1<br/>Note line 2", 0.0, 4.5),
    ("Note line 2", 0.0, 4.5),
    ("Notification", 0.0, 4.9375),
    ("NotificationQueue", 0.0, 7.5),
    ("OK", 0.0, 1.5),
    ("Oh Bob, I'm so happy to be here!", 0.0, 13.3125),
    ("Ola", 0.0, 1.5),
    ("On-Call", 0.0, 3.25),
    ("Open arrow self-reference", 0.0, 10.5),
    ("Open arrow with circle at destination", 0.0, 14.9375),
    ("Open arrow with circle at destination (RTL)", 0.0, 17.625),
    ("Open user management", 0.0, 9.5),
    ("Order", 0.0, 2.375),
    ("Order Processing", 0.0, 6.9375),
    ("Order confirmation", 0.0, 7.8125),
    ("Order saved", 0.0, 4.9375),
    ("OrderController", 0.0, 6.5),
    ("OrderQueue", 0.0, 4.9375),
    ("OrdersDB", 0.0, 4.125),
    ("Other note", 0.0, 4.25),
    ("Override or/and", 0.0, 6.4375),
    ("Override or/and<br>reorder rules", 0.0, 6.4375),
    ("P", 0.0, 0.8125),
    ("POST /jobs", 0.0, 4.6875),
    ("POST /login", 0.0, 5.125),
    ("POST /login (credentials)", 0.0, 10.3125),
    ("POST /submit", 0.0, 5.75),
    ("PUT /item", 0.0, 4.25),
    ("Package", 0.0, 3.375),
    ("Parallel message 1", 0.0, 7.5),
    ("Parallel message 1<br>with explicit line break", 0.0, 9.375),
    ("Parallel message 2", 0.0, 7.5),
    ("Parallel message 2<br>with explicit line break", 0.0, 9.375),
    ("Parse token", 0.0, 4.75),
    ("Parse token<br>stream into AST", 0.0, 6.5625),
    ("ParseResult or false", 0.0, 8.0),
    ("Parser", 0.0, 2.625),
    ("Pasten", 0.0, 2.75),
    ("Pasten !", 0.0, 3.25),
    ("Payment confirmed", 0.0, 8.0),
    ("PaymentService", 0.0, 6.5625),
    ("Place order", 0.0, 4.625),
    ("Polo", 0.0, 1.875),
    ("Post loop", 0.0, 3.8125),
    ("Process", 0.0, 3.125),
    ("Process data", 0.0, 5.0625),
    ("Process payment", 0.0, 6.875),
    ("Product", 0.0, 3.1875),
    ("Products", 0.0, 3.5625),
    ("Profile", 0.0, 2.8125),
    ("Profile data", 0.0, 4.75),
    ("Public API", 0.0, 4.4375),
    ("Publish event", 0.0, 5.5),
    ("Punct", 0.0, 2.375),
    (
        "Punctuation: commas, periods... dashes - and slashes /",
        0.0,
        21.75,
    ),
    ("Q", 0.0, 0.8125),
    ("Query stored accounts", 0.0, 8.9375),
    ("Query user", 0.0, 4.4375),
    ("Query users", 0.0, 4.8125),
    ("Queue", 0.0, 2.625),
    ("Queue message", 0.0, 6.25),
    ("Queue response", 0.0, 6.375),
    ("Quotes: \"double\" and 'single'", 0.0, 11.625),
    ("Rational thoughts", 0.0, 7.125),
    ("Rational thoughts ", 0.0, 7.125),
    ("Rational thoughts <br/>prevail!", 0.0, 7.125),
    ("Rational thoughts!", 0.0, 7.5),
    ("Rational thoughts<br/>prevail...", 0.0, 7.125),
    ("Read the string and transform", 0.0, 12.0),
    (
        "Read the string and transform<br>it into a token stream",
        0.0,
        12.0,
    ),
    ("Record", 0.0, 3.0),
    ("Record access", 0.0, 5.75),
    ("Red Box", 0.0, 3.625),
    ("Repo", 0.0, 2.1875),
    ("Request", 0.0, 3.3125),
    ("Request from boundary", 0.0, 9.5625),
    ("Reserve items", 0.0, 5.6875),
    ("Respond with query result", 0.0, 10.625),
    ("Response", 0.0, 3.875),
    (
        "Response message that is also quite long and needs to wrap",
        0.0,
        23.8125,
    ),
    ("Response to boundary", 0.0, 9.0),
    ("Retry", 0.0, 2.375),
    ("Return", 0.0, 2.875),
    ("Return AST", 0.0, 4.875),
    ("Return user data", 0.0, 6.6875),
    ("Reverse central at source", 0.0, 10.0625),
    ("Reverse central dotted", 0.0, 9.0625),
    ("S", 0.0, 0.8125),
    ("SELECT", 0.0, 3.6875),
    ("SELECT * FROM items", 0.0, 9.875),
    ("SELECT 1", 0.0, 4.375),
    ("SELECT items", 0.0, 6.0625),
    ("SELECT profile WHERE user_id = ?", 0.0, 15.0625),
    ("SELECT user WHERE email = ?", 0.0, 13.3125),
    ("Save", 0.0, 1.9375),
    ("Save finalized order", 0.0, 8.125),
    ("Save order", 0.0, 4.375),
    ("Save record", 0.0, 4.8125),
    ("Save result", 0.0, 4.4375),
    ("Second Line", 0.0, 5.0),
    ("Second call", 0.0, 4.6875),
    ("Second line", 0.0, 4.6875),
    ("Security Levels", 0.0, 6.25),
    ("See you later!", 0.0, 5.5625),
    ("Semicolon in text must be escaped as ;", 0.0, 14.9375),
    ("Semicolon in text must be escaped as fl°°59¶ß", 0.0, 18.5),
    ("Send confirmation", 0.0, 7.5),
    ("Send mail to blog subscribers", 0.0, 11.8125),
    ("Server", 0.0, 2.625),
    ("Service", 0.0, 3.0),
    ("Shared context", 0.0, 6.0),
    ("Shared context<br/>line 2", 0.0, 6.0),
    ("Short as well", 0.0, 5.25),
    ("Short as well<br>and also<br>multiline", 0.0, 5.25),
    ("Show error", 0.0, 4.5),
    ("Site", 0.0, 1.5625),
    ("Solid arrow self-reference", 0.0, 10.4375),
    ("Solid arrow with circle at destination", 0.0, 14.875),
    ("Solid arrow with circle at destination (RTL)", 0.0, 17.5625),
    ("Solve: $$\\sqrt{2+2}$$", 0.0, 5.125),
    ("Some note", 0.0, 4.25),
    ("Start billing process", 0.0, 8.0),
    ("Start booking process", 0.0, 8.6875),
    ("Still works", 0.0, 4.375),
    ("Storage", 0.0, 3.0625),
    ("Store in-site notifications", 0.0, 10.125),
    ("Store post data", 0.0, 6.0),
    ("Styling System", 0.0, 6.125),
    ("Submit new post", 0.0, 6.75),
    ("Subsequent requests use JWT", 0.0, 11.9375),
    ("Success", 0.0, 3.1875),
    ("Successfully logged in", 0.0, 9.125),
    ("Successfully posted", 0.0, 8.0),
    ("Swagger", 0.0, 3.5625),
    ("Task 1", 0.0, 2.625),
    ("Task 2", 0.0, 2.625),
    ("Task 3", 0.0, 2.625),
    ("Task 4", 0.0, 2.625),
    ("Task 5", 0.0, 2.625),
    ("Task 6", 0.0, 2.625),
    ("Test", 0.0, 1.6875),
    ("Tests", 0.0, 2.0625),
    ("Text in note", 0.0, 4.75),
    ("Thanks for asking", 0.0, 7.25),
    ("The end", 0.0, 3.3125),
    (
        "The user must be logged in to submit blog posts",
        0.0,
        19.1875,
    ),
    (
        "The word \"end\" is a participant label here.",
        0.0,
        16.9375,
    ),
    ("This also works the other way", 0.0, 12.0625),
    ("This is a bidirectional message", 0.0, 12.3125),
    ("This is a long note", 0.0, 7.375),
    ("This is a long note<br>in a loop", 0.0, 7.375),
    (
        "This is a longer message that should be wrapped by Mermaid's default behavior",
        0.0,
        31.9375,
    ),
    ("This is a normal message", 0.0, 10.125),
    (
        "This is a very long message that should wrap properly in the diagram rendering",
        0.0,
        31.75,
    ),
    (
        "This is a very long note that should also wrap properly when rendered in the diagram",
        0.0,
        34.0625,
    ),
    (
        "This message should not wrap even if it is long long long long long",
        0.0,
        27.0,
    ),
    ("Token", 0.0, 2.5625),
    ("TokenBuilder", 0.0, 5.5),
    ("Transaction", 0.0, 4.75),
    ("TransactionsDB", 0.0, 6.4375),
    ("UI", 0.0, 1.1875),
    ("Unsafe", 0.0, 2.875),
    ("Update status", 0.0, 5.5),
    ("User", 0.0, 2.0),
    ("User DB", 0.0, 3.5625),
    ("User Database", 0.0, 5.875),
    ("User data", 0.0, 3.9375),
    ("User record", 0.0, 4.8125),
    ("User/Browser", 0.0, 5.6875),
    ("UserDB", 0.0, 3.3125),
    ("UserManager", 0.0, 5.5625),
    ("UserProfile", 0.0, 4.6875),
    ("Utilities:", 0.0, 3.5625),
    (
        "Utilities:<br/>- cleanUpSvgCode()<br/>- putIntoIFrame()<br/>- appendDivSvgG()<br/>- removeExistingElements()",
        0.0,
        11.3125,
    ),
    ("Validate", 0.0, 3.3125),
    ("Validate credentials", 0.0, 7.9375),
    ("Validate input", 0.0, 5.6875),
    ("Validation result", 0.0, 6.6875),
    ("ValueConverter", 0.0, 6.375),
    ("Verify admin rights", 0.0, 7.8125),
    ("W", 0.0, 1.0),
    ("We are too many", 0.0, 6.8125),
    ("Web", 0.0, 1.8125),
    ("Web App", 0.0, 3.75),
    ("Web Browser", 0.0, 5.5),
    ("Welcome", 0.0, 3.75),
    ("What do you think about it?", 0.0, 11.1875),
    (
        "When the user is authenticated, they can now submit new posts",
        0.0,
        25.3125,
    ),
    ("Where are you?", 0.0, 6.3125),
    ("Where is Alice?", 0.0, 6.375),
    ("Wiki", 0.0, 2.0),
    ("Worker", 0.0, 3.0),
    ("World", 0.0, 2.5625),
    ("Wow, we said that at the same time!", 0.0, 14.4375),
    ("X", 0.0, 0.8125),
    ("Yeah! See you there.", 0.0, 8.3125),
    ("Yes", 0.0, 1.4375),
    ("Yes... John, how are you?", 0.0, 10.25),
    ("a", 0.0, 0.8125),
    ("accepted", 0.0, 3.5625),
    ("ack", 0.0, 1.4375),
    ("ack [end]", 0.0, 3.75),
    ("add CSS variables for fonts", 0.0, 11.0),
    (
        "addA11yInfo(diagramType, svgNode, a11yTitle, a11yDescr)",
        0.0,
        24.25,
    ),
    ("addDiagrams()", 0.0, 6.0),
    ("addDirective(processed.config)", 0.0, 12.5625),
    ("allocate", 0.0, 3.125),
    ("and also", 0.0, 3.3125),
    ("and another line", 0.0, 6.4375),
    ("another-long-participant-label", 0.0, 12.0),
    ("another-long-participant-label<br>line-2", 0.0, 12.0),
    ("append themeCSS", 0.0, 7.375),
    (
        "appendDivSvgG(root, id, enclosingDivID, fontFamily, XMLNS_XLINK_STD)",
        0.0,
        32.0,
    ),
    ("apply positioning and styling", 0.0, 11.625),
    ("are not available right now, I can", 0.0, 13.1875),
    ("assignWithDepth({}, userOptions)", 0.0, 13.875),
    ("async-ish", 0.0, 3.8125),
    ("attachFunctions()", 0.0, 7.0),
    ("attempt 1", 0.0, 3.75),
    ("attempt 2 ;", 0.0, 3.75),
    ("attempt 2 fl°°59¶ß", 0.0, 7.3125),
    ("audit + rate limit", 0.0, 6.75),
    ("b", 0.0, 0.8125),
    ("b1", 0.0, 1.0625),
    ("b2", 0.0, 1.0625),
    ("b3", 0.0, 1.0625),
    ("b4", 0.0, 1.0625),
    ("back to me as soon as you can!", 0.0, 12.5),
    ("backoff", 0.0, 3.25),
    ("bar", 0.0, 1.375),
    ("batch done", 0.0, 4.4375),
    ("be", 0.0, 1.0),
    ("bidirectional_dotted", 0.0, 8.1875),
    ("bidirectional_solid", 0.0, 7.625),
    ("bindFunctions(element)", 0.0, 9.625),
    ("bit.", 0.0, 1.375),
    ("boundary", 0.0, 3.875),
    ("box as it is much", 0.0, 6.875),
    ("but also", 0.0, 3.1875),
    ("bye", 0.0, 1.5),
    ("bye C", 0.0, 2.4375),
    ("bye again", 0.0, 4.0),
    ("c", 0.0, 0.8125),
    ("calculate iframe height", 0.0, 9.1875),
    ("can you hear me?", 0.0, 7.0),
    ("charge()", 0.0, 3.3125),
    ("check element.getAttribute('data-processed')", 0.0, 17.8125),
    ("check if theme in theme object", 0.0, 12.3125),
    (
        "cleanUpSvgCode(svgCode, isSandboxed, arrowMarkerAbsolute)",
        0.0,
        26.1875,
    ),
    ("cleaned SVG code", 0.0, 7.4375),
    ("click", 0.0, 2.0),
    ("click \"Submit\"", 0.0, 5.875),
    ("compiled CSS rules", 0.0, 7.9375),
    ("compute()", 0.0, 4.125),
    ("config set to mirrorActors: false", 0.0, 12.8125),
    (
        "config set to mirrorActors: false<br/>directive set to mirrorActors: true",
        0.0,
        13.4375,
    ),
    ("config: mirrorActors=true", 0.0, 10.4375),
    ("configApi", 0.0, 4.0625),
    ("configuration object", 0.0, 8.125),
    ("connect", 0.0, 3.125),
    ("content loaded", 0.0, 5.9375),
    ("contentLoaded()", 0.0, 6.625),
    ("create SVG elements", 0.0, 8.4375),
    ("create iframe with sandbox attributes", 0.0, 14.8125),
    ("create style element", 0.0, 8.0),
    ("createCssStyles(config, classDefs)", 0.0, 13.8125),
    (
        "createUserStyles(config, diagramType, diagramClassDefs, idSelector)",
        0.0,
        28.0625,
    ),
    ("cross boxes", 0.0, 4.625),
    ("cross span long title: {A,C}", 0.0, 11.125),
    ("cssImportantStyles for each CSS element", 0.0, 16.5625),
    ("cssImportantStyles for tspan elements", 0.0, 15.1875),
    ("current configuration", 0.0, 8.5625),
    ("dashed open", 0.0, 5.0625),
    ("day!", 0.0, 1.75),
    ("declined", 0.0, 3.4375),
    ("decodeEntities(svgCode)", 0.0, 10.0625),
    ("deliver", 0.0, 2.8125),
    ("destroy-ish", 0.0, 4.5),
    ("detect diagram type", 0.0, 7.875),
    ("detectInit(txt)", 0.0, 5.5),
    ("determine security level (sandbox/loose)", 0.0, 16.25),
    ("diag.db.getAccDescription()", 0.0, 11.375),
    ("diag.db.getAccTitle()", 0.0, 8.5625),
    ("diag.renderer.draw(text, id, version, diag)", 0.0, 16.625),
    ("diag.renderer.getClasses(text, diag)", 0.0, 14.125),
    ("diagram instance", 0.0, 6.8125),
    ("diagram-api", 0.0, 4.875),
    ("diagram-specific rendering logic", 0.0, 13.0625),
    ("diagram.renderer", 0.0, 6.875),
    ("diagramClassDefs", 0.0, 7.3125),
    ("directive set to mirrorActors: true", 0.0, 13.4375),
    ("directive: mirrorActors=false", 0.0, 11.6875),
    ("dispatch", 0.0, 3.375),
    ("document.load event", 0.0, 8.375),
    ("document.querySelectorAll(querySelector)", 0.0, 17.25),
    ("doing? How long does it take??", 0.0, 12.625),
    ("done", 0.0, 1.9375),
    ("dotted", 0.0, 2.5625),
    ("dotted_cross", 0.0, 5.0625),
    ("dotted_open", 0.0, 5.0),
    ("dotted_point", 0.0, 5.0625),
    ("dsa", 0.0, 1.375),
    ("element.innerHTML = svg", 0.0, 10.75),
    ("element.setAttribute('data-processed', 'true')", 0.0, 17.5),
    ("eleven", 0.0, 2.6875),
    ("end", 0.0, 1.5),
    ("end is just text here", 0.0, 7.75),
    ("enqueue", 0.0, 3.3125),
    ("enqueue job", 0.0, 4.875),
    ("enqueue(job)", 0.0, 5.25),
    ("entityDecode and clean text", 0.0, 11.1875),
    ("error", 0.0, 2.0),
    ("error diagram", 0.0, 5.5),
    ("error handled", 0.0, 5.4375),
    ("errorRenderer.draw(text, id, version)", 0.0, 14.6875),
    ("event handling complete", 0.0, 9.8125),
    ("executionQueue", 0.0, 6.5),
    ("explicit + inline", 0.0, 6.3125),
    ("fast path", 0.0, 3.5),
    ("fetchItems()", 0.0, 4.875),
    ("fifteen", 0.0, 2.6875),
    ("finally snaps out of it.", 0.0, 8.75),
    ("finishing up an important", 0.0, 10.1875),
    ("first line", 0.0, 3.375),
    ("follow-up", 0.0, 3.9375),
    ("foo", 0.0, 1.3125),
    ("for a response.", 0.0, 5.875),
    ("forward", 0.0, 3.25),
    ("four", 0.0, 1.6875),
    ("generate unique id", 0.0, 7.4375),
    ("get element.innerHTML", 0.0, 9.8125),
    ("get innerHTML from enclosing div", 0.0, 14.1875),
    ("get svg element and firstChild", 0.0, 12.125),
    ("get(key)", 0.0, 3.3125),
    ("getConfig()", 0.0, 4.6875),
    ("getDiagramFromText(code)", 0.0, 11.1875),
    (
        "getStyles(graphType, userCSSstyles, themeVariables)",
        0.0,
        21.5,
    ),
    ("getUserb", 0.0, 3.625),
    ("had previously", 0.0, 6.0625),
    ("handle legacy fontFamily config", 0.0, 13.0625),
    ("handle()", 0.0, 3.375),
    ("handleError(error, errors, parseError)", 0.0, 14.9375),
    ("hello", 0.0, 2.0625),
    ("hello C", 0.0, 3.0),
    ("hello fl°°59¶ß world", 0.0, 8.25),
    ("hi", 0.0, 0.875),
    ("highlighted section", 0.0, 7.75),
    ("how are you?", 0.0, 5.4375),
    ("how you're doing", 0.0, 7.0),
    ("iframe HTML", 0.0, 5.6875),
    ("in a loop", 0.0, 3.5),
    ("init", 0.0, 1.375),
    ("initialization complete", 0.0, 9.0),
    ("initialize", 0.0, 3.5),
    ("inner 1", 0.0, 2.8125),
    ("inner 2", 0.0, 2.8125),
    ("inner note", 0.0, 4.0),
    ("insert", 0.0, 2.25),
    ("insert(job)", 0.0, 4.1875),
    ("inside box", 0.0, 4.1875),
    ("internal work", 0.0, 5.4375),
    ("it into a token stream", 0.0, 8.5),
    ("job metadata", 0.0, 5.3125),
    ("job metadata<br/>line 2", 0.0, 5.3125),
    ("key: value: another: one more:", 0.0, 12.25),
    (
        "label contains tokens: end, else, and, option, rect",
        0.0,
        19.4375,
    ),
    (
        "label contains tokens: end, else, and, option, rect<br/>should not affect parsing",
        0.0,
        19.4375,
    ),
    ("lead", 0.0, 1.75),
    ("leave you a message. Please get", 0.0, 12.75),
    ("left note", 0.0, 3.3125),
    ("left note<br>with <br> tag", 0.0, 3.3125),
    ("line 2", 0.0, 2.25),
    ("line 3", 0.0, 2.25),
    ("line break and more words to wrap nicely", 0.0, 16.6875),
    ("line breaks", 0.0, 4.375),
    ("line of longness which", 0.0, 9.0625),
    ("line-2", 0.0, 2.3125),
    ("line-3", 0.0, 2.3125),
    ("load appropriate diagram", 0.0, 10.0625),
    ("loadRegisteredDiagrams()", 0.0, 10.5625),
    ("local note", 0.0, 3.9375),
    ("lock scope ends at critical end", 0.0, 12.0625),
    ("lock()", 0.0, 2.375),
    ("locked", 0.0, 2.75),
    ("log \"items_listed\"", 0.0, 7.1875),
    ("log event", 0.0, 3.75),
    ("log(event)", 0.0, 4.125),
    ("log.warn(error)", 0.0, 6.125),
    ("long line of", 0.0, 4.75),
    ("long time, so long", 0.0, 7.25),
    ("longer than what it", 0.0, 7.5625),
    ("longness which had", 0.0, 7.9375),
    ("longness which had previously", 0.0, 12.4375),
    ("meeting.", 0.0, 3.5625),
    ("mermaid", 0.0, 3.6875),
    ("mermaid.initialize(config)", 0.0, 10.5625),
    ("mermaid.parse(text, parseOptions)", 0.0, 13.9375),
    ("mermaid.run(options)", 0.0, 8.8125),
    ("mermaid.ts", 0.0, 4.5625),
    ("mermaidAPI", 0.0, 5.25),
    ("mermaidAPI.initialize(config)", 0.0, 12.1875),
    ("mermaidAPI.parse(text, parseOptions)", 0.0, 15.5),
    ("mermaidAPI.render(id, text, container)", 0.0, 15.6875),
    ("mermaidAPI.ts", 0.0, 6.125),
    ("message", 0.0, 3.4375),
    ("message about (end)", 0.0, 8.3125),
    ("message with ", 0.0, 5.5625),
    (
        "message with \"end\" and \"else\" and \"opt\"",
        0.0,
        16.3125,
    ),
    ("message with <br> inside<br>and another line", 0.0, 6.4375),
    ("missing", 0.0, 3.1875),
    ("much longer than what it should", 0.0, 13.0625),
    ("multiline", 0.0, 3.6875),
    ("multiline<br \t/>text", 0.0, 3.6875),
    ("multiline<br \t/>using fl°lt¶ßbr \t/fl°gt¶ß", 0.0, 9.0),
    ("multiline<br />text", 0.0, 3.6875),
    ("multiline<br />using fl°lt¶ßbr /fl°gt¶ß", 0.0, 9.0),
    ("multiline<br />using fl°lt¶ßbr/fl°gt¶ß", 0.0, 8.75),
    ("multiline<br \\t/>text", 0.0, 8.25),
    ("multiline<br/>text", 0.0, 3.6875),
    ("multiline<br/>using fl°lt¶ßbr/fl°gt¶ß", 0.0, 8.75),
    ("multiline<br>text", 0.0, 3.6875),
    ("multiline<br>using fl°lt¶ßbrfl°gt¶ß", 0.0, 8.4375),
    ("nested", 0.0, 2.6875),
    ("new InitIDGenerator(deterministicIds, seed)", 0.0, 17.8125),
    ("next", 0.0, 1.8125),
    ("no", 0.0, 1.0625),
    ("no new participants", 0.0, 7.875),
    ("no number", 0.0, 4.4375),
    ("nodesToProcess", 0.0, 6.5),
    ("normalize()", 0.0, 4.75),
    ("not available, we can talk later.", 0.0, 12.5),
    ("not fit on a row.", 0.0, 6.4375),
    ("not the end", 0.0, 4.5625),
    ("note AB", 0.0, 3.375),
    ("note AC", 0.0, 3.375),
    ("note AD", 0.0, 3.4375),
    ("note BC", 0.0, 3.375),
    ("note with multiple lines", 0.0, 9.5625),
    ("note fl°°59¶ß with escaped semicolon", 0.0, 15.1875),
    ("ok", 0.0, 1.0625),
    ("one", 0.0, 1.4375),
    ("open", 0.0, 2.0),
    ("other note", 0.0, 4.0),
    ("outer", 0.0, 2.125),
    ("over single", 0.0, 4.4375),
    ("over two", 0.0, 3.5),
    ("overflown the actor", 0.0, 7.875),
    ("overflown the actor box as it is", 0.0, 12.375),
    ("p1", 0.0, 1.0625),
    ("p2", 0.0, 1.0625),
    ("p3", 0.0, 1.0625),
    ("parse result", 0.0, 4.6875),
    ("parseError(error)", 0.0, 6.875),
    ("parseError(error.str, error.hash)", 0.0, 12.5),
    ("ping", 0.0, 1.8125),
    ("pong", 0.0, 2.0625),
    ("postRenderCallback(id)", 0.0, 9.625),
    ("preprocessDiagram", 0.0, 7.875),
    ("preprocessDiagram(text)", 0.0, 10.0),
    ("prevail!", 0.0, 3.1875),
    ("prevail...", 0.0, 3.5625),
    ("previously", 0.0, 4.375),
    ("processAndSetConfigs(text)", 0.0, 11.375),
    ("processing initiated", 0.0, 7.9375),
    ("publish(itemIds)", 0.0, 6.6875),
    ("putIntoIFrame(svgCode, svgEl)", 0.0, 12.8125),
    ("query", 0.0, 2.3125),
    ("query user", 0.0, 4.25),
    ("query()", 0.0, 2.9375),
    ("quoted labels + typed participants", 0.0, 13.5),
    ("read", 0.0, 1.875),
    ("ready", 0.0, 2.375),
    ("ready to render", 0.0, 6.1875),
    ("received [end]", 0.0, 5.8125),
    ("record", 0.0, 2.6875),
    ("record metric", 0.0, 5.4375),
    ("redirect", 0.0, 3.125),
    ("refresh cache", 0.0, 5.375),
    ("registerExternalDiagrams(diagrams, options)", 0.0, 18.125),
    ("registerLazyLoadedDiagrams(...diagrams)", 0.0, 17.0),
    ("registration complete", 0.0, 8.5625),
    ("release", 0.0, 2.8125),
    (
        "removeExistingElements(document, id, divId, iFrameId)",
        0.0,
        22.75,
    ),
    ("removeTempElements()", 0.0, 9.6875),
    ("render result", 0.0, 5.125),
    ("render(id, txt, element)", 0.0, 9.3125),
    ("render(value)", 0.0, 5.4375),
    ("rendered diagram", 0.0, 7.125),
    ("reorder rules", 0.0, 5.125),
    ("replace ", 0.0, 2.9375),
    ("replace <br> with <br/>", 0.0, 2.9375),
    ("replace marker-end URLs with anchors", 0.0, 15.8125),
    ("reply", 0.0, 2.1875),
    ("request", 0.0, 3.0),
    ("requires decryption", 0.0, 7.875),
    ("reset()", 0.0, 2.625),
    ("response:", 0.0, 3.8125),
    ("result", 0.0, 2.3125),
    ("return B", 0.0, 3.375),
    ("return C", 0.0, 3.375),
    ("reuse existing worker", 0.0, 8.6875),
    ("right note", 0.0, 3.9375),
    ("row", 0.0, 1.625),
    ("rows", 0.0, 2.0),
    ("rules returned value", 0.0, 8.0),
    ("run()", 0.0, 2.0625),
    ("runThrowsErrors(options)", 0.0, 10.5625),
    ("sandboxedIframe(select('body'), iFrameID)", 0.0, 17.3125),
    (
        "sandboxedIframe(select(svgContainingElement), iFrameID)",
        0.0,
        24.125,
    ),
    ("saveConfigFromInitialize(options)", 0.0, 13.875),
    ("second line", 0.0, 4.5),
    ("second line with plain text", 0.0, 10.5625),
    ("select for update", 0.0, 6.625),
    ("select iframe contentDocument body", 0.0, 14.8125),
    ("select svg element", 0.0, 7.375),
    ("select('body')", 0.0, 5.3125),
    ("select(svgContainingElement)", 0.0, 12.125),
    (
        "self-call with dashes -- and equals == should not break parsing",
        0.0,
        25.0625,
    ),
    ("self-call()", 0.0, 3.875),
    ("semicolon in text is fl°°59¶ß ok", 0.0, 12.6875),
    ("send \"(end)\" marker", 0.0, 8.125),
    (
        "serialize(compile(svgId{allStyles}), stringify)",
        0.0,
        18.375,
    ),
    ("set themeVariables from theme", 0.0, 12.4375),
    ("set xmlns for foreignobject elements", 0.0, 14.625),
    ("set(key, value)", 0.0, 5.8125),
    ("setLogLevel(config.logLevel)", 0.0, 12.0),
    ("setSiteConfig(options) or getSiteConfig()", 0.0, 16.625),
    ("setup id selectors and element IDs", 0.0, 13.6875),
    ("shared behavior", 0.0, 6.375),
    ("shared behavior<br/>two clients", 0.0, 6.375),
    ("short", 0.0, 2.0625),
    ("should be", 0.0, 3.875),
    ("should not affect parsing", 0.0, 9.875),
    ("show", 0.0, 2.125),
    ("show failure", 0.0, 5.0),
    ("single-line text", 0.0, 6.0),
    ("so something", 0.0, 5.3125),
    ("solid", 0.0, 2.0),
    ("solid open", 0.0, 4.1875),
    ("solid_cross", 0.0, 4.5),
    ("solid_open", 0.0, 4.4375),
    ("solid_point", 0.0, 4.5625),
    ("some note", 0.0, 4.0625),
    ("span A..B", 0.0, 3.9375),
    ("span B..C", 0.0, 3.9375),
    ("span all", 0.0, 3.125),
    ("spanning note across boxes", 0.0, 10.9375),
    ("spanning note across boxes<br/>second line", 0.0, 10.9375),
    ("spawn", 0.0, 2.625),
    ("start", 0.0, 1.75),
    ("start batch", 0.0, 4.1875),
    ("step 1", 0.0, 2.375),
    ("step 2", 0.0, 2.375),
    ("still thinking, so", 0.0, 6.5),
    ("store in cache", 0.0, 5.5),
    ("store parseEncounteredException", 0.0, 13.5),
    ("stream into AST", 0.0, 6.5625),
    ("style.innerHTML = rules", 0.0, 10.0),
    ("svg.insertBefore(style, firstChild)", 0.0, 13.5),
    ("symbols: # ♥ ∞ <tag> & \"quotes\"", 0.0, 3.625),
    ("symbols: ✓✗ αβγ # ♥ ∞", 0.0, 7.1875),
    ("symbols: ✓✗ αβγ fl°°35¶ß fl°°9829¶ß fl°infin¶ß", 0.0, 19.3125),
    (
        "symbols: fl°°35¶ß fl°°9829¶ß fl°infin¶ß <tag> fl°°38¶ß \"quotes\"",
        0.0,
        25.625,
    ),
    ("telemetry should not affect execution geometry", 0.0, 19.0),
    ("ten", 0.0, 1.375),
    ("terminate", 0.0, 3.8125),
    ("test", 0.0, 1.5),
    ("text", 0.0, 1.625),
    ("text = MAX_TEXTLENGTH_EXCEEDED_MSG", 0.0, 20.5),
    (
        "text mentions end/else/and/par without affecting parsing",
        0.0,
        22.5625,
    ),
    ("that the text does", 0.0, 6.875),
    ("three", 0.0, 2.0625),
    ("throw error", 0.0, 4.625),
    ("throw parseEncounteredException", 0.0, 13.9375),
    ("toBase64 encode SVG content", 0.0, 12.375),
    (
        "trailing colon message above should still render a message label like upstream",
        0.0,
        31.375,
    ),
    ("transactional", 0.0, 5.1875),
    ("try later", 0.0, 3.25),
    ("twelve", 0.0, 2.75),
    ("two", 0.0, 1.5625),
    ("two clients", 0.0, 4.4375),
    ("unnumbered", 0.0, 5.125),
    ("update", 0.0, 2.75),
    ("use default theme variables", 0.0, 11.0),
    ("use provided nodes", 0.0, 7.8125),
    ("user row", 0.0, 3.5625),
    ("userb", 0.0, 2.25),
    ("using <br \t/>", 0.0, 2.25),
    ("using <br />", 0.0, 2.25),
    ("using <br/>", 0.0, 2.25),
    ("using <br>", 0.0, 2.25),
    ("validate input", 0.0, 5.5625),
    ("value", 0.0, 2.25),
    ("verify", 0.0, 2.5),
    ("very-long-participant-label", 0.0, 10.875),
    (
        "very-long-participant-label<br/>line-2<br/>line-3",
        0.0,
        10.875,
    ),
    ("we're still waiting to know", 0.0, 10.6875),
    ("welcome back", 0.0, 5.875),
    ("wide enough", 0.0, 5.25),
    ("with ", 0.0, 1.875),
    ("with explicit", 0.0, 5.125),
    ("with explicit line break", 0.0, 9.375),
    ("words: and par critical rect loop", 0.0, 12.8125),
    ("write", 0.0, 2.125),
    ("write audit log", 0.0, 5.875),
    ("write()", 0.0, 2.8125),
    ("yes", 0.0, 1.375),
    ("you're doing? How long does it take??", 0.0, 15.375),
    ("you. I am sorry you had to wait", 0.0, 12.625),
    ("{ code, config }", 0.0, 6.375),
    ("{ diagramType, svg: svgCode, bindFunctions }", 0.0, 18.875),
    ("{ diagramType: diagram.type, config }", 0.0, 15.5625),
    ("{ startOnLoad: true }", 0.0, 8.5625),
    ("αβγδεζηθ", 0.0, 3.75),
    ("\u{200b}", 0.0, 0.8125),
    ("中文", 0.0, 2.0),
    ("你好,世界!", 0.0, 6.0625),
    (
        "你好,世界!— punctuation test: “quotes”, (parens), [brackets], {braces}",
        0.0,
        30.0,
    ),
];