mermaid 10.9.3 → 10.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/dist/{arc-bd4de8da.js → arc-911b4007.js} +1 -1
  2. package/dist/{arc-93b112c4.js → arc-a15e19dc.js} +1 -1
  3. package/dist/{blockDiagram-325c0d7b.js → blockDiagram-3894b6f4.js} +7 -7
  4. package/dist/{blockDiagram-47a8f1e6.js → blockDiagram-6538aad3.js} +7 -7
  5. package/dist/{blockDiagram-38ab4fdb.js → blockDiagram-c4efeb88.js} +3 -3
  6. package/dist/{c4Diagram-71b4987c.js → c4Diagram-11725ab3.js} +2 -2
  7. package/dist/{c4Diagram-5e436c10.js → c4Diagram-5c061bbf.js} +2 -2
  8. package/dist/{c4Diagram-3d4e48cf.js → c4Diagram-c83219d4.js} +2 -2
  9. package/dist/{channel-93f63185.js → channel-d3ce1aa3.js} +1 -1
  10. package/dist/{channel-34943bd6.js → channel-f19f13a4.js} +1 -1
  11. package/dist/{classDiagram-52c92d29.js → classDiagram-3d51384c.js} +5 -5
  12. package/dist/{classDiagram-301cd207.js → classDiagram-5e12d5cf.js} +5 -5
  13. package/dist/{classDiagram-70f12bd4.js → classDiagram-beda092f.js} +2 -2
  14. package/dist/{classDiagram-v2-f2320105.js → classDiagram-v2-2358418a.js} +5 -5
  15. package/dist/{classDiagram-v2-70fd67bc.js → classDiagram-v2-79130fb8.js} +9 -9
  16. package/dist/{classDiagram-v2-20d1e04b.js → classDiagram-v2-bbc92249.js} +9 -9
  17. package/dist/{clone-06085faa.js → clone-2c3335c5.js} +1 -1
  18. package/dist/{clone-64cfc140.js → clone-efe1c6aa.js} +1 -1
  19. package/dist/{createText-2e5e7dd3.js → createText-1719965b.js} +6 -3
  20. package/dist/{createText-a21f6bb1.js → createText-2822bf05.js} +6 -3
  21. package/dist/{createText-323577ec.js → createText-9372f704.js} +242 -239
  22. package/dist/diagrams/common/common.d.ts +1 -1
  23. package/dist/{edges-16a2be2d.js → edges-20fff4f5.js} +311 -306
  24. package/dist/{edges-56c921ab.js → edges-568b5f94.js} +11 -7
  25. package/dist/{edges-e0da2a9e.js → edges-96097737.js} +10 -6
  26. package/dist/{erDiagram-9861fffd.js → erDiagram-0228fc6a.js} +1 -1
  27. package/dist/{erDiagram-59d1cdbd.js → erDiagram-08af4c5d.js} +4 -4
  28. package/dist/{erDiagram-52ee5ed7.js → erDiagram-b0a85d60.js} +4 -4
  29. package/dist/{flowDb-63accdbc.js → flowDb-5aa2917a.js} +1 -1
  30. package/dist/{flowDb-956e92f1.js → flowDb-c6c81e3f.js} +1 -1
  31. package/dist/{flowDb-ce16de8c.js → flowDb-f37475bf.js} +1 -1
  32. package/dist/{flowDiagram-66a62f08.js → flowDiagram-50d868cf.js} +10 -10
  33. package/dist/{flowDiagram-a0832dcd.js → flowDiagram-d9de4fee.js} +294 -294
  34. package/dist/{flowDiagram-b36fdd76.js → flowDiagram-eee84b83.js} +31 -31
  35. package/dist/{flowDiagram-v2-96b9c2cf.js → flowDiagram-v2-4f6560a1.js} +7 -7
  36. package/dist/flowDiagram-v2-8a954bf0.js +25 -0
  37. package/dist/{flowDiagram-v2-74c8dbcc.js → flowDiagram-v2-a7830259.js} +11 -11
  38. package/dist/{flowchart-elk-definition-fbe65b0a.js → flowchart-elk-definition-54b6c9ab.js} +5 -5
  39. package/dist/{flowchart-elk-definition-4a651766.js → flowchart-elk-definition-6af322e1.js} +4 -4
  40. package/dist/{flowchart-elk-definition-8cc78aa3.js → flowchart-elk-definition-fb58cb64.js} +5 -5
  41. package/dist/{ganttDiagram-d3ab137f.js → ganttDiagram-68513147.js} +2 -2
  42. package/dist/{ganttDiagram-c361ad54.js → ganttDiagram-a2739b55.js} +1 -1
  43. package/dist/{ganttDiagram-066785da.js → ganttDiagram-de594a00.js} +2 -2
  44. package/dist/{gitGraphDiagram-75f65184.js → gitGraphDiagram-4b126544.js} +1 -1
  45. package/dist/{gitGraphDiagram-72cf32ee.js → gitGraphDiagram-82fe8481.js} +1 -1
  46. package/dist/{gitGraphDiagram-348475b8.js → gitGraphDiagram-e9a2600b.js} +1 -1
  47. package/dist/{graph-cdf81e0e.js → graph-00ca1ddf.js} +33 -44
  48. package/dist/graph-80608c14.js +871 -0
  49. package/dist/{index-5e3196ce.js → index-0cdc3891.js} +6 -6
  50. package/dist/{index-3862675e.js → index-5325376f.js} +3 -3
  51. package/dist/{index-ade8a1b6.js → index-f8e20f6b.js} +6 -6
  52. package/dist/{infoDiagram-f5302396.js → infoDiagram-12be3fa1.js} +1 -1
  53. package/dist/{infoDiagram-12c122cb.js → infoDiagram-3de034a5.js} +1 -1
  54. package/dist/{infoDiagram-f8f76790.js → infoDiagram-8eee0895.js} +1 -1
  55. package/dist/{journeyDiagram-e798f4cb.js → journeyDiagram-682f54fe.js} +3 -3
  56. package/dist/{journeyDiagram-6eaaa22b.js → journeyDiagram-aedbf9a9.js} +3 -3
  57. package/dist/{journeyDiagram-49397b02.js → journeyDiagram-c64418c1.js} +2 -2
  58. package/dist/layout-0254eb32.js +1494 -0
  59. package/dist/{layout-833f5d09.js → layout-09aca9f2.js} +80 -121
  60. package/dist/{line-552be4bc.js → line-0c78f995.js} +1 -1
  61. package/dist/{line-ef4db9e4.js → line-8a001a24.js} +1 -1
  62. package/dist/{linear-cbf4fe8b.js → linear-73d6a963.js} +1 -1
  63. package/dist/{linear-5f627b65.js → linear-b808bd80.js} +1 -1
  64. package/dist/{mermaid-b5860b54.js → mermaid-7ea9cbd6.js} +33 -30
  65. package/dist/{mermaid-5a5980d4.js → mermaid-b92f6f74.js} +2251 -2245
  66. package/dist/{mermaid-bea41e51.js → mermaid-d73f18bb.js} +111 -112
  67. package/dist/mermaid.core.mjs +1 -1
  68. package/dist/mermaid.esm.min.mjs +1 -1
  69. package/dist/mermaid.esm.mjs +1 -1
  70. package/dist/mermaid.js +207 -250
  71. package/dist/mermaid.min.js +171 -171
  72. package/dist/{mindmap-definition-b3e57be3.js → mindmap-definition-4da9e6a5.js} +2 -2
  73. package/dist/{mindmap-definition-fc14e90a.js → mindmap-definition-8da855dc.js} +2 -2
  74. package/dist/{mindmap-definition-69d738f7.js → mindmap-definition-aebd360e.js} +2 -2
  75. package/dist/{pieDiagram-520b736b.js → pieDiagram-16513e3f.js} +2 -2
  76. package/dist/{pieDiagram-2a61ad98.js → pieDiagram-2b639856.js} +2 -2
  77. package/dist/{pieDiagram-8a3498a8.js → pieDiagram-a8764435.js} +1 -1
  78. package/dist/{quadrantDiagram-120e2f19.js → quadrantDiagram-1e28029f.js} +1 -1
  79. package/dist/{quadrantDiagram-97313f6a.js → quadrantDiagram-39965fa8.js} +2 -2
  80. package/dist/{quadrantDiagram-74843a00.js → quadrantDiagram-f58eb955.js} +2 -2
  81. package/dist/{requirementDiagram-074fa166.js → requirementDiagram-0513a134.js} +4 -4
  82. package/dist/{requirementDiagram-deff3bca.js → requirementDiagram-08caed73.js} +1 -1
  83. package/dist/{requirementDiagram-836c2e45.js → requirementDiagram-a9a1ab5b.js} +4 -4
  84. package/dist/{sankeyDiagram-04a897e0.js → sankeyDiagram-a04cb91d.js} +1 -1
  85. package/dist/{sankeyDiagram-99ff93d7.js → sankeyDiagram-a91c88a3.js} +1 -1
  86. package/dist/{sankeyDiagram-21c8b3a4.js → sankeyDiagram-bcf67920.js} +1 -1
  87. package/dist/{sequenceDiagram-9f7b83ce.js → sequenceDiagram-75649615.js} +5 -5
  88. package/dist/{sequenceDiagram-819f4947.js → sequenceDiagram-a77d5917.js} +2 -2
  89. package/dist/{sequenceDiagram-704730f1.js → sequenceDiagram-c5b8d532.js} +5 -5
  90. package/dist/{stateDiagram-587899a1.js → stateDiagram-1ecb1508.js} +2 -2
  91. package/dist/{stateDiagram-728b288d.js → stateDiagram-8198abf2.js} +5 -5
  92. package/dist/{stateDiagram-dc3cd90b.js → stateDiagram-e4aff18a.js} +5 -5
  93. package/dist/{stateDiagram-v2-2fae770b.js → stateDiagram-v2-b2978744.js} +9 -9
  94. package/dist/{stateDiagram-v2-d93cdb3a.js → stateDiagram-v2-c2b004d7.js} +5 -5
  95. package/dist/{stateDiagram-v2-734e0ec8.js → stateDiagram-v2-f5ecddeb.js} +9 -9
  96. package/dist/{styles-f32eefb3.js → styles-13ae24cf.js} +1 -1
  97. package/dist/{styles-1fc466fb.js → styles-6d98f5a4.js} +1 -1
  98. package/dist/{styles-9a916d00.js → styles-b4e223ce.js} +1 -1
  99. package/dist/{styles-03a776f2.js → styles-bfb5f58b.js} +1 -1
  100. package/dist/{styles-6aaf32cf.js → styles-ca3715f6.js} +1 -1
  101. package/dist/{styles-c10674c1.js → styles-d45a18b0.js} +8 -5
  102. package/dist/{styles-b6ab520b.js → styles-d81a254a.js} +1 -1
  103. package/dist/{styles-c1090ffc.js → styles-f321baca.js} +16 -13
  104. package/dist/{styles-91e7de3c.js → styles-f7f4f728.js} +9 -6
  105. package/dist/{svgDrawCommon-00c8c713.js → svgDrawCommon-093cedf0.js} +1 -1
  106. package/dist/{svgDrawCommon-08f97a94.js → svgDrawCommon-b86b1483.js} +1 -1
  107. package/dist/{svgDrawCommon-90b9d7be.js → svgDrawCommon-bcac189f.js} +1 -1
  108. package/dist/{timeline-definition-c33fa219.js → timeline-definition-36903ae4.js} +2 -2
  109. package/dist/{timeline-definition-1d5f75ec.js → timeline-definition-d25df101.js} +2 -2
  110. package/dist/{timeline-definition-85554ec2.js → timeline-definition-faaaa080.js} +1 -1
  111. package/dist/{xychartDiagram-024e42d6.js → xychartDiagram-66f36244.js} +4 -4
  112. package/dist/{xychartDiagram-a93c88e9.js → xychartDiagram-a4065021.js} +4 -4
  113. package/dist/{xychartDiagram-e933f94c.js → xychartDiagram-f5964ef8.js} +2 -2
  114. package/package.json +3 -4
  115. package/dist/flowDiagram-v2-a90a998c.js +0 -25
  116. package/dist/graph-e9862b7e.js +0 -881
  117. package/dist/layout-2e6f21ea.js +0 -1536
