bg-editor 0.0.1

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 (67) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +51 -0
  3. package/README.zh-CN.md +51 -0
  4. package/dist/_basePickBy-4kmg42pS.js +158 -0
  5. package/dist/_baseUniq-WOvvCHTI.js +621 -0
  6. package/dist/arc-wItjmL5I.js +90 -0
  7. package/dist/architecture-U656AL7Q-FYDwFSxk.js +12 -0
  8. package/dist/architectureDiagram-VXUJARFQ-iG5MkBjx.js +4666 -0
  9. package/dist/blockDiagram-VD42YOAC-i2GlXmWy.js +2268 -0
  10. package/dist/c4Diagram-YG6GDRKO-IufO7T1R.js +1587 -0
  11. package/dist/channel-Dah4F59k.js +12 -0
  12. package/dist/chunk-4BX2VUAB-5_v9rnje.js +15 -0
  13. package/dist/chunk-55IACEB6-BDNtSypP.js +15 -0
  14. package/dist/chunk-B4BG7PRW-DzaYPsfW.js +1382 -0
  15. package/dist/chunk-DI55MBZ5-Buwrprkw.js +1377 -0
  16. package/dist/chunk-FMBD7UC4-BaEPEIWb.js +26 -0
  17. package/dist/chunk-QN33PNHL-DhbA7i5G.js +26 -0
  18. package/dist/chunk-QZHKN3VN-BAb_D1oz.js +22 -0
  19. package/dist/chunk-TZMSLE5B-OU1MJ2do.js +71 -0
  20. package/dist/classDiagram-2ON5EDUG-KStC8v09.js +23 -0
  21. package/dist/classDiagram-v2-WZHVMYZB-KStC8v09.js +23 -0
  22. package/dist/clone-C74UiRbr.js +15 -0
  23. package/dist/cose-bilkent-S5V4N54A-eRXCoix2.js +2612 -0
  24. package/dist/cytoscape.esm-BG3R4uVs.js +18738 -0
  25. package/dist/dagre-6UL2VRFP-Bi83jPQf.js +451 -0
  26. package/dist/defaultLocale-DgmhL6Re.js +178 -0
  27. package/dist/diagram-PSM6KHXK-aW98k2-4.js +539 -0
  28. package/dist/diagram-QEK2KX5R-BR--iNM5.js +224 -0
  29. package/dist/diagram-S2PKOQOG-NTnEy5_O.js +149 -0
  30. package/dist/erDiagram-Q2GNP2WA-C8oZ5c-S.js +848 -0
  31. package/dist/flowDiagram-NV44I4VS-DiKad3Bb.js +1627 -0
  32. package/dist/ganttDiagram-LVOFAZNH-CthzjjJq.js +2506 -0
  33. package/dist/gitGraph-F6HP7TQM-CuXAC0XT.js +12 -0
  34. package/dist/gitGraphDiagram-NY62KEGX-d4KszKqi.js +706 -0
  35. package/dist/graph-CnOTx4E0.js +254 -0
  36. package/dist/index-D6-Wf75-.js +122127 -0
  37. package/dist/info-NVLQJR56-Dhmtdc7O.js +12 -0
  38. package/dist/infoDiagram-ER5ION4S-DedidjTu.js +31 -0
  39. package/dist/init-d639unba.js +23 -0
  40. package/dist/journeyDiagram-XKPGCS4Q-BylvmUWL.js +843 -0
  41. package/dist/kanban-definition-3W4ZIXB7-DGV_aVgU.js +725 -0
  42. package/dist/layout-OXk4OSoz.js +1342 -0
  43. package/dist/linear-CO_vz87n.js +266 -0
  44. package/dist/mermaid-parser.core-CYtF6phW.js +12928 -0
  45. package/dist/mindmap-definition-VGOIOE7T-BU05Y6Vz.js +790 -0
  46. package/dist/ordinal-CofNqUw2.js +68 -0
  47. package/dist/packet-BFZMPI3H-D7H_8Q-U.js +12 -0
  48. package/dist/pie-7BOR55EZ-BNWNcO5Z.js +12 -0
  49. package/dist/pieDiagram-ADFJNKIX-reGTUsiW.js +168 -0
  50. package/dist/quadrantDiagram-AYHSOK5B-NeHOJ0lX.js +1029 -0
  51. package/dist/radar-NHE76QYJ-DrVEcvh1.js +12 -0
  52. package/dist/requirementDiagram-UZGBJVZJ-BE76XNaT.js +857 -0
  53. package/dist/sankeyDiagram-TZEHDZUN-UHfMLEKl.js +817 -0
  54. package/dist/sequenceDiagram-WL72ISMW-62KWnVbh.js +2518 -0
  55. package/dist/stateDiagram-FKZM4ZOC--_CkWvu6.js +270 -0
  56. package/dist/stateDiagram-v2-4FDKWEC3-Dj7ZjAmI.js +23 -0
  57. package/dist/style.css +1 -0
  58. package/dist/timeline-definition-IT6M3QCI-C3Wb0xMN.js +804 -0
  59. package/dist/treemap-KMMF4GRG-Bc8F2dFd.js +12 -0
  60. package/dist/umo-editor.js +16 -0
  61. package/dist/xychartDiagram-PRI3JC2R-D2J307cO.js +1347 -0
  62. package/package.json +200 -0
  63. package/types/index.d.ts +277 -0
  64. package/types/src/components/index.d.ts +9 -0
  65. package/types/src/components/menus/button.vue.d.ts +583 -0
  66. package/types/src/components/modal.vue.d.ts +2 -0
  67. package/types/src/components/tooltip.vue.d.ts +27 -0
