@kong-ui-public/documentation 0.7.20 → 0.7.21
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.
- package/dist/{Tableau10-GLA_9iAD-BMurskAd.js → Tableau10-D7jGxypv-D3w6FIcJ.js} +1 -2
- package/dist/arc-CJ96KFKf-ZAEyyrBI.js +84 -0
- package/dist/{blockDiagram-6b2b5046-ZGxr7RGf-D4pbh8vR.js → blockDiagram-9f4a6865-DOUkHJlG-BPuF5-tK.js} +107 -108
- package/dist/{c4Diagram-b947cdbb-Bo6xALld-D8DXBmHw.js → c4Diagram-ae766693-qW59_Cjl-BSBtINzy.js} +133 -132
- package/dist/{channel-BX3TjCqa-Cdtt6hB1.js → channel-BkEGjNbZ-CzBFLYvk.js} +1 -1
- package/dist/{classDiagram-35230388-C60SAKfJ-FQHXcc4J.js → classDiagram-fb54d2a0-DaEnSnV7-BgUSoTGU.js} +8 -7
- package/dist/{classDiagram-v2-412acd34-CHK1KDqU-CiKmarbv.js → classDiagram-v2-a2b738ad-DVF-sdZH-lL0m0fQD.js} +8 -8
- package/dist/{clone-BSWoNj0I-CW2QP79u.js → clone-Bz5840kP-D3Uvm_gp.js} +1 -1
- package/dist/{createText-423428c9-DeHbckoy-r2CCACGx.js → createText-ca0c5216-DGjoI7Oz-8Az9WSXK.js} +14 -20
- package/dist/documentation.es.js +3 -3
- package/dist/documentation.umd.js +993 -723
- package/dist/{edges-d417c7a0-D7e9Y4V--DVOSTCB5.js → edges-066a5561-ByMuMaff-ipHdGCa_.js} +28 -27
- package/dist/{erDiagram-0ea73325-E3jchkiK-CfTqZxm6.js → erDiagram-09d1c15f-Ctl-zT4O-B9E7LRcs.js} +71 -72
- package/dist/{flowDb-d35e309a-Dch1VW7i-Bk557s4E.js → flowDb-c1833063-nJUM9bYy-B5f_hjwI.js} +4 -4
- package/dist/{flowDiagram-d949d7c1-CxjmKfBF-CuFUEya4.js → flowDiagram-b222e15a-BlrP8xne-DJ_sATm6.js} +339 -333
- package/dist/{flowDiagram-v2-49332944-Duf6j7PN-DgsEJ4Bo.js → flowDiagram-v2-13329dc7-DlqVPxH6-CgXruRZr.js} +5 -5
- package/dist/{flowchart-elk-definition-27cc417a-M-lK4i48-Bs8Ix10e.js → flowchart-elk-definition-ae0efee6-B2FZpaI4-C8o8y5J1.js} +343 -590
- package/dist/{ganttDiagram-5c869e3b-CgjZsm2H-Bon0v47P.js → ganttDiagram-b62c793e-BUkrtLIU-roFbcEhP.js} +513 -534
- package/dist/gitGraphDiagram-942e62fe-BIndO562-dNVJJzzm.js +1264 -0
- package/dist/{graph-Ch18bQn5-BLEKw6WT.js → graph-BN58fiEq-CyCz6HB3.js} +3 -4
- package/dist/{index-8fae9850-kUIz8xNo-CDn9_qZB.js → index-01f381cb-DHHDXut0-C1FToHnX.js} +11 -11
- package/dist/{index-CVS7cBlb.js → index-Dz46e5bv.js} +2354 -2515
- package/dist/{infoDiagram-db7b18fc-BpBtHVy2-DuX4gmA7.js → infoDiagram-94cd232f-CSzv-wTE-Bnonj1Cb.js} +7 -7
- package/dist/{journeyDiagram-d5636530-CZUFMDTA-D5VAFQAG.js → journeyDiagram-6625b456-Ca9U8tWI-DoKEPckV.js} +16 -16
- package/dist/katex-BXNjbZo7-CF_fuFJb.js +11637 -0
- package/dist/{layout-BzV691RN-Br8Ir03a.js → layout-DU4VNk5y-DEbr0_Pk.js} +112 -114
- package/dist/{line-JCh8JM-V-T9MVIZIE.js → line-CwSAou3c-dgS2jcU_.js} +3 -4
- package/dist/{linear-cwTFOJBq-B6q6qtlZ.js → linear-CngEzq0a-B6fRdJQY.js} +70 -94
- package/dist/{mindmap-definition-377f8f1f-BzIPdpBG-DD8FIpST.js → mindmap-definition-307c710a-CvpxqRPj-AB15RcM6.js} +343 -378
- package/dist/{ordinal-MUacOSdK-B1MUT0BL.js → ordinal-DfAQgscy-BEJTu10r.js} +3 -7
- package/dist/{path-Crsf9Nsj-SiSjwXsf.js → path-DLwuMfdd-EbErTa4c.js} +12 -19
- package/dist/{pieDiagram-b0208e96-BQfpnZHG-E8AMqTd3.js → pieDiagram-bb1d19e5-LP-9WGAS-DwilsWxb.js} +61 -61
- package/dist/{quadrantDiagram-0332be45-CNL4JCrn-BYyiYlYH.js → quadrantDiagram-c759a472-B_TsLXO0-BviiuQRe.js} +2 -2
- package/dist/{requirementDiagram-bf7890df-NBqqCuPF-CIHJhGNa.js → requirementDiagram-87253d64-o6jrBKBt-BDXpXGpQ.js} +30 -30
- package/dist/{sankeyDiagram-0acdec17-YE0ROy8d-CU1TmQZx.js → sankeyDiagram-707fac0f-BoEHDAJv-BBNylsjT.js} +44 -58
- package/dist/{sequenceDiagram-c18d009d-Yucxrjw7-D_cnXQcd.js → sequenceDiagram-6894f283-Dsj52Wsi-TDdIX1Wn.js} +845 -812
- package/dist/{stateDiagram-43596fc0-D9IY4Ssi-KJp_o1Vc.js → stateDiagram-5dee940d-COfohDXu-Dra8cHnR.js} +54 -54
- package/dist/{stateDiagram-v2-2ead4f9c-5IZQWbnV-Chm6qgaK.js → stateDiagram-v2-1992cada-v9z1blk7-b2WlcHGI.js} +12 -12
- package/dist/{styles-b2c874b6-pUAi9-OK-C7HwN-ih.js → styles-0784dbeb-DHDYpA72-BTX0XQJ5.js} +24 -24
- package/dist/{styles-7383a064-DLbSva3T-DWY6NPMf.js → styles-483fbfea-DUrqZeOP-BPfiLFkT.js} +140 -137
- package/dist/{styles-6860f46c-DHqkrPDU-JiuD19BB.js → styles-b83b31c9-R9NNyYA0-DnoGi25s.js} +29 -29
- package/dist/{svgDrawCommon-0ee1b4e9-rbw7BPwi-Boin581S.js → svgDrawCommon-5e1cfd1d-DeHC_PTd-44CTrnyq.js} +5 -5
- package/dist/{timeline-definition-d977decf-CtlVf6FF-BqqlH53Y.js → timeline-definition-bf702344-BzpRV6Z8-DHqazJ7N.js} +2 -2
- package/dist/{xychartDiagram-e50adddc-B9qgoJob-CqAKcFLo.js → xychartDiagram-f11f50a6-BMDfQSWf-CixUys_w.js} +40 -40
- package/package.json +6 -6
- package/dist/arc-TomPQHIy-B0wkvDWU.js +0 -86
- package/dist/gitGraphDiagram-b9d81de9-DhOfBQfl-BvCcUYjg.js +0 -1262
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as R, c as w, d as F,
|
|
2
|
-
import { U as nt } from "./createText-
|
|
3
|
-
import { P as ot } from "./line-
|
|
1
|
+
import { p as R, c as w, d as F, an as G, h as _, l as f, z as N, ao as lt } from "./index-Dz46e5bv.js";
|
|
2
|
+
import { U as nt } from "./createText-ca0c5216-DGjoI7Oz-8Az9WSXK.js";
|
|
3
|
+
import { P as ot } from "./line-CwSAou3c-dgS2jcU_.js";
|
|
4
4
|
const dt = (e, t, a, s) => {
|
|
5
5
|
t.forEach((l) => {
|
|
6
6
|
bt[l](e, a, s);
|
|
@@ -49,8 +49,9 @@ const Lt = (e, t, a, s) => {
|
|
|
49
49
|
l = l.replace(/\\n|\n/g, "<br />"), f.debug("vertexText" + l);
|
|
50
50
|
const r = {
|
|
51
51
|
isNode: s,
|
|
52
|
-
label:
|
|
52
|
+
label: G(l).replace(
|
|
53
53
|
/fa[blrs]?:fa-[\w-]+/g,
|
|
54
|
+
// cspell: disable-line
|
|
54
55
|
(n) => `<i class='${n.replace(":", " ")}'></i>`
|
|
55
56
|
),
|
|
56
57
|
labelStyle: t.replace("fill:", "color:")
|
|
@@ -76,13 +77,13 @@ const Lt = (e, t, a, s) => {
|
|
|
76
77
|
t.labelText === void 0 ? o = "" : o = typeof t.labelText == "string" ? t.labelText : t.labelText[0];
|
|
77
78
|
const h = i.node();
|
|
78
79
|
let d;
|
|
79
|
-
t.labelType === "markdown" ? d = nt(i, F(
|
|
80
|
+
t.labelType === "markdown" ? d = nt(i, F(G(o), w()), {
|
|
80
81
|
useHtmlLabels: r,
|
|
81
82
|
width: t.width || w().flowchart.wrappingWidth,
|
|
82
83
|
classes: "markdown-node-label"
|
|
83
84
|
}) : d = h.appendChild(
|
|
84
85
|
P(
|
|
85
|
-
F(
|
|
86
|
+
F(G(o), w()),
|
|
86
87
|
t.labelStyle,
|
|
87
88
|
!1,
|
|
88
89
|
s
|
|
@@ -502,7 +503,7 @@ const Bt = (e, t) => {
|
|
|
502
503
|
), r = a.insert("rect", ":first-child"), n = t.positioned ? t.width : s.width + t.padding, i = t.positioned ? t.height : s.height + t.padding, o = t.positioned ? -n / 2 : -s.width / 2 - l, h = t.positioned ? -i / 2 : -s.height / 2 - l;
|
|
503
504
|
if (r.attr("class", "basic label-container").attr("style", t.style).attr("rx", t.rx).attr("ry", t.ry).attr("x", o).attr("y", h).attr("width", n).attr("height", i), t.props) {
|
|
504
505
|
const d = new Set(Object.keys(t.props));
|
|
505
|
-
t.props.borders && (
|
|
506
|
+
t.props.borders && (q(r, t.props.borders, n, i), d.delete("borders")), d.forEach((c) => {
|
|
506
507
|
f.warn(`Unknown node property ${c}`);
|
|
507
508
|
});
|
|
508
509
|
}
|
|
@@ -518,20 +519,20 @@ const Bt = (e, t) => {
|
|
|
518
519
|
), r = a.insert("rect", ":first-child"), n = t.positioned ? t.width : s.width + t.padding, i = t.positioned ? t.height : s.height + t.padding, o = t.positioned ? -n / 2 : -s.width / 2 - l, h = t.positioned ? -i / 2 : -s.height / 2 - l;
|
|
519
520
|
if (r.attr("class", "basic cluster composite label-container").attr("style", t.style).attr("rx", t.rx).attr("ry", t.ry).attr("x", o).attr("y", h).attr("width", n).attr("height", i), t.props) {
|
|
520
521
|
const d = new Set(Object.keys(t.props));
|
|
521
|
-
t.props.borders && (
|
|
522
|
+
t.props.borders && (q(r, t.props.borders, n, i), d.delete("borders")), d.forEach((c) => {
|
|
522
523
|
f.warn(`Unknown node property ${c}`);
|
|
523
524
|
});
|
|
524
525
|
}
|
|
525
526
|
return m(t, r), t.intersect = function(d) {
|
|
526
527
|
return b.rect(t, d);
|
|
527
528
|
}, a;
|
|
528
|
-
},
|
|
529
|
+
}, zt = async (e, t) => {
|
|
529
530
|
const { shapeSvg: a } = await M(e, t, "label", !0);
|
|
530
531
|
f.trace("Classes = ", t.class);
|
|
531
532
|
const s = a.insert("rect", ":first-child"), l = 0, r = 0;
|
|
532
533
|
if (s.attr("width", l).attr("height", r), a.attr("class", "label edgeLabel"), t.props) {
|
|
533
534
|
const n = new Set(Object.keys(t.props));
|
|
534
|
-
t.props.borders && (
|
|
535
|
+
t.props.borders && (q(s, t.props.borders, l, r), n.delete("borders")), n.forEach((i) => {
|
|
535
536
|
f.warn(`Unknown node property ${i}`);
|
|
536
537
|
});
|
|
537
538
|
}
|
|
@@ -539,7 +540,7 @@ const Bt = (e, t) => {
|
|
|
539
540
|
return b.rect(t, n);
|
|
540
541
|
}, a;
|
|
541
542
|
};
|
|
542
|
-
function
|
|
543
|
+
function q(e, t, a, s) {
|
|
543
544
|
const l = [], r = (i) => {
|
|
544
545
|
l.push(i, 0);
|
|
545
546
|
}, n = (i) => {
|
|
@@ -547,7 +548,7 @@ function G(e, t, a, s) {
|
|
|
547
548
|
};
|
|
548
549
|
t.includes("t") ? (f.debug("add top border"), r(a)) : n(a), t.includes("r") ? (f.debug("add right border"), r(s)) : n(s), t.includes("b") ? (f.debug("add bottom border"), r(a)) : n(a), t.includes("l") ? (f.debug("add left border"), r(s)) : n(s), e.attr("stroke-dasharray", l.join(" "));
|
|
549
550
|
}
|
|
550
|
-
const
|
|
551
|
+
const Zt = (e, t) => {
|
|
551
552
|
let a;
|
|
552
553
|
t.classes ? a = "node " + t.classes : a = "node default";
|
|
553
554
|
const s = e.insert("g").attr("class", a).attr("id", t.domId || t.id), l = s.insert("rect", ":first-child"), r = s.insert("line"), n = s.insert("g").attr("class", "label"), i = t.labelText.flat ? t.labelText.flat() : t.labelText;
|
|
@@ -584,7 +585,7 @@ const zt = (e, t) => {
|
|
|
584
585
|
), l.attr("class", "outer title-state").attr("x", -d.width / 2 - x).attr("y", -d.height / 2 - x).attr("width", d.width + t.padding).attr("height", d.height + t.padding), r.attr("class", "divider").attr("x1", -d.width / 2 - x).attr("x2", d.width / 2 + x).attr("y1", -d.height / 2 - x + p.height + x).attr("y2", -d.height / 2 - x + p.height + x), m(t, l), t.intersect = function(k) {
|
|
585
586
|
return b.rect(t, k);
|
|
586
587
|
}, s;
|
|
587
|
-
},
|
|
588
|
+
}, Gt = async (e, t) => {
|
|
588
589
|
const { shapeSvg: a, bbox: s } = await M(
|
|
589
590
|
e,
|
|
590
591
|
t,
|
|
@@ -594,7 +595,7 @@ const zt = (e, t) => {
|
|
|
594
595
|
return m(t, n), t.intersect = function(i) {
|
|
595
596
|
return b.rect(t, i);
|
|
596
597
|
}, a;
|
|
597
|
-
},
|
|
598
|
+
}, qt = async (e, t) => {
|
|
598
599
|
const { shapeSvg: a, bbox: s, halfPadding: l } = await M(
|
|
599
600
|
e,
|
|
600
601
|
t,
|
|
@@ -693,8 +694,8 @@ const zt = (e, t) => {
|
|
|
693
694
|
);
|
|
694
695
|
let $ = X.getBBox();
|
|
695
696
|
if (R(w().flowchart.htmlLabels)) {
|
|
696
|
-
const
|
|
697
|
-
$ =
|
|
697
|
+
const Z = X.children[0], H = _(X);
|
|
698
|
+
$ = Z.getBoundingClientRect(), H.attr("width", $.width), H.attr("height", $.height);
|
|
698
699
|
}
|
|
699
700
|
$.width > d && (d = $.width), c += $.height + s, Y.push(X);
|
|
700
701
|
}), c += l;
|
|
@@ -713,8 +714,8 @@ const zt = (e, t) => {
|
|
|
713
714
|
);
|
|
714
715
|
let $ = X.getBBox();
|
|
715
716
|
if (R(w().flowchart.htmlLabels)) {
|
|
716
|
-
const
|
|
717
|
-
$ =
|
|
717
|
+
const Z = X.children[0], H = _(X);
|
|
718
|
+
$ = Z.getBoundingClientRect(), H.attr("width", $.width), H.attr("height", $.height);
|
|
718
719
|
}
|
|
719
720
|
$.width > d && (d = $.width), c += $.height + s, V.push(X);
|
|
720
721
|
}), c += l, x) {
|
|
@@ -750,12 +751,12 @@ const zt = (e, t) => {
|
|
|
750
751
|
composite: At,
|
|
751
752
|
question: K,
|
|
752
753
|
rect: jt,
|
|
753
|
-
labelRect:
|
|
754
|
-
rectWithTitle:
|
|
754
|
+
labelRect: zt,
|
|
755
|
+
rectWithTitle: Zt,
|
|
755
756
|
choice: Rt,
|
|
756
|
-
circle:
|
|
757
|
+
circle: qt,
|
|
757
758
|
doublecircle: Vt,
|
|
758
|
-
stadium:
|
|
759
|
+
stadium: Gt,
|
|
759
760
|
hexagon: Wt,
|
|
760
761
|
block_arrow: Xt,
|
|
761
762
|
rect_left_inv_arrow: Yt,
|
|
@@ -874,9 +875,9 @@ const A = (e) => Array.isArray(e) ? { x: e[0], y: e[1] } : e, rr = (e) => ({
|
|
|
874
875
|
const i = t === "start" ? "Start" : "End";
|
|
875
876
|
e.attr(`marker-${t}`, `url(${s}#${l}_${r}-${n}${i})`);
|
|
876
877
|
};
|
|
877
|
-
let
|
|
878
|
+
let z = {}, T = {};
|
|
878
879
|
const gr = () => {
|
|
879
|
-
|
|
880
|
+
z = {}, T = {};
|
|
880
881
|
}, xr = (e, t) => {
|
|
881
882
|
const a = R(w().flowchart.htmlLabels), s = t.labelType === "markdown" ? nt(e, t.label, {
|
|
882
883
|
style: t.labelStyle,
|
|
@@ -889,7 +890,7 @@ const gr = () => {
|
|
|
889
890
|
const o = s.children[0], h = _(s);
|
|
890
891
|
n = o.getBoundingClientRect(), h.attr("width", n.width), h.attr("height", n.height);
|
|
891
892
|
}
|
|
892
|
-
r.attr("transform", "translate(" + -n.width / 2 + ", " + -n.height / 2 + ")"),
|
|
893
|
+
r.attr("transform", "translate(" + -n.width / 2 + ", " + -n.height / 2 + ")"), z[t.id] = l, t.width = n.width, t.height = n.height;
|
|
893
894
|
let i;
|
|
894
895
|
if (t.startLabelLeft) {
|
|
895
896
|
const o = P(t.startLabelLeft, t.labelStyle), h = e.insert("g").attr("class", "edgeTerminals"), d = h.insert("g").attr("class", "inner");
|
|
@@ -921,11 +922,11 @@ function j(e, t) {
|
|
|
921
922
|
w().flowchart.htmlLabels && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
|
|
922
923
|
}
|
|
923
924
|
const fr = (e, t) => {
|
|
924
|
-
f.debug("Moving label abc88 ", e.id, e.label,
|
|
925
|
+
f.debug("Moving label abc88 ", e.id, e.label, z[e.id], t);
|
|
925
926
|
let a = t.updatedPath ? t.updatedPath : t.originalPath;
|
|
926
927
|
const s = w(), { subGraphTitleTotalMargin: l } = tr(s);
|
|
927
928
|
if (e.label) {
|
|
928
|
-
const r =
|
|
929
|
+
const r = z[e.id];
|
|
929
930
|
let n = e.x, i = e.y;
|
|
930
931
|
if (a) {
|
|
931
932
|
const o = N.calcLabelPosition(a);
|
package/dist/{erDiagram-0ea73325-E3jchkiK-CfTqZxm6.js → erDiagram-09d1c15f-Ctl-zT4O-B9E7LRcs.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as Z, s as ft, g as mt, b as Et, a as gt,
|
|
2
|
-
import { Y as At } from "./graph-
|
|
3
|
-
import { O as Mt } from "./layout-
|
|
4
|
-
import { P as It } from "./line-
|
|
5
|
-
const
|
|
6
|
-
function
|
|
7
|
-
return typeof t == "string" &&
|
|
1
|
+
import { c as Z, s as ft, g as mt, b as Et, a as gt, x as bt, y as kt, l as G, A as Ot, h as et, z as Rt, i as Nt, ao as xt, ar as Tt } from "./index-Dz46e5bv.js";
|
|
2
|
+
import { Y as At } from "./graph-BN58fiEq-CyCz6HB3.js";
|
|
3
|
+
import { O as Mt } from "./layout-DU4VNk5y-DEbr0_Pk.js";
|
|
4
|
+
import { P as It } from "./line-CwSAou3c-dgS2jcU_.js";
|
|
5
|
+
const St = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
6
|
+
function vt(t) {
|
|
7
|
+
return typeof t == "string" && St.test(t);
|
|
8
8
|
}
|
|
9
9
|
const T = [];
|
|
10
10
|
for (let t = 0; t < 256; ++t)
|
|
@@ -13,7 +13,7 @@ function $t(t, e = 0) {
|
|
|
13
13
|
return T[t[e + 0]] + T[t[e + 1]] + T[t[e + 2]] + T[t[e + 3]] + "-" + T[t[e + 4]] + T[t[e + 5]] + "-" + T[t[e + 6]] + T[t[e + 7]] + "-" + T[t[e + 8]] + T[t[e + 9]] + "-" + T[t[e + 10]] + T[t[e + 11]] + T[t[e + 12]] + T[t[e + 13]] + T[t[e + 14]] + T[t[e + 15]];
|
|
14
14
|
}
|
|
15
15
|
function Lt(t) {
|
|
16
|
-
if (!
|
|
16
|
+
if (!vt(t))
|
|
17
17
|
throw TypeError("Invalid UUID");
|
|
18
18
|
let e;
|
|
19
19
|
const r = new Uint8Array(16);
|
|
@@ -69,8 +69,7 @@ function Zt(t) {
|
|
|
69
69
|
t = [];
|
|
70
70
|
for (let c = 0; c < h.length; ++c)
|
|
71
71
|
t.push(h.charCodeAt(c));
|
|
72
|
-
} else
|
|
73
|
-
Array.isArray(t) || (t = Array.prototype.slice.call(t));
|
|
72
|
+
} else Array.isArray(t) || (t = Array.prototype.slice.call(t));
|
|
74
73
|
t.push(128);
|
|
75
74
|
const u = t.length / 4 + 2, l = Math.ceil(u / 16), p = new Array(l);
|
|
76
75
|
for (let h = 0; h < l; ++h) {
|
|
@@ -88,7 +87,7 @@ function Zt(t) {
|
|
|
88
87
|
c[_] = rt(c[_ - 3] ^ c[_ - 8] ^ c[_ - 14] ^ c[_ - 16], 1);
|
|
89
88
|
let d = r[0], f = r[1], m = r[2], E = r[3], g = r[4];
|
|
90
89
|
for (let _ = 0; _ < 80; ++_) {
|
|
91
|
-
const
|
|
90
|
+
const S = Math.floor(_ / 20), w = rt(d, 5) + Yt(S, f, m, E) + g + e[S] + c[_] >>> 0;
|
|
92
91
|
g = E, E = m, m = rt(f, 30) >>> 0, f = d, d = w;
|
|
93
92
|
}
|
|
94
93
|
r[0] = r[0] + d >>> 0, r[1] = r[1] + f >>> 0, r[2] = r[2] + m >>> 0, r[3] = r[3] + E >>> 0, r[4] = r[4] + g >>> 0;
|
|
@@ -101,7 +100,7 @@ var at = function() {
|
|
|
101
100
|
for (o = o || {}, n = A.length; n--; o[A[n]] = i)
|
|
102
101
|
;
|
|
103
102
|
return o;
|
|
104
|
-
}, e = [6, 8, 10, 20, 22, 24, 26, 27, 28], r = [1, 10], u = [1, 11], l = [1, 12], p = [1, 13], h = [1, 14], c = [1, 15], d = [1, 21], f = [1, 22], m = [1, 23], E = [1, 24], g = [1, 25], _ = [6, 8, 10, 13, 15, 18, 19, 20, 22, 24, 26, 27, 28, 41, 42, 43, 44, 45],
|
|
103
|
+
}, e = [6, 8, 10, 20, 22, 24, 26, 27, 28], r = [1, 10], u = [1, 11], l = [1, 12], p = [1, 13], h = [1, 14], c = [1, 15], d = [1, 21], f = [1, 22], m = [1, 23], E = [1, 24], g = [1, 25], _ = [6, 8, 10, 13, 15, 18, 19, 20, 22, 24, 26, 27, 28, 41, 42, 43, 44, 45], S = [1, 34], w = [27, 28, 46, 47], P = [41, 42, 43, 44, 45], F = [17, 34], B = [1, 54], N = [1, 53], M = [17, 34, 36, 38], k = {
|
|
105
104
|
trace: function() {
|
|
106
105
|
},
|
|
107
106
|
yy: {},
|
|
@@ -221,7 +220,7 @@ var at = function() {
|
|
|
221
220
|
break;
|
|
222
221
|
}
|
|
223
222
|
},
|
|
224
|
-
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 20: r, 22: u, 24: l, 26: p, 27: h, 28: c }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 16, 11: 9, 20: r, 22: u, 24: l, 26: p, 27: h, 28: c }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 11], { 12: 17, 39: 20, 15: [1, 18], 18: [1, 19], 41: d, 42: f, 43: m, 44: E, 45: g }), { 21: [1, 26] }, { 23: [1, 27] }, { 25: [1, 28] }, t(e, [2, 18]), t(_, [2, 19]), t(_, [2, 20]), t(e, [2, 4]), { 11: 29, 27: h, 28: c }, { 16: 30, 17: [1, 31], 29: 32, 30: 33, 34:
|
|
223
|
+
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 20: r, 22: u, 24: l, 26: p, 27: h, 28: c }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 16, 11: 9, 20: r, 22: u, 24: l, 26: p, 27: h, 28: c }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 11], { 12: 17, 39: 20, 15: [1, 18], 18: [1, 19], 41: d, 42: f, 43: m, 44: E, 45: g }), { 21: [1, 26] }, { 23: [1, 27] }, { 25: [1, 28] }, t(e, [2, 18]), t(_, [2, 19]), t(_, [2, 20]), t(e, [2, 4]), { 11: 29, 27: h, 28: c }, { 16: 30, 17: [1, 31], 29: 32, 30: 33, 34: S }, { 11: 35, 27: h, 28: c }, { 40: 36, 46: [1, 37], 47: [1, 38] }, t(w, [2, 34]), t(w, [2, 35]), t(w, [2, 36]), t(w, [2, 37]), t(w, [2, 38]), t(e, [2, 15]), t(e, [2, 16]), t(e, [2, 17]), { 13: [1, 39] }, { 17: [1, 40] }, t(e, [2, 10]), { 16: 41, 17: [2, 21], 29: 32, 30: 33, 34: S }, { 31: 42, 34: [1, 43] }, { 34: [2, 27] }, { 19: [1, 44] }, { 39: 45, 41: d, 42: f, 43: m, 44: E, 45: g }, t(P, [2, 39]), t(P, [2, 40]), { 14: 46, 27: [1, 49], 28: [1, 48], 48: [1, 47] }, t(e, [2, 9]), { 17: [2, 22] }, t(F, [2, 23], { 32: 50, 33: 51, 35: 52, 37: B, 38: N }), t([17, 34, 37, 38], [2, 28]), t(e, [2, 14], { 15: [1, 55] }), t([27, 28], [2, 33]), t(e, [2, 8]), t(e, [2, 41]), t(e, [2, 42]), t(e, [2, 43]), t(F, [2, 24], { 33: 56, 36: [1, 57], 38: N }), t(F, [2, 25]), t(M, [2, 29]), t(F, [2, 32]), t(M, [2, 31]), { 16: 58, 17: [1, 59], 29: 32, 30: 33, 34: S }, t(F, [2, 26]), { 35: 60, 37: B }, { 17: [1, 61] }, t(e, [2, 13]), t(M, [2, 30]), t(e, [2, 12])],
|
|
225
224
|
defaultActions: { 34: [2, 27], 41: [2, 22] },
|
|
226
225
|
parseError: function(A, i) {
|
|
227
226
|
if (i.recoverable)
|
|
@@ -232,60 +231,60 @@ var at = function() {
|
|
|
232
231
|
}
|
|
233
232
|
},
|
|
234
233
|
parse: function(A) {
|
|
235
|
-
var i = this, o = [0], n = [], y = [null], a = [], x = this.table, s = "",
|
|
234
|
+
var i = this, o = [0], n = [], y = [null], a = [], x = this.table, s = "", X = 0, nt = 0, ut = 2, st = 1, yt = a.slice.call(arguments, 1), R = Object.create(this.lexer), K = { yy: {} };
|
|
236
235
|
for (var V in this.yy)
|
|
237
|
-
Object.prototype.hasOwnProperty.call(this.yy, V) && (
|
|
238
|
-
R.setInput(A,
|
|
239
|
-
var
|
|
240
|
-
a.push(
|
|
236
|
+
Object.prototype.hasOwnProperty.call(this.yy, V) && (K.yy[V] = this.yy[V]);
|
|
237
|
+
R.setInput(A, K.yy), K.yy.lexer = R, K.yy.parser = this, typeof R.yylloc > "u" && (R.yylloc = {});
|
|
238
|
+
var J = R.yylloc;
|
|
239
|
+
a.push(J);
|
|
241
240
|
var pt = R.options && R.options.ranges;
|
|
242
|
-
typeof
|
|
241
|
+
typeof K.yy.parseError == "function" ? this.parseError = K.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
243
242
|
function _t() {
|
|
244
243
|
var Y;
|
|
245
244
|
return Y = n.pop() || R.lex() || st, typeof Y != "number" && (Y instanceof Array && (n = Y, Y = n.pop()), Y = i.symbols_[Y] || Y), Y;
|
|
246
245
|
}
|
|
247
|
-
for (var I,
|
|
248
|
-
if (
|
|
246
|
+
for (var I, U, v, q, z = {}, H, C, ot, j; ; ) {
|
|
247
|
+
if (U = o[o.length - 1], this.defaultActions[U] ? v = this.defaultActions[U] : ((I === null || typeof I > "u") && (I = _t()), v = x[U] && x[U][I]), typeof v > "u" || !v.length || !v[0]) {
|
|
249
248
|
var tt = "";
|
|
250
249
|
j = [];
|
|
251
|
-
for (H in x[
|
|
250
|
+
for (H in x[U])
|
|
252
251
|
this.terminals_[H] && H > ut && j.push("'" + this.terminals_[H] + "'");
|
|
253
|
-
R.showPosition ? tt = "Parse error on line " + (
|
|
252
|
+
R.showPosition ? tt = "Parse error on line " + (X + 1) + `:
|
|
254
253
|
` + R.showPosition() + `
|
|
255
|
-
Expecting ` + j.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : tt = "Parse error on line " + (
|
|
254
|
+
Expecting ` + j.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : tt = "Parse error on line " + (X + 1) + ": Unexpected " + (I == st ? "end of input" : "'" + (this.terminals_[I] || I) + "'"), this.parseError(tt, {
|
|
256
255
|
text: R.match,
|
|
257
256
|
token: this.terminals_[I] || I,
|
|
258
257
|
line: R.yylineno,
|
|
259
|
-
loc:
|
|
258
|
+
loc: J,
|
|
260
259
|
expected: j
|
|
261
260
|
});
|
|
262
261
|
}
|
|
263
|
-
if (
|
|
264
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
265
|
-
switch (
|
|
262
|
+
if (v[0] instanceof Array && v.length > 1)
|
|
263
|
+
throw new Error("Parse Error: multiple actions possible at state: " + U + ", token: " + I);
|
|
264
|
+
switch (v[0]) {
|
|
266
265
|
case 1:
|
|
267
|
-
o.push(I), y.push(R.yytext), a.push(R.yylloc), o.push(
|
|
266
|
+
o.push(I), y.push(R.yytext), a.push(R.yylloc), o.push(v[1]), I = null, nt = R.yyleng, s = R.yytext, X = R.yylineno, J = R.yylloc;
|
|
268
267
|
break;
|
|
269
268
|
case 2:
|
|
270
|
-
if (C = this.productions_[
|
|
269
|
+
if (C = this.productions_[v[1]][1], z.$ = y[y.length - C], z._$ = {
|
|
271
270
|
first_line: a[a.length - (C || 1)].first_line,
|
|
272
271
|
last_line: a[a.length - 1].last_line,
|
|
273
272
|
first_column: a[a.length - (C || 1)].first_column,
|
|
274
273
|
last_column: a[a.length - 1].last_column
|
|
275
|
-
}, pt && (
|
|
274
|
+
}, pt && (z._$.range = [
|
|
276
275
|
a[a.length - (C || 1)].range[0],
|
|
277
276
|
a[a.length - 1].range[1]
|
|
278
|
-
]),
|
|
277
|
+
]), q = this.performAction.apply(z, [
|
|
279
278
|
s,
|
|
280
279
|
nt,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
280
|
+
X,
|
|
281
|
+
K.yy,
|
|
282
|
+
v[1],
|
|
284
283
|
y,
|
|
285
284
|
a
|
|
286
|
-
].concat(yt)), typeof
|
|
287
|
-
return
|
|
288
|
-
C && (o = o.slice(0, -1 * C * 2), y = y.slice(0, -1 * C), a = a.slice(0, -1 * C)), o.push(this.productions_[
|
|
285
|
+
].concat(yt)), typeof q < "u")
|
|
286
|
+
return q;
|
|
287
|
+
C && (o = o.slice(0, -1 * C * 2), y = y.slice(0, -1 * C), a = a.slice(0, -1 * C)), o.push(this.productions_[v[1]][0]), y.push(z.$), a.push(z._$), ot = x[o[o.length - 2]][o[o.length - 1]], o.push(ot);
|
|
289
288
|
break;
|
|
290
289
|
case 3:
|
|
291
290
|
return !0;
|
|
@@ -594,42 +593,42 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : tt =
|
|
|
594
593
|
}();
|
|
595
594
|
at.parser = at;
|
|
596
595
|
const Ft = at;
|
|
597
|
-
let
|
|
598
|
-
const
|
|
596
|
+
let W = {}, it = [];
|
|
597
|
+
const Wt = {
|
|
599
598
|
ZERO_OR_ONE: "ZERO_OR_ONE",
|
|
600
599
|
ZERO_OR_MORE: "ZERO_OR_MORE",
|
|
601
600
|
ONE_OR_MORE: "ONE_OR_MORE",
|
|
602
601
|
ONLY_ONE: "ONLY_ONE",
|
|
603
602
|
MD_PARENT: "MD_PARENT"
|
|
604
|
-
},
|
|
603
|
+
}, Kt = {
|
|
605
604
|
NON_IDENTIFYING: "NON_IDENTIFYING",
|
|
606
605
|
IDENTIFYING: "IDENTIFYING"
|
|
607
606
|
}, ht = function(t, e = void 0) {
|
|
608
|
-
return
|
|
609
|
-
},
|
|
607
|
+
return W[t] === void 0 ? (W[t] = { attributes: [], alias: e }, G.info("Added new entity :", t)) : W[t] && !W[t].alias && e && (W[t].alias = e, G.info(`Add alias '${e}' to entity '${t}'`)), W[t];
|
|
608
|
+
}, Ut = () => W, zt = function(t, e) {
|
|
610
609
|
let r = ht(t), u;
|
|
611
610
|
for (u = e.length - 1; u >= 0; u--)
|
|
612
|
-
r.attributes.push(e[u]),
|
|
613
|
-
},
|
|
611
|
+
r.attributes.push(e[u]), G.debug("Added attribute ", e[u].attributeName);
|
|
612
|
+
}, Gt = function(t, e, r, u) {
|
|
614
613
|
let l = {
|
|
615
614
|
entityA: t,
|
|
616
615
|
roleA: e,
|
|
617
616
|
entityB: r,
|
|
618
617
|
relSpec: u
|
|
619
618
|
};
|
|
620
|
-
it.push(l),
|
|
621
|
-
},
|
|
622
|
-
|
|
619
|
+
it.push(l), G.debug("Added new relationship :", l);
|
|
620
|
+
}, Qt = () => it, Xt = function() {
|
|
621
|
+
W = {}, it = [], Ot();
|
|
623
622
|
}, Ht = {
|
|
624
|
-
Cardinality:
|
|
625
|
-
Identification:
|
|
623
|
+
Cardinality: Wt,
|
|
624
|
+
Identification: Kt,
|
|
626
625
|
getConfig: () => Z().er,
|
|
627
626
|
addEntity: ht,
|
|
628
|
-
addAttributes:
|
|
629
|
-
getEntities:
|
|
630
|
-
addRelationship:
|
|
631
|
-
getRelationships:
|
|
632
|
-
clear:
|
|
627
|
+
addAttributes: zt,
|
|
628
|
+
getEntities: Ut,
|
|
629
|
+
addRelationship: Gt,
|
|
630
|
+
getRelationships: Qt,
|
|
631
|
+
clear: Xt,
|
|
633
632
|
setAccTitle: ft,
|
|
634
633
|
getAccTitle: mt,
|
|
635
634
|
setAccDescription: Et,
|
|
@@ -654,14 +653,14 @@ const zt = {
|
|
|
654
653
|
ERMarkers: L,
|
|
655
654
|
insertMarkers: jt
|
|
656
655
|
}, Vt = /[^\dA-Za-z](\W)*/g;
|
|
657
|
-
let b = {},
|
|
658
|
-
const
|
|
656
|
+
let b = {}, Q = /* @__PURE__ */ new Map();
|
|
657
|
+
const Jt = function(t) {
|
|
659
658
|
const e = Object.keys(t);
|
|
660
659
|
for (const r of e)
|
|
661
660
|
b[r] = t[r];
|
|
662
|
-
},
|
|
661
|
+
}, qt = (t, e, r) => {
|
|
663
662
|
const u = b.entityPadding / 3, l = b.entityPadding / 3, p = b.fontSize * 0.85, h = e.node().getBBox(), c = [];
|
|
664
|
-
let d = !1, f = !1, m = 0, E = 0, g = 0, _ = 0,
|
|
663
|
+
let d = !1, f = !1, m = 0, E = 0, g = 0, _ = 0, S = h.height + u * 2, w = 1;
|
|
665
664
|
r.forEach((N) => {
|
|
666
665
|
N.attributeKeyTypeList !== void 0 && N.attributeKeyTypeList.length > 0 && (d = !0), N.attributeComment !== void 0 && (f = !0);
|
|
667
666
|
}), r.forEach((N) => {
|
|
@@ -682,7 +681,7 @@ const qt = function(t) {
|
|
|
682
681
|
const a = y.node().getBBox();
|
|
683
682
|
_ = Math.max(_, a.width), k = Math.max(k, a.height);
|
|
684
683
|
}
|
|
685
|
-
i.height = k, c.push(i),
|
|
684
|
+
i.height = k, c.push(i), S += k + u * 2, w += 1;
|
|
686
685
|
});
|
|
687
686
|
let P = 4;
|
|
688
687
|
d && (P += 2), f && (P += 2);
|
|
@@ -694,7 +693,7 @@ const qt = function(t) {
|
|
|
694
693
|
F + l * P
|
|
695
694
|
)
|
|
696
695
|
),
|
|
697
|
-
height: r.length > 0 ?
|
|
696
|
+
height: r.length > 0 ? S : Math.max(b.minEntityHeight, h.height + b.entityPadding * 2)
|
|
698
697
|
};
|
|
699
698
|
if (r.length > 0) {
|
|
700
699
|
const N = Math.max(
|
|
@@ -730,17 +729,17 @@ const qt = function(t) {
|
|
|
730
729
|
), t.insert("rect", "#" + O.cn.node().id).classed(`er ${k}`, "true").attr("x", n).attr("y", M).attr("width", _ + l * 2 + N).attr("height", O.height + u * 2)), M += O.height + u * 2, k = k === "attributeBoxOdd" ? "attributeBoxEven" : "attributeBoxOdd";
|
|
731
730
|
});
|
|
732
731
|
} else
|
|
733
|
-
B.height = Math.max(b.minEntityHeight,
|
|
732
|
+
B.height = Math.max(b.minEntityHeight, S), e.attr("transform", "translate(" + B.width / 2 + "," + B.height / 2 + ")");
|
|
734
733
|
return B;
|
|
735
734
|
}, te = function(t, e, r) {
|
|
736
735
|
const u = Object.keys(e);
|
|
737
736
|
let l;
|
|
738
737
|
return u.forEach(function(p) {
|
|
739
738
|
const h = se(p, "entity");
|
|
740
|
-
|
|
739
|
+
Q.set(p, h);
|
|
741
740
|
const c = t.append("g").attr("id", h);
|
|
742
741
|
l = l === void 0 ? h : l;
|
|
743
|
-
const d = "text-" + h, f = c.append("text").classed("er entityLabel", !0).attr("id", d).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", Z().fontFamily).style("font-size", b.fontSize + "px").text(e[p].alias ?? p), { width: m, height: E } =
|
|
742
|
+
const d = "text-" + h, f = c.append("text").classed("er entityLabel", !0).attr("id", d).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", Z().fontFamily).style("font-size", b.fontSize + "px").text(e[p].alias ?? p), { width: m, height: E } = qt(
|
|
744
743
|
c,
|
|
745
744
|
f,
|
|
746
745
|
e[p].attributes
|
|
@@ -764,8 +763,8 @@ const qt = function(t) {
|
|
|
764
763
|
}, re = function(t, e) {
|
|
765
764
|
return t.forEach(function(r) {
|
|
766
765
|
e.setEdge(
|
|
767
|
-
|
|
768
|
-
|
|
766
|
+
Q.get(r.entityA),
|
|
767
|
+
Q.get(r.entityB),
|
|
769
768
|
{ relationship: r },
|
|
770
769
|
dt(r)
|
|
771
770
|
);
|
|
@@ -775,8 +774,8 @@ let ct = 0;
|
|
|
775
774
|
const ae = function(t, e, r, u, l) {
|
|
776
775
|
ct++;
|
|
777
776
|
const p = r.edge(
|
|
778
|
-
|
|
779
|
-
|
|
777
|
+
Q.get(e.entityA),
|
|
778
|
+
Q.get(e.entityB),
|
|
780
779
|
dt(e)
|
|
781
780
|
), h = It().x(function(_) {
|
|
782
781
|
return _.x;
|
|
@@ -831,7 +830,7 @@ const ae = function(t, e, r, u, l) {
|
|
|
831
830
|
const f = c.node().getTotalLength(), m = c.node().getPointAtLength(f * 0.5), E = "rel" + ct, g = t.append("text").classed("er relationshipLabel", !0).attr("id", E).attr("x", m.x).attr("y", m.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", Z().fontFamily).style("font-size", b.fontSize + "px").text(e.roleA).node().getBBox();
|
|
832
831
|
t.insert("rect", "#" + E).classed("er relationshipLabelBox", !0).attr("x", m.x - g.width / 2).attr("y", m.y - g.height / 2).attr("width", g.width).attr("height", g.height);
|
|
833
832
|
}, ie = function(t, e, r, u) {
|
|
834
|
-
b = Z().er,
|
|
833
|
+
b = Z().er, G.info("Drawing ER diagram");
|
|
835
834
|
const l = Z().securityLevel;
|
|
836
835
|
let p;
|
|
837
836
|
l === "sandbox" && (p = et("#i" + e));
|
|
@@ -853,8 +852,8 @@ const ae = function(t, e, r, u, l) {
|
|
|
853
852
|
return {};
|
|
854
853
|
});
|
|
855
854
|
const d = te(h, u.db.getEntities(), c), f = re(u.db.getRelationships(), c);
|
|
856
|
-
Mt(c), ee(h, c), f.forEach(function(
|
|
857
|
-
ae(h,
|
|
855
|
+
Mt(c), ee(h, c), f.forEach(function(S) {
|
|
856
|
+
ae(h, S, c, d, u);
|
|
858
857
|
});
|
|
859
858
|
const m = b.diagramPadding;
|
|
860
859
|
Rt.insertTitle(h, "entityTitleText", b.titleTopMargin, u.db.getDiagramTitle());
|
|
@@ -872,7 +871,7 @@ function lt(t = "") {
|
|
|
872
871
|
return t.length > 0 ? `${t}-` : "";
|
|
873
872
|
}
|
|
874
873
|
const oe = {
|
|
875
|
-
setConf:
|
|
874
|
+
setConf: Jt,
|
|
876
875
|
draw: ie
|
|
877
876
|
}, ce = (t) => `
|
|
878
877
|
.entityBox {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ee,
|
|
1
|
+
import { c as ee, v as Bt, s as mt, g as xt, a as vt, b as Lt, x as $t, y as It, l as Z1, z as de, A as Rt, j as Nt, h as R1 } from "./index-Dz46e5bv.js";
|
|
2
2
|
var pe = function() {
|
|
3
3
|
var t = function(j, a, o, n) {
|
|
4
4
|
for (o = o || {}, n = j.length; n--; o[j[n]] = a)
|
|
@@ -8,7 +8,7 @@ var pe = function() {
|
|
|
8
8
|
trace: function() {
|
|
9
9
|
},
|
|
10
10
|
yy: {},
|
|
11
|
-
symbols_: { error: 2, start: 3, graphConfig: 4, document: 5, line: 6, statement: 7, SEMI: 8, NEWLINE: 9, SPACE: 10, EOF: 11, GRAPH: 12, NODIR: 13, DIR: 14,
|
|
11
|
+
symbols_: { error: 2, start: 3, graphConfig: 4, document: 5, line: 6, statement: 7, SEMI: 8, NEWLINE: 9, SPACE: 10, EOF: 11, GRAPH: 12, NODIR: 13, DIR: 14, FirstStmtSeparator: 15, ending: 16, endToken: 17, spaceList: 18, spaceListNewline: 19, vertexStatement: 20, separator: 21, styleStatement: 22, linkStyleStatement: 23, classDefStatement: 24, classStatement: 25, clickStatement: 26, subgraph: 27, textNoTags: 28, SQS: 29, text: 30, SQE: 31, end: 32, direction: 33, acc_title: 34, acc_title_value: 35, acc_descr: 36, acc_descr_value: 37, acc_descr_multiline_value: 38, link: 39, node: 40, styledVertex: 41, AMP: 42, vertex: 43, STYLE_SEPARATOR: 44, idString: 45, DOUBLECIRCLESTART: 46, DOUBLECIRCLEEND: 47, PS: 48, PE: 49, "(-": 50, "-)": 51, STADIUMSTART: 52, STADIUMEND: 53, SUBROUTINESTART: 54, SUBROUTINEEND: 55, VERTEX_WITH_PROPS_START: 56, "NODE_STRING[field]": 57, COLON: 58, "NODE_STRING[value]": 59, PIPE: 60, CYLINDERSTART: 61, CYLINDEREND: 62, DIAMOND_START: 63, DIAMOND_STOP: 64, TAGEND: 65, TRAPSTART: 66, TRAPEND: 67, INVTRAPSTART: 68, INVTRAPEND: 69, linkStatement: 70, arrowText: 71, TESTSTR: 72, START_LINK: 73, edgeText: 74, LINK: 75, edgeTextToken: 76, STR: 77, MD_STR: 78, textToken: 79, keywords: 80, STYLE: 81, LINKSTYLE: 82, CLASSDEF: 83, CLASS: 84, CLICK: 85, DOWN: 86, UP: 87, textNoTagsToken: 88, stylesOpt: 89, "idString[vertex]": 90, "idString[class]": 91, CALLBACKNAME: 92, CALLBACKARGS: 93, HREF: 94, LINK_TARGET: 95, "STR[link]": 96, "STR[tooltip]": 97, alphaNum: 98, DEFAULT: 99, numList: 100, INTERPOLATE: 101, NUM: 102, COMMA: 103, style: 104, styleComponent: 105, NODE_STRING: 106, UNIT: 107, BRKT: 108, PCT: 109, idStringToken: 110, MINUS: 111, MULT: 112, UNICODE_TEXT: 113, TEXT: 114, TAGSTART: 115, EDGE_TEXT: 116, alphaNumToken: 117, direction_tb: 118, direction_bt: 119, direction_rl: 120, direction_lr: 121, $accept: 0, $end: 1 },
|
|
12
12
|
terminals_: { 2: "error", 8: "SEMI", 9: "NEWLINE", 10: "SPACE", 11: "EOF", 12: "GRAPH", 13: "NODIR", 14: "DIR", 27: "subgraph", 29: "SQS", 31: "SQE", 32: "end", 34: "acc_title", 35: "acc_title_value", 36: "acc_descr", 37: "acc_descr_value", 38: "acc_descr_multiline_value", 42: "AMP", 44: "STYLE_SEPARATOR", 46: "DOUBLECIRCLESTART", 47: "DOUBLECIRCLEEND", 48: "PS", 49: "PE", 50: "(-", 51: "-)", 52: "STADIUMSTART", 53: "STADIUMEND", 54: "SUBROUTINESTART", 55: "SUBROUTINEEND", 56: "VERTEX_WITH_PROPS_START", 57: "NODE_STRING[field]", 58: "COLON", 59: "NODE_STRING[value]", 60: "PIPE", 61: "CYLINDERSTART", 62: "CYLINDEREND", 63: "DIAMOND_START", 64: "DIAMOND_STOP", 65: "TAGEND", 66: "TRAPSTART", 67: "TRAPEND", 68: "INVTRAPSTART", 69: "INVTRAPEND", 72: "TESTSTR", 73: "START_LINK", 75: "LINK", 77: "STR", 78: "MD_STR", 81: "STYLE", 82: "LINKSTYLE", 83: "CLASSDEF", 84: "CLASS", 85: "CLICK", 86: "DOWN", 87: "UP", 90: "idString[vertex]", 91: "idString[class]", 92: "CALLBACKNAME", 93: "CALLBACKARGS", 94: "HREF", 95: "LINK_TARGET", 96: "STR[link]", 97: "STR[tooltip]", 99: "DEFAULT", 101: "INTERPOLATE", 102: "NUM", 103: "COMMA", 106: "NODE_STRING", 107: "UNIT", 108: "BRKT", 109: "PCT", 111: "MINUS", 112: "MULT", 113: "UNICODE_TEXT", 114: "TEXT", 115: "TAGSTART", 116: "EDGE_TEXT", 118: "direction_tb", 119: "direction_bt", 120: "direction_rl", 121: "direction_lr" },
|
|
13
13
|
productions_: [0, [3, 2], [5, 0], [5, 2], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [4, 2], [4, 2], [4, 2], [4, 3], [16, 2], [16, 1], [17, 1], [17, 1], [17, 1], [15, 1], [15, 1], [15, 2], [19, 2], [19, 2], [19, 1], [19, 1], [18, 2], [18, 1], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 9], [7, 6], [7, 4], [7, 1], [7, 2], [7, 2], [7, 1], [21, 1], [21, 1], [21, 1], [20, 3], [20, 4], [20, 2], [20, 1], [40, 1], [40, 5], [41, 1], [41, 3], [43, 4], [43, 4], [43, 6], [43, 4], [43, 4], [43, 4], [43, 8], [43, 4], [43, 4], [43, 4], [43, 6], [43, 4], [43, 4], [43, 4], [43, 4], [43, 4], [43, 1], [39, 2], [39, 3], [39, 3], [39, 1], [39, 3], [74, 1], [74, 2], [74, 1], [74, 1], [70, 1], [71, 3], [30, 1], [30, 2], [30, 1], [30, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [28, 1], [28, 2], [28, 1], [28, 1], [24, 5], [25, 5], [26, 2], [26, 4], [26, 3], [26, 5], [26, 3], [26, 5], [26, 5], [26, 7], [26, 2], [26, 4], [26, 2], [26, 4], [26, 4], [26, 6], [22, 5], [23, 5], [23, 5], [23, 9], [23, 9], [23, 7], [23, 7], [100, 1], [100, 3], [89, 1], [89, 3], [104, 1], [104, 2], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [79, 1], [79, 1], [79, 1], [79, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [76, 1], [76, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [45, 1], [45, 2], [98, 1], [98, 2], [33, 1], [33, 1], [33, 1], [33, 1]],
|
|
14
14
|
performAction: function(j, a, o, n, g, e, U) {
|
|
@@ -812,8 +812,8 @@ const ue = (t) => Nt.sanitizeText(t, L1), O1 = function(t) {
|
|
|
812
812
|
throw new Error(
|
|
813
813
|
`Edge limit exceeded. ${z.length} edges found, but the limit is ${L1.maxEdges}.
|
|
814
814
|
|
|
815
|
-
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
816
|
-
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
815
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
816
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
817
817
|
You have to call mermaid.initialize.`
|
|
818
818
|
);
|
|
819
819
|
}, We = function(t, r, i) {
|