@@ -1,5 +1,5 @@
1
1
  import { w as withPath, c as constant } from "./path-39bad7e2.js";
2
- import { aw as pi, ax as cos, ay as sin, az as halfPi, aA as epsilon, V as tau, aB as sqrt, aC as min, aD as abs, aE as atan2, aF as asin, aG as acos, aH as max } from "./mermaid-bea41e51.js";
2
+ import { aw as pi, ax as cos, ay as sin, az as halfPi, aA as epsilon, V as tau, aB as sqrt, aC as min, aD as abs, aE as atan2, aF as asin, aG as acos, aH as max } from "./mermaid-d73f18bb.js";
3
3
  function arcInnerRadius(d) {
4
4
  return d.innerRadius;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { w as ln, c as H } from "./path-428ebac9.js";
2
- import { aw as an, ax as V, ay as D, az as rn, aA as y, V as on, aB as K, aC as _, aD as un, aE as t, aF as sn, aG as tn, aH as fn } from "./mermaid-5a5980d4.js";
2
+ import { aw as an, ax as V, ay as D, az as rn, aA as y, V as on, aB as K, aC as _, aD as un, aE as t, aF as sn, aG as tn, aH as fn } from "./mermaid-b92f6f74.js";
3
3
  function cn(l) {
4
4
  return l.innerRadius;
5
5
  }
@@ -1,12 +1,12 @@
1
- import { c as ge, _ as se, l as L, E as ye, f as _e, B as we, o as De, j as H, k as Ne } from "./mermaid-5a5980d4.js";
2
- import { c as Ie } from "./clone-06085faa.js";
3
- import { c as Oe } from "./channel-93f63185.js";
4
- import { h as Te, f as ze, j as Ce, e as de, p as Ae, a as Re } from "./edges-16a2be2d.js";
5
- import { G as ve } from "./graph-e9862b7e.js";
1
+ import { c as ge, _ as se, l as L, E as ye, f as _e, B as we, o as De, j as H, k as Ne } from "./mermaid-b92f6f74.js";
2
+ import { c as Ie } from "./clone-2c3335c5.js";
3
+ import { c as Oe } from "./channel-d3ce1aa3.js";
4
+ import { h as Te, f as ze, j as Ce, e as de, p as Ae, a as Re } from "./edges-20fff4f5.js";
5
+ import { G as ve } from "./graph-80608c14.js";
6
6
  import { o as Be } from "./ordinal-5695958c.js";
7
7
  import { d as ke } from "./Tableau10-558cc280.js";
8
- import "./createText-323577ec.js";
9
- import "./line-552be4bc.js";
8
+ import "./createText-9372f704.js";
9
+ import "./line-0c78f995.js";
10
10
  import "./array-2ff2c7a6.js";
11
11
  import "./path-428ebac9.js";
12
12
  import "./init-f9637058.js";
@@ -1,13 +1,13 @@
1
1
  var _a, _b;
2
- import { c as getConfig, _ as getConfig$1, l as log, E as clear$1, f as common, B as rgba, o as getStylesFromArray, j as d3select, k as configureSvgSize } from "./mermaid-bea41e51.js";
3
- import { c as clone } from "./clone-64cfc140.js";
4
- import { c as channel } from "./channel-34943bd6.js";
5
- import { h as insertEdge, f as insertEdgeLabel, j as positionEdgeLabel, e as insertNode, p as positionNode, a as insertMarkers } from "./edges-56c921ab.js";
6
- import { G as Graph } from "./graph-cdf81e0e.js";
2
+ import { c as getConfig, _ as getConfig$1, l as log, E as clear$1, f as common, B as rgba, o as getStylesFromArray, j as d3select, k as configureSvgSize } from "./mermaid-d73f18bb.js";
3
+ import { c as clone } from "./clone-efe1c6aa.js";
4
+ import { c as channel } from "./channel-f19f13a4.js";
5
+ import { h as insertEdge, f as insertEdgeLabel, j as positionEdgeLabel, e as insertNode, p as positionNode, a as insertMarkers } from "./edges-568b5f94.js";
6
+ import { G as Graph } from "./graph-00ca1ddf.js";
7
7
  import { o as ordinal } from "./ordinal-475e0c0c.js";
8
8
  import { d as d3schemeTableau10 } from "./Tableau10-31042135.js";
9
- import "./createText-a21f6bb1.js";
10
- import "./line-ef4db9e4.js";
9
+ import "./createText-2822bf05.js";
10
+ import "./line-8a001a24.js";
11
11
  import "./array-b7dcf730.js";
12
12
  import "./path-39bad7e2.js";
13
13
  import "./init-cc95ec8e.js";
@@ -1,8 +1,8 @@
1
1
  var _a, _b;
2
- import { c as getConfig, F as getConfig$1, l as log, v as clear$1, e as common, k as getStylesFromArray, i as configureSvgSize } from "./mermaid-b5860b54.js";
2
+ import { c as getConfig, F as getConfig$1, l as log, v as clear$1, e as common, k as getStylesFromArray, i as configureSvgSize } from "./mermaid-7ea9cbd6.js";
3
3
  import clone from "lodash-es/clone.js";
4
4
  import * as khroma from "khroma";
5
- import { h as insertEdge, f as insertEdgeLabel, j as positionEdgeLabel, e as insertNode, p as positionNode, a as insertMarkers } from "./edges-e0da2a9e.js";
5
+ import { h as insertEdge, f as insertEdgeLabel, j as positionEdgeLabel, e as insertNode, p as positionNode, a as insertMarkers } from "./edges-96097737.js";
6
6
  import * as graphlib from "dagre-d3-es/src/graphlib/index.js";
7
7
  import { select, scaleOrdinal, schemeTableau10 } from "d3";
8
8
  import "ts-dedent";
@@ -13,7 +13,7 @@ import "lodash-es/memoize.js";
13
13
  import "lodash-es/merge.js";
14
14
  import "stylis";
15
15
  import "lodash-es/isEmpty.js";
16
- import "./createText-2e5e7dd3.js";
16
+ import "./createText-1719965b.js";
17
17
  import "mdast-util-from-markdown";
18
18
  var parser = function() {
19
19
  var o = function(k, v, o2, l) {
@@ -1,5 +1,5 @@
1
- import { s as we, g as Oe, a as Te, b as Re, c as Dt, d as ue, e as De, f as Kt, h as Se, i as wt, j as Nt, l as le, k as Pe, w as Me, m as oe } from "./mermaid-5a5980d4.js";
2
- import { d as Le, g as Ne } from "./svgDrawCommon-90b9d7be.js";
1
+ import { s as we, g as Oe, a as Te, b as Re, c as Dt, d as ue, e as De, f as Kt, h as Se, i as wt, j as Nt, l as le, k as Pe, w as Me, m as oe } from "./mermaid-b92f6f74.js";
2
+ import { d as Le, g as Ne } from "./svgDrawCommon-bcac189f.js";
3
3
  var Yt = function() {
4
4
  var e = function(bt, _, x, m) {
5
5
  for (x = x || {}, m = bt.length; m--; x[bt[m]] = _)
@@ -1,5 +1,5 @@
1
- import { s as setAccTitle, g as getAccTitle, a as getAccDescription, b as setAccDescription, c as getConfig, d as sanitizeText, e as dist, f as common, h as assignWithDepth, i as calculateTextWidth, j as d3select, l as log, k as configureSvgSize, w as wrapLabel, m as calculateTextHeight } from "./mermaid-bea41e51.js";
2
- import { d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-00c8c713.js";
1
+ import { s as setAccTitle, g as getAccTitle, a as getAccDescription, b as setAccDescription, c as getConfig, d as sanitizeText, e as dist, f as common, h as assignWithDepth, i as calculateTextWidth, j as d3select, l as log, k as configureSvgSize, w as wrapLabel, m as calculateTextHeight } from "./mermaid-d73f18bb.js";
2
+ import { d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-093cedf0.js";
3
3
  var parser = function() {
4
4
  var o = function(k, v, o2, l) {
5
5
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v)
@@ -1,6 +1,6 @@
1
- import { s as setAccTitle, g as getAccTitle, a as getAccDescription, b as setAccDescription, c as getConfig, d as sanitizeText, e as common, f as assignWithDepth, h as calculateTextWidth, l as log, i as configureSvgSize, w as wrapLabel, j as calculateTextHeight } from "./mermaid-b5860b54.js";
1
+ import { s as setAccTitle, g as getAccTitle, a as getAccDescription, b as setAccDescription, c as getConfig, d as sanitizeText, e as common, f as assignWithDepth, h as calculateTextWidth, l as log, i as configureSvgSize, w as wrapLabel, j as calculateTextHeight } from "./mermaid-7ea9cbd6.js";
2
2
  import { select } from "d3";
3
- import { d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-08f97a94.js";
3
+ import { d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-b86b1483.js";
4
4
  import { sanitizeUrl } from "@braintree/sanitize-url";
5
5
  import "ts-dedent";
6
6
  import "dayjs";
@@ -1,4 +1,4 @@
1
- import { aI as o, aJ as r } from "./mermaid-5a5980d4.js";
1
+ import { aI as o, aJ as r } from "./mermaid-b92f6f74.js";
2
2
  const s = (a, n) => o.lang.round(r.parse(a)[n]), e = s;
3
3
  export {
4
4
  e as c
@@ -1,4 +1,4 @@
1
- import { aI as _, aJ as Color } from "./mermaid-bea41e51.js";
1
+ import { aI as _, aJ as Color } from "./mermaid-d73f18bb.js";
2
2
  const channel = (color, channel2) => {
3
3
  return _.lang.round(Color.parse(color)[channel2]);
4
4
  };
@@ -1,8 +1,8 @@
1
- import { p as parser, d as db, s as styles } from "./styles-03a776f2.js";
2
- import { F as curveBasis, A as utils, l as log, G as parseGenericTypes, c as getConfig, j as d3select, k as configureSvgSize } from "./mermaid-bea41e51.js";
3
- import { G as Graph } from "./graph-cdf81e0e.js";
4
- import { l as layout } from "./layout-833f5d09.js";
5
- import { l as line } from "./line-ef4db9e4.js";
1
+ import { p as parser, d as db, s as styles } from "./styles-bfb5f58b.js";
2
+ import { F as curveBasis, A as utils, l as log, G as parseGenericTypes, c as getConfig, j as d3select, k as configureSvgSize } from "./mermaid-d73f18bb.js";
3
+ import { G as Graph } from "./graph-00ca1ddf.js";
4
+ import { l as layout } from "./layout-09aca9f2.js";
5
+ import { l as line } from "./line-8a001a24.js";
6
6
  import "./array-b7dcf730.js";
7
7
  import "./path-39bad7e2.js";
8
8
  let edgeCount = 0;
@@ -1,8 +1,8 @@
1
- import { p as A, d as S, s as G } from "./styles-f32eefb3.js";
2
- import { F as W, A as B, l as u, G as I, c as H, j as M, k as O } from "./mermaid-5a5980d4.js";
3
- import { G as P } from "./graph-e9862b7e.js";
4
- import { l as X } from "./layout-2e6f21ea.js";
5
- import { l as Y } from "./line-552be4bc.js";
1
+ import { p as A, d as S, s as G } from "./styles-13ae24cf.js";
2
+ import { F as W, A as B, l as u, G as I, c as H, j as M, k as O } from "./mermaid-b92f6f74.js";
3
+ import { G as P } from "./graph-80608c14.js";
4
+ import { l as X } from "./layout-0254eb32.js";
5
+ import { l as Y } from "./line-0c78f995.js";
6
6
  import "./array-2ff2c7a6.js";
7
7
  import "./path-428ebac9.js";
8
8
  let _ = 0;
@@ -1,8 +1,8 @@
1
- import { p as parser, d as db, s as styles } from "./styles-9a916d00.js";
1
+ import { p as parser, d as db, s as styles } from "./styles-b4e223ce.js";
2
2
  import { line, curveBasis, select } from "d3";
3
3
  import { layout } from "dagre-d3-es/src/dagre/index.js";
4
4
  import * as graphlib from "dagre-d3-es/src/graphlib/index.js";
5
- import { u as utils, l as log, x as parseGenericTypes, c as getConfig, i as configureSvgSize } from "./mermaid-b5860b54.js";
5
+ import { u as utils, l as log, x as parseGenericTypes, c as getConfig, i as configureSvgSize } from "./mermaid-7ea9cbd6.js";
6
6
  import "ts-dedent";
7
7
  import "dayjs";
8
8
  import "@braintree/sanitize-url";
@@ -1,8 +1,8 @@
1
- import { p as parser, d as db, s as styles } from "./styles-9a916d00.js";
1
+ import { p as parser, d as db, s as styles } from "./styles-b4e223ce.js";
2
2
  import { select, curveLinear } from "d3";
3
3
  import * as graphlib from "dagre-d3-es/src/graphlib/index.js";
4
- import { l as log, c as getConfig, u as utils, o as setupGraphViewbox, k as getStylesFromArray, n as interpolateToCurve, e as common } from "./mermaid-b5860b54.js";
5
- import { r as render } from "./index-3862675e.js";
4
+ import { l as log, c as getConfig, u as utils, o as setupGraphViewbox, k as getStylesFromArray, n as interpolateToCurve, e as common } from "./mermaid-7ea9cbd6.js";
5
+ import { r as render } from "./index-5325376f.js";
6
6
  import "ts-dedent";
7
7
  import "dayjs";
8
8
  import "@braintree/sanitize-url";
@@ -14,8 +14,8 @@ import "stylis";
14
14
  import "lodash-es/isEmpty.js";
15
15
  import "dagre-d3-es/src/dagre/index.js";
16
16
  import "dagre-d3-es/src/graphlib/json.js";
17
- import "./edges-e0da2a9e.js";
18
- import "./createText-2e5e7dd3.js";
17
+ import "./edges-96097737.js";
18
+ import "./createText-1719965b.js";
19
19
  import "mdast-util-from-markdown";
20
20
  const sanitizeText = (txt) => common.sanitizeText(txt, getConfig());
21
21
  let conf = {
@@ -1,12 +1,12 @@
1
- import { p as parser, d as db, s as styles } from "./styles-03a776f2.js";
2
- import { l as log, c as getConfig, j as d3select, A as utils, t as setupGraphViewbox, o as getStylesFromArray, q as interpolateToCurve, n as curveLinear, f as common } from "./mermaid-bea41e51.js";
3
- import { G as Graph } from "./graph-cdf81e0e.js";
4
- import { r as render } from "./index-ade8a1b6.js";
5
- import "./layout-833f5d09.js";
6
- import "./clone-64cfc140.js";
7
- import "./edges-56c921ab.js";
8
- import "./createText-a21f6bb1.js";
9
- import "./line-ef4db9e4.js";
1
+ import { p as parser, d as db, s as styles } from "./styles-bfb5f58b.js";
2
+ import { l as log, c as getConfig, j as d3select, A as utils, t as setupGraphViewbox, o as getStylesFromArray, q as interpolateToCurve, n as curveLinear, f as common } from "./mermaid-d73f18bb.js";
3
+ import { G as Graph } from "./graph-00ca1ddf.js";
4
+ import { r as render } from "./index-f8e20f6b.js";
5
+ import "./layout-09aca9f2.js";
6
+ import "./clone-efe1c6aa.js";
7
+ import "./edges-568b5f94.js";
8
+ import "./createText-2822bf05.js";
9
+ import "./line-8a001a24.js";
10
10
  import "./array-b7dcf730.js";
11
11
  import "./path-39bad7e2.js";
12
12
  const sanitizeText = (txt) => common.sanitizeText(txt, getConfig());
@@ -1,12 +1,12 @@
1
- import { p as R, d as N, s as $ } from "./styles-f32eefb3.js";
2
- import { l as c, c as r, j as k, A as B, t as G, o as E, q as A, n as C, f as _ } from "./mermaid-5a5980d4.js";
3
- import { G as q } from "./graph-e9862b7e.js";
4
- import { r as z } from "./index-5e3196ce.js";
5
- import "./layout-2e6f21ea.js";
6
- import "./clone-06085faa.js";
7
- import "./edges-16a2be2d.js";
8
- import "./createText-323577ec.js";
9
- import "./line-552be4bc.js";
1
+ import { p as R, d as N, s as $ } from "./styles-13ae24cf.js";
2
+ import { l as c, c as r, j as k, A as B, t as G, o as E, q as A, n as C, f as _ } from "./mermaid-b92f6f74.js";
3
+ import { G as q } from "./graph-80608c14.js";
4
+ import { r as z } from "./index-0cdc3891.js";
5
+ import "./layout-0254eb32.js";
6
+ import "./clone-2c3335c5.js";
7
+ import "./edges-20fff4f5.js";
8
+ import "./createText-9372f704.js";
9
+ import "./line-0c78f995.js";
10
10
  import "./array-2ff2c7a6.js";
11
11
  import "./path-428ebac9.js";
12
12
  const S = (o) => _.sanitizeText(o, r());
@@ -1,4 +1,4 @@
1
- import { c as r } from "./graph-e9862b7e.js";
1
+ import { c as r } from "./graph-80608c14.js";
2
2
  var e = 4;
3
3
  function a(o) {
4
4
  return r(o, e);
@@ -1,4 +1,4 @@
1
- import { c as baseClone } from "./graph-cdf81e0e.js";
1
+ import { c as baseClone } from "./graph-00ca1ddf.js";
2
2
  var CLONE_SYMBOLS_FLAG = 4;
3
3
  function clone(value) {
4
4
  return baseClone(value, CLONE_SYMBOLS_FLAG);
@@ -1,4 +1,4 @@
1
- import { l as log, M as decodeEntities } from "./mermaid-b5860b54.js";
1
+ import { l as log, M as decodeEntities, d as sanitizeText, F as getConfig } from "./mermaid-7ea9cbd6.js";
2
2
  import { fromMarkdown } from "mdast-util-from-markdown";
3
3
  import { dedent } from "ts-dedent";
4
4
  function preprocessMarkdown(markdown) {
@@ -137,8 +137,11 @@ function addHtmlSpan(element, node, width, classes, addBackground = false) {
137
137
  const label = node.label;
138
138
  const labelClass = node.isNode ? "nodeLabel" : "edgeLabel";
139
139
  div.html(
140
- `
141
- <span class="${labelClass} ${classes}" ` + (node.labelStyle ? 'style="' + node.labelStyle + '"' : "") + ">" + label + "</span>"
140
+ sanitizeText(
141
+ `
142
+ <span class="${labelClass} ${classes}" ` + (node.labelStyle ? 'style="' + node.labelStyle + '"' : "") + ">" + label + "</span>",
143
+ getConfig()
144
+ )
142
145
  );
143
146
  applyStyle(div, node.labelStyle);
144
147
  div.style("display", "table-cell");
@@ -1,4 +1,4 @@
1
- import { b8 as dedent, l as log, b7 as decodeEntities } from "./mermaid-bea41e51.js";
1
+ import { b8 as dedent, l as log, b7 as decodeEntities, d as sanitizeText, _ as getConfig } from "./mermaid-d73f18bb.js";
2
2
  const emptyOptions = {};
3
3
  function toString(value, options) {
4
4
  const settings = options || emptyOptions;
@@ -4815,8 +4815,11 @@ function addHtmlSpan(element2, node2, width, classes, addBackground = false) {
4815
4815
  const label = node2.label;
4816
4816
  const labelClass = node2.isNode ? "nodeLabel" : "edgeLabel";
4817
4817
  div.html(
4818
- `
4819
- <span class="${labelClass} ${classes}" ` + (node2.labelStyle ? 'style="' + node2.labelStyle + '"' : "") + ">" + label + "</span>"
4818
+ sanitizeText(
4819
+ `
4820
+ <span class="${labelClass} ${classes}" ` + (node2.labelStyle ? 'style="' + node2.labelStyle + '"' : "") + ">" + label + "</span>",
4821
+ getConfig()
4822
+ )
4820
4823
  );
4821
4824
  applyStyle(div, node2.labelStyle);
4822
4825
  div.style("display", "table-cell");