@@ -0,0 +1,224 @@
1
+ import "./style.css";
2
+ import { _ as l, s as k, g as R, q as E, p as F, a as I, b as _, H as D, y as G, D as f, E as C, F as P, l as z, K as H } from "./index-D6-Wf75-.js";
3
+ import { p as V } from "./chunk-4BX2VUAB-5_v9rnje.js";
4
+ import { p as W } from "./mermaid-parser.core-CYtF6phW.js";
5
+ /**
6
+ * @umoteam/editor 9.0.1
7
+ * @license MIT
8
+ * @author umodoc https://www.umodoc.com
9
+ * @see https://www.umodoc.com
10
+ **/
11
+ var m = {
12
+ showLegend: !0,
13
+ ticks: 5,
14
+ max: null,
15
+ min: 0,
16
+ graticule: "circle"
17
+ }, w = {
18
+ axes: [],
19
+ curves: [],
20
+ options: m
21
+ }, h = structuredClone(w), B = P.radar, j = /* @__PURE__ */ l(() => f({
22
+ ...B,
23
+ ...C().radar
24
+ }), "getConfig"), b = /* @__PURE__ */ l(() => h.axes, "getAxes"), q = /* @__PURE__ */ l(() => h.curves, "getCurves"), K = /* @__PURE__ */ l(() => h.options, "getOptions"), N = /* @__PURE__ */ l((a) => {
25
+ h.axes = a.map((t) => ({
26
+ name: t.name,
27
+ label: t.label ?? t.name
28
+ }));
29
+ }, "setAxes"), U = /* @__PURE__ */ l((a) => {
30
+ h.curves = a.map((t) => ({
31
+ name: t.name,
32
+ label: t.label ?? t.name,
33
+ entries: X(t.entries)
34
+ }));
35
+ }, "setCurves"), X = /* @__PURE__ */ l((a) => {
36
+ if (a[0].axis == null)
37
+ return a.map((e) => e.value);
38
+ const t = b();
39
+ if (t.length === 0)
40
+ throw new Error("Axes must be populated before curves for reference entries");
41
+ return t.map((e) => {
42
+ const r = a.find((s) => s.axis?.$refText === e.name);
43
+ if (r === void 0)
44
+ throw new Error("Missing entry for axis " + e.label);
45
+ return r.value;
46
+ });
47
+ }, "computeCurveEntries"), Y = /* @__PURE__ */ l((a) => {
48
+ const t = a.reduce(
49
+ (e, r) => (e[r.name] = r, e),
50
+ {}
51
+ );
52
+ h.options = {
53
+ showLegend: t.showLegend?.value ?? m.showLegend,
54
+ ticks: t.ticks?.value ?? m.ticks,
55
+ max: t.max?.value ?? m.max,
56
+ min: t.min?.value ?? m.min,
57
+ graticule: t.graticule?.value ?? m.graticule
58
+ };
59
+ }, "setOptions"), Z = /* @__PURE__ */ l(() => {
60
+ G(), h = structuredClone(w);
61
+ }, "clear"), $ = {
62
+ getAxes: b,
63
+ getCurves: q,
64
+ getOptions: K,
65
+ setAxes: N,
66
+ setCurves: U,
67
+ setOptions: Y,
68
+ getConfig: j,
69
+ clear: Z,
70
+ setAccTitle: _,
71
+ getAccTitle: I,
72
+ setDiagramTitle: F,
73
+ getDiagramTitle: E,
74
+ getAccDescription: R,
75
+ setAccDescription: k
76
+ }, J = /* @__PURE__ */ l((a) => {
77
+ V(a, $);
78
+ const { axes: t, curves: e, options: r } = a;
79
+ $.setAxes(t), $.setCurves(e), $.setOptions(r);
80
+ }, "populate"), Q = {
81
+ parse: /* @__PURE__ */ l(async (a) => {
82
+ const t = await W("radar", a);
83
+ z.debug(t), J(t);
84
+ }, "parse")
85
+ }, tt = /* @__PURE__ */ l((a, t, e, r) => {
86
+ const s = r.db, o = s.getAxes(), i = s.getCurves(), n = s.getOptions(), c = s.getConfig(), d = s.getDiagramTitle(), u = D(t), p = et(u, c), g = n.max ?? Math.max(...i.map((y) => Math.max(...y.entries))), x = n.min, v = Math.min(c.width, c.height) / 2;
87
+ at(p, o, v, n.ticks, n.graticule), rt(p, o, v, c), M(p, o, i, x, g, n.graticule, c), T(p, i, n.showLegend, c), p.append("text").attr("class", "radarTitle").text(d).attr("x", 0).attr("y", -c.height / 2 - c.marginTop);
88
+ }, "draw"), et = /* @__PURE__ */ l((a, t) => {
89
+ const e = t.width + t.marginLeft + t.marginRight, r = t.height + t.marginTop + t.marginBottom, s = {
90
+ x: t.marginLeft + t.width / 2,
91
+ y: t.marginTop + t.height / 2
92
+ };
93
+ return a.attr("viewbox", `0 0 ${e} ${r}`).attr("width", e).attr("height", r), a.append("g").attr("transform", `translate(${s.x}, ${s.y})`);
94
+ }, "drawFrame"), at = /* @__PURE__ */ l((a, t, e, r, s) => {
95
+ if (s === "circle")
96
+ for (let o = 0; o < r; o++) {
97
+ const i = e * (o + 1) / r;
98
+ a.append("circle").attr("r", i).attr("class", "radarGraticule");
99
+ }
100
+ else if (s === "polygon") {
101
+ const o = t.length;
102
+ for (let i = 0; i < r; i++) {
103
+ const n = e * (i + 1) / r, c = t.map((d, u) => {
104
+ const p = 2 * u * Math.PI / o - Math.PI / 2, g = n * Math.cos(p), x = n * Math.sin(p);
105
+ return `${g},${x}`;
106
+ }).join(" ");
107
+ a.append("polygon").attr("points", c).attr("class", "radarGraticule");
108
+ }
109
+ }
110
+ }, "drawGraticule"), rt = /* @__PURE__ */ l((a, t, e, r) => {
111
+ const s = t.length;
112
+ for (let o = 0; o < s; o++) {
113
+ const i = t[o].label, n = 2 * o * Math.PI / s - Math.PI / 2;
114
+ a.append("line").attr("x1", 0).attr("y1", 0).attr("x2", e * r.axisScaleFactor * Math.cos(n)).attr("y2", e * r.axisScaleFactor * Math.sin(n)).attr("class", "radarAxisLine"), a.append("text").text(i).attr("x", e * r.axisLabelFactor * Math.cos(n)).attr("y", e * r.axisLabelFactor * Math.sin(n)).attr("class", "radarAxisLabel");
115
+ }
116
+ }, "drawAxes");
117
+ function M(a, t, e, r, s, o, i) {
118
+ const n = t.length, c = Math.min(i.width, i.height) / 2;
119
+ e.forEach((d, u) => {
120
+ if (d.entries.length !== n)
121
+ return;
122
+ const p = d.entries.map((g, x) => {
123
+ const v = 2 * Math.PI * x / n - Math.PI / 2, y = A(g, r, s, c), O = y * Math.cos(v), S = y * Math.sin(v);
124
+ return { x: O, y: S };
125
+ });
126
+ o === "circle" ? a.append("path").attr("d", L(p, i.curveTension)).attr("class", `radarCurve-${u}`) : o === "polygon" && a.append("polygon").attr("points", p.map((g) => `${g.x},${g.y}`).join(" ")).attr("class", `radarCurve-${u}`);
127
+ });
128
+ }
129
+ l(M, "drawCurves");
130
+ function A(a, t, e, r) {
131
+ const s = Math.min(Math.max(a, t), e);
132
+ return r * (s - t) / (e - t);
133
+ }
134
+ l(A, "relativeRadius");
135
+ function L(a, t) {
136
+ const e = a.length;
137
+ let r = `M${a[0].x},${a[0].y}`;
138
+ for (let s = 0; s < e; s++) {
139
+ const o = a[(s - 1 + e) % e], i = a[s], n = a[(s + 1) % e], c = a[(s + 2) % e], d = {
140
+ x: i.x + (n.x - o.x) * t,
141
+ y: i.y + (n.y - o.y) * t
142
+ }, u = {
143
+ x: n.x - (c.x - i.x) * t,
144
+ y: n.y - (c.y - i.y) * t
145
+ };
146
+ r += ` C${d.x},${d.y} ${u.x},${u.y} ${n.x},${n.y}`;
147
+ }
148
+ return `${r} Z`;
149
+ }
150
+ l(L, "closedRoundCurve");
151
+ function T(a, t, e, r) {
152
+ if (!e)
153
+ return;
154
+ const s = (r.width / 2 + r.marginRight) * 3 / 4, o = -(r.height / 2 + r.marginTop) * 3 / 4, i = 20;
155
+ t.forEach((n, c) => {
156
+ const d = a.append("g").attr("transform", `translate(${s}, ${o + c * i})`);
157
+ d.append("rect").attr("width", 12).attr("height", 12).attr("class", `radarLegendBox-${c}`), d.append("text").attr("x", 16).attr("y", 0).attr("class", "radarLegendText").text(n.label);
158
+ });
159
+ }
160
+ l(T, "drawLegend");
161
+ var st = { draw: tt }, nt = /* @__PURE__ */ l((a, t) => {
162
+ let e = "";
163
+ for (let r = 0; r < a.THEME_COLOR_LIMIT; r++) {
164
+ const s = a[`cScale${r}`];
165
+ e += `
166
+ .radarCurve-${r} {
167
+ color: ${s};
168
+ fill: ${s};
169
+ fill-opacity: ${t.curveOpacity};
170
+ stroke: ${s};
171
+ stroke-width: ${t.curveStrokeWidth};
172
+ }
173
+ .radarLegendBox-${r} {
174
+ fill: ${s};
175
+ fill-opacity: ${t.curveOpacity};
176
+ stroke: ${s};
177
+ }
178
+ `;
179
+ }
180
+ return e;
181
+ }, "genIndexStyles"), ot = /* @__PURE__ */ l((a) => {
182
+ const t = H(), e = C(), r = f(t, e.themeVariables), s = f(r.radar, a);
183
+ return { themeVariables: r, radarOptions: s };
184
+ }, "buildRadarStyleOptions"), it = /* @__PURE__ */ l(({ radar: a } = {}) => {
185
+ const { themeVariables: t, radarOptions: e } = ot(a);
186
+ return `
187
+ .radarTitle {
188
+ font-size: ${t.fontSize};
189
+ color: ${t.titleColor};
190
+ dominant-baseline: hanging;
191
+ text-anchor: middle;
192
+ }
193
+ .radarAxisLine {
194
+ stroke: ${e.axisColor};
195
+ stroke-width: ${e.axisStrokeWidth};
196
+ }
197
+ .radarAxisLabel {
198
+ dominant-baseline: middle;
199
+ text-anchor: middle;
200
+ font-size: ${e.axisLabelFontSize}px;
201
+ color: ${e.axisColor};
202
+ }
203
+ .radarGraticule {
204
+ fill: ${e.graticuleColor};
205
+ fill-opacity: ${e.graticuleOpacity};
206
+ stroke: ${e.graticuleColor};
207
+ stroke-width: ${e.graticuleStrokeWidth};
208
+ }
209
+ .radarLegendText {
210
+ text-anchor: start;
211
+ font-size: ${e.legendFontSize}px;
212
+ dominant-baseline: hanging;
213
+ }
214
+ ${nt(t, e)}
215
+ `;
216
+ }, "styles"), ut = {
217
+ parser: Q,
218
+ db: $,
219
+ renderer: st,
220
+ styles: it
221
+ };
222
+ export {
223
+ ut as diagram
224
+ };
@@ -0,0 +1,149 @@
1
+ import "./style.css";
2
+ import { _ as b, D as m, H as B, e as C, l as w, b as S, a as D, p as T, q as E, g as F, s as P, E as z, F as A, y as W } from "./index-D6-Wf75-.js";
3
+ import { p as _ } from "./chunk-4BX2VUAB-5_v9rnje.js";
4
+ import { p as N } from "./mermaid-parser.core-CYtF6phW.js";
5
+ /**
6
+ * @umoteam/editor 9.0.1
7
+ * @license MIT
8
+ * @author umodoc https://www.umodoc.com
9
+ * @see https://www.umodoc.com
10
+ **/
11
+ var L = A.packet, u, v = (u = class {
12
+ constructor() {
13
+ this.packet = [], this.setAccTitle = S, this.getAccTitle = D, this.setDiagramTitle = T, this.getDiagramTitle = E, this.getAccDescription = F, this.setAccDescription = P;
14
+ }
15
+ getConfig() {
16
+ const t = m({
17
+ ...L,
18
+ ...z().packet
19
+ });
20
+ return t.showBits && (t.paddingY += 10), t;
21
+ }
22
+ getPacket() {
23
+ return this.packet;
24
+ }
25
+ pushWord(t) {
26
+ t.length > 0 && this.packet.push(t);
27
+ }
28
+ clear() {
29
+ W(), this.packet = [];
30
+ }
31
+ }, b(u, "PacketDB"), u), M = 1e4, Y = /* @__PURE__ */ b((e, t) => {
32
+ _(e, t);
33
+ let r = -1, s = [], n = 1;
34
+ const { bitsPerRow: l } = t.getConfig();
35
+ for (let { start: a, end: i, bits: d, label: c } of e.blocks) {
36
+ if (a !== void 0 && i !== void 0 && i < a)
37
+ throw new Error(`Packet block ${a} - ${i} is invalid. End must be greater than start.`);
38
+ if (a ?? (a = r + 1), a !== r + 1)
39
+ throw new Error(
40
+ `Packet block ${a} - ${i ?? a} is not contiguous. It should start from ${r + 1}.`
41
+ );
42
+ if (d === 0)
43
+ throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);
44
+ for (i ?? (i = a + (d ?? 1) - 1), d ?? (d = i - a + 1), r = i, w.debug(`Packet block ${a} - ${r} with label ${c}`); s.length <= l + 1 && t.getPacket().length < M; ) {
45
+ const [p, o] = H({ start: a, end: i, bits: d, label: c }, n, l);
46
+ if (s.push(p), p.end + 1 === n * l && (t.pushWord(s), s = [], n++), !o)
47
+ break;
48
+ ({ start: a, end: i, bits: d, label: c } = o);
49
+ }
50
+ }
51
+ t.pushWord(s);
52
+ }, "populate"), H = /* @__PURE__ */ b((e, t, r) => {
53
+ if (e.start === void 0)
54
+ throw new Error("start should have been set during first phase");
55
+ if (e.end === void 0)
56
+ throw new Error("end should have been set during first phase");
57
+ if (e.start > e.end)
58
+ throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);
59
+ if (e.end + 1 <= t * r)
60
+ return [e, void 0];
61
+ const s = t * r - 1, n = t * r;
62
+ return [
63
+ {
64
+ start: e.start,
65
+ end: s,
66
+ label: e.label,
67
+ bits: s - e.start
68
+ },
69
+ {
70
+ start: n,
71
+ end: e.end,
72
+ label: e.label,
73
+ bits: e.end - n
74
+ }
75
+ ];
76
+ }, "getNextFittingBlock"), x = {
77
+ // @ts-expect-error - PacketDB is not assignable to DiagramDB
78
+ parser: { yy: void 0 },
79
+ parse: /* @__PURE__ */ b(async (e) => {
80
+ const t = await N("packet", e), r = x.parser?.yy;
81
+ if (!(r instanceof v))
82
+ throw new Error(
83
+ "parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues."
84
+ );
85
+ w.debug(t), Y(t, r);
86
+ }, "parse")
87
+ }, I = /* @__PURE__ */ b((e, t, r, s) => {
88
+ const n = s.db, l = n.getConfig(), { rowHeight: a, paddingY: i, bitWidth: d, bitsPerRow: c } = l, p = n.getPacket(), o = n.getDiagramTitle(), h = a + i, g = h * (p.length + 1) - (o ? 0 : a), k = d * c + 2, f = B(t);
89
+ f.attr("viewbox", `0 0 ${k} ${g}`), C(f, g, k, l.useMaxWidth);
90
+ for (const [y, $] of p.entries())
91
+ O(f, $, y, l);
92
+ f.append("text").text(o).attr("x", k / 2).attr("y", g - h / 2).attr("dominant-baseline", "middle").attr("text-anchor", "middle").attr("class", "packetTitle");
93
+ }, "draw"), O = /* @__PURE__ */ b((e, t, r, { rowHeight: s, paddingX: n, paddingY: l, bitWidth: a, bitsPerRow: i, showBits: d }) => {
94
+ const c = e.append("g"), p = r * (s + l) + l;
95
+ for (const o of t) {
96
+ const h = o.start % i * a + 1, g = (o.end - o.start + 1) * a - n;
97
+ if (c.append("rect").attr("x", h).attr("y", p).attr("width", g).attr("height", s).attr("class", "packetBlock"), c.append("text").attr("x", h + g / 2).attr("y", p + s / 2).attr("class", "packetLabel").attr("dominant-baseline", "middle").attr("text-anchor", "middle").text(o.label), !d)
98
+ continue;
99
+ const k = o.end === o.start, f = p - 2;
100
+ c.append("text").attr("x", h + (k ? g / 2 : 0)).attr("y", f).attr("class", "packetByte start").attr("dominant-baseline", "auto").attr("text-anchor", k ? "middle" : "start").text(o.start), k || c.append("text").attr("x", h + g).attr("y", f).attr("class", "packetByte end").attr("dominant-baseline", "auto").attr("text-anchor", "end").text(o.end);
101
+ }
102
+ }, "drawWord"), j = { draw: I }, q = {
103
+ byteFontSize: "10px",
104
+ startByteColor: "black",
105
+ endByteColor: "black",
106
+ labelColor: "black",
107
+ labelFontSize: "12px",
108
+ titleColor: "black",
109
+ titleFontSize: "14px",
110
+ blockStrokeColor: "black",
111
+ blockStrokeWidth: "1",
112
+ blockFillColor: "#efefef"
113
+ }, G = /* @__PURE__ */ b(({ packet: e } = {}) => {
114
+ const t = m(q, e);
115
+ return `
116
+ .packetByte {
117
+ font-size: ${t.byteFontSize};
118
+ }
119
+ .packetByte.start {
120
+ fill: ${t.startByteColor};
121
+ }
122
+ .packetByte.end {
123
+ fill: ${t.endByteColor};
124
+ }
125
+ .packetLabel {
126
+ fill: ${t.labelColor};
127
+ font-size: ${t.labelFontSize};
128
+ }
129
+ .packetTitle {
130
+ fill: ${t.titleColor};
131
+ font-size: ${t.titleFontSize};
132
+ }
133
+ .packetBlock {
134
+ stroke: ${t.blockStrokeColor};
135
+ stroke-width: ${t.blockStrokeWidth};
136
+ fill: ${t.blockFillColor};
137
+ }
138
+ `;
139
+ }, "styles"), J = {
140
+ parser: x,
141
+ get db() {
142
+ return new v();
143
+ },
144
+ renderer: j,
145
+ styles: G
146
+ };
147
+ export {
148
+ J as diagram
149
+ };