@belonguniverseai/react-sdk 0.6.2 → 0.6.4
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/api/agent-grants.d.ts +23 -8
- package/dist/api/client.d.ts +53 -4
- package/dist/api/queries.d.ts +2 -0
- package/dist/app/call-summary.d.ts +30 -0
- package/dist/component/abnfDiagram-N423BO3Z-DR3fMT7g.js +90 -0
- package/dist/component/arc-DJkYOSuJ.js +86 -0
- package/dist/component/{architectureDiagram-3BPJPVTR-DYcaPx2M.js → architectureDiagram-T3A2C74G-BIp4IBPk.js} +1872 -1785
- package/dist/component/{blockDiagram-GPEHLZMM-BdjruLO5.js → blockDiagram-VBNYF7ZC-BqryGqC6.js} +895 -894
- package/dist/component/{c4Diagram-AAUBKEIU-Bd2ebSgB.js → c4Diagram-5PPSVZJV-GktlF-Di.js} +3 -3
- package/dist/component/{channel-CYFijF_t.js → channel-3CusDaXb.js} +2 -2
- package/dist/component/{chunk-ND2GUHAM-OX1-DIU1.js → chunk-2GRJ4B5K-DMTs6j_c.js} +5 -5
- package/dist/component/{chunk-QZHKN3VN-DLQ8oUCc.js → chunk-2Q5K7J3B-CIU34hPH.js} +2 -2
- package/dist/component/{chunk-AQP2D5EJ-D4G4syYu.js → chunk-5RXB4S5H-Ds3vF1Mv.js} +399 -378
- package/dist/component/{chunk-FMBD7UC4-CbRxWx_A.js → chunk-5VM5RSS4-DGxDkIm6.js} +2 -2
- package/dist/component/chunk-6Q2QTUOP-BI8oZt98.js +673 -0
- package/dist/component/{chunk-727SXJPM-A5r5oL1_.js → chunk-GF5L2VYU-D-36xUd5.js} +244 -239
- package/dist/component/{chunk-4BX2VUAB-DVpS0I_p.js → chunk-JWPE2WC7-8N_wQ762.js} +2 -2
- package/dist/component/{chunk-2J33WTMH-B06Y_xVy.js → chunk-KBJHAD2P-ChxxpkWc.js} +2 -2
- package/dist/component/chunk-RYQCIY6F-CSY-95OP.js +316 -0
- package/dist/component/{chunk-55IACEB6-DmZctFkK.js → chunk-XXDRQBXY-BQd9yyE1.js} +2 -2
- package/dist/component/{classDiagram-4FO5ZUOK-4S9mdFC1.js → classDiagram-JCYQIIEL-BOq63iUL.js} +3 -3
- package/dist/component/{classDiagram-v2-Q7XG4LA2-4S9mdFC1.js → classDiagram-v2-OCEON4UE-BOq63iUL.js} +3 -3
- package/dist/component/{cose-bilkent-S5V4N54A-BIrVaakt.js → cose-bilkent-JH36ORCC-B9x8cp5w.js} +2 -2
- package/dist/component/{wardley-L42UT6IY-HA1eSIS_.js → cynefin-VYW2F7L2-DAyxamLw.js} +9199 -7918
- package/dist/component/cynefinDiagram-MW4NZA55-OF6l99SS.js +302 -0
- package/dist/component/dagre-VZM6K2ZE-CELO1hFb.js +343 -0
- package/dist/component/diagram-7IWD3JNH-COzvm6E2.js +353 -0
- package/dist/component/{diagram-KO2AKTUF-Da1E68Eo.js → diagram-B4RE2ZJO-DR9KMRGw.js} +24 -24
- package/dist/component/{diagram-LMA3HP47-dRbk5sBa.js → diagram-LBJQPF4R-D47Zqm-k.js} +23 -23
- package/dist/component/{diagram-OG6HWLK6-CcKT8mhn.js → diagram-Q27KOJAE-Key1bw_Y.js} +197 -197
- package/dist/component/diagram-UB23O5K3-Cxf-sZnK.js +222 -0
- package/dist/component/ebnfDiagram-BXEA7PRR-C8uURt_x.js +112 -0
- package/dist/component/{erDiagram-TEJ5UH35-3ATYT9J-.js → erDiagram-JOGREHBK-CpCxe8Ib.js} +142 -131
- package/dist/component/{flowDiagram-I6XJVG4X-D9PLm9Od.js → flowDiagram-UKHOOZJN-urFG2I71.js} +268 -258
- package/dist/component/ganttDiagram-PKOTCBZU-8nA9faYf.js +2714 -0
- package/dist/component/{gitGraphDiagram-PVQCEYII-13gVhAGc.js → gitGraphDiagram-DS77QQ5N-u4cbNW8o.js} +33 -33
- package/dist/component/{graph-BZLHvygk.js → graph-CWpEkm4G.js} +35 -35
- package/dist/component/{highlighted-body-OFNGDK62-DCxRI4UV.js → highlighted-body-OFNGDK62-Bo-15uvJ.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-5YYISTIA-DymxA7AN.js → infoDiagram-6WML65LV-ZAv4gZpA.js} +4 -4
- package/dist/component/{ishikawaDiagram-YF4QCWOH-C3sTn76C.js → ishikawaDiagram-WSZJBQD7-CvB6evSz.js} +27 -27
- package/dist/component/{journeyDiagram-JHISSGLW-Cq0hOAfJ.js → journeyDiagram-NVQOT4AX-M5BRYuPr.js} +5 -5
- package/dist/component/{kanban-definition-UN3LZRKU-5tBWjkp7.js → kanban-definition-27J2QSJJ-LL6GkmVe.js} +35 -35
- package/dist/component/layout-Br2UjHRU.js +1522 -0
- package/dist/component/{linear-BT4blD8s.js → linear-DVg61V66.js} +13 -13
- package/dist/component/map-CdwokNh2.js +227 -0
- package/dist/component/{mermaid-GHXKKRXX-DXPXjnb7.js → mermaid-GHXKKRXX-C2L7fCIM.js} +29577 -29128
- package/dist/component/{mindmap-definition-RKZ34NQL-DO-OuAQQ.js → mindmap-definition-FAOFIHXS-BBZzsLh7.js} +26 -26
- package/dist/component/pegDiagram-VL7TDLO6-BEG86cY8.js +98 -0
- package/dist/component/pieDiagram-7S7Q4E2Y-BTkrNjAi.js +210 -0
- package/dist/component/{quadrantDiagram-W4KKPZXB-CaJWg9ep.js → quadrantDiagram-CIZ2JOQS-BsjBAd4w.js} +14 -15
- package/dist/component/railroadDiagram-AXF67PYL-DuE0ZFxj.js +80 -0
- package/dist/component/{requirementDiagram-4Y6WPE33-CmZrtZqe.js → requirementDiagram-LRYGKXZP-CcshEEMy.js} +15 -15
- package/dist/component/{sankeyDiagram-5OEKKPKP-Cp95M1aj.js → sankeyDiagram-W5VNT64P-CFn011ig.js} +2 -2
- package/dist/component/{sequenceDiagram-3UESZ5HK-C0x0WvhR.js → sequenceDiagram-SI44F4Z6-DmMZNJDw.js} +960 -963
- package/dist/component/sizeCapture-X5ZJPWSS-Ce4PhIAO.js +49 -0
- package/dist/component/{stateDiagram-AJRCARHV-H10vaGL3.js → stateDiagram-OKZ733FA-DDVzQKaO.js} +5 -5
- package/dist/component/{stateDiagram-v2-BHNVJYJU-rj7ljkc-.js → stateDiagram-v2-UEYNNEHI-DeeW8PDA.js} +3 -3
- package/dist/component/swimlanes-SLNWSIFB-CZh2_vzg.js +5335 -0
- package/dist/component/swimlanesDiagram-ULZ7WXOC-Wb0Ri7qR.js +16 -0
- package/dist/component/{timeline-definition-PNZ67QCA-Cil1QaqZ.js → timeline-definition-Z64GVDOM-rfiLwdTR.js} +15 -15
- package/dist/component/vennDiagram-T6HMQDX7-D8l7hqNb.js +1581 -0
- package/dist/component/{wardleyDiagram-YWT4CUSO-Xq5Hnmio.js → wardleyDiagram-T6FBY63Y-7YqmpmtC.js} +15 -15
- package/dist/component/{xychartDiagram-2RQKCTM6-dinwR4Zm.js → xychartDiagram-ELKLHX3M-Dx2ECqt8.js} +464 -418
- package/dist/embed/voice/line-slots.d.ts +37 -2
- package/dist/embed/voice-call.d.ts +12 -0
- package/dist/i18n/messages/en.d.ts +1 -2
- package/dist/lib/web-storage.d.ts +8 -0
- package/dist/stream/belong-chat-transport.d.ts +1 -0
- package/dist/stream/belong-data-parts.d.ts +2 -0
- package/dist/stream/stream-state-store.d.ts +13 -0
- package/dist/types/public.d.ts +3 -0
- package/package.json +1 -1
- package/dist/component/arc-TLcl3N8_.js +0 -86
- package/dist/component/dagre-BM42HDAG-BoPUzTvD.js +0 -448
- package/dist/component/diagram-2AECGRRQ-PIXCGxIt.js +0 -220
- package/dist/component/diagram-5GNKFQAL-CbJxbGBh.js +0 -126
- package/dist/component/ganttDiagram-6RSMTGT7-F_XUzD1p.js +0 -2709
- package/dist/component/layout-Bu6nRdWm.js +0 -1731
- package/dist/component/pieDiagram-4H26LBE5-BkEktPwZ.js +0 -166
- package/dist/component/vennDiagram-CIIHVFJN-Dk8PKmfb.js +0 -1560
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { _ as e } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
|
|
2
2
|
globalThis.process = globalThis.process || { env: {} };
|
|
3
3
|
globalThis.global = globalThis.global || globalThis;
|
|
4
4
|
function i(l, o) {
|
|
@@ -8,4 +8,4 @@ e(i, "populateCommonDb");
|
|
|
8
8
|
export {
|
|
9
9
|
i as p
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
11
|
+
//# sourceMappingURL=chunk-JWPE2WC7-8N_wQ762.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, e as n, l as g } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { _ as s, e as n, l as g } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
|
|
2
2
|
globalThis.process = globalThis.process || { env: {} };
|
|
3
3
|
globalThis.global = globalThis.global || globalThis;
|
|
4
4
|
var b = /* @__PURE__ */ s((e, o, t, a) => {
|
|
@@ -19,4 +19,4 @@ var b = /* @__PURE__ */ s((e, o, t, a) => {
|
|
|
19
19
|
export {
|
|
20
20
|
b as s
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=chunk-
|
|
22
|
+
//# sourceMappingURL=chunk-KBJHAD2P-ChxxpkWc.js.map
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import { _ as u, l as i } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
|
|
2
|
+
import { i as g, G as y } from "./graph-CWpEkm4G.js";
|
|
3
|
+
import { b as B, m as X } from "./map-CdwokNh2.js";
|
|
4
|
+
globalThis.process = globalThis.process || { env: {} };
|
|
5
|
+
globalThis.global = globalThis.global || globalThis;
|
|
6
|
+
var L = 4;
|
|
7
|
+
function _(e) {
|
|
8
|
+
return B(e, L);
|
|
9
|
+
}
|
|
10
|
+
function b(e) {
|
|
11
|
+
var r = {
|
|
12
|
+
options: {
|
|
13
|
+
directed: e.isDirected(),
|
|
14
|
+
multigraph: e.isMultigraph(),
|
|
15
|
+
compound: e.isCompound()
|
|
16
|
+
},
|
|
17
|
+
nodes: j(e),
|
|
18
|
+
edges: F(e)
|
|
19
|
+
};
|
|
20
|
+
return g(e.graph()) || (r.value = _(e.graph())), r;
|
|
21
|
+
}
|
|
22
|
+
function j(e) {
|
|
23
|
+
return X(e.nodes(), function(r) {
|
|
24
|
+
var n = e.node(r), s = e.parent(r), t = { v: r };
|
|
25
|
+
return g(n) || (t.value = n), g(s) || (t.parent = s), t;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function F(e) {
|
|
29
|
+
return X(e.edges(), function(r) {
|
|
30
|
+
var n = e.edge(r), s = { v: r.v, w: r.w };
|
|
31
|
+
return g(r.name) || (s.name = r.name), g(n) || (s.value = n), s;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
var c = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ u(() => {
|
|
35
|
+
v.clear(), A.clear(), c.clear();
|
|
36
|
+
}, "clear"), w = /* @__PURE__ */ u((e, r) => {
|
|
37
|
+
const n = v.get(r) || [];
|
|
38
|
+
return i.trace("In isDescendant", r, " ", e, " = ", n.includes(e)), n.includes(e);
|
|
39
|
+
}, "isDescendant"), M = /* @__PURE__ */ u((e, r) => {
|
|
40
|
+
const n = v.get(r) || [];
|
|
41
|
+
return i.info("Descendants of ", r, " is ", n), i.info("Edge is ", e), e.v === r || e.w === r ? !1 : n ? n.includes(e.v) || w(e.v, r) || w(e.w, r) || n.includes(e.w) : (i.debug("Tilt, ", r, ",not in descendants"), !1);
|
|
42
|
+
}, "edgeInCluster"), D = /* @__PURE__ */ u((e, r, n, s) => {
|
|
43
|
+
i.warn(
|
|
44
|
+
"Copying children of ",
|
|
45
|
+
e,
|
|
46
|
+
"root",
|
|
47
|
+
s,
|
|
48
|
+
"data",
|
|
49
|
+
r.node(e),
|
|
50
|
+
s
|
|
51
|
+
);
|
|
52
|
+
const t = r.children(e) || [];
|
|
53
|
+
e !== s && t.push(e), i.warn("Copying (nodes) clusterId", e, "nodes", t), t.forEach((o) => {
|
|
54
|
+
if (r.children(o).length > 0)
|
|
55
|
+
D(o, r, n, s);
|
|
56
|
+
else {
|
|
57
|
+
const l = r.node(o);
|
|
58
|
+
i.info("cp ", o, " to ", s, " with parent ", e), n.setNode(o, l), s !== r.parent(o) && (i.warn("Setting parent", o, r.parent(o)), n.setParent(o, r.parent(o))), e !== s && o !== e ? (i.debug("Setting parent", o, e), n.setParent(o, e)) : (i.info("In copy ", e, "root", s, "data", r.node(e), s), i.debug(
|
|
59
|
+
"Not Setting parent for node=",
|
|
60
|
+
o,
|
|
61
|
+
"cluster!==rootId",
|
|
62
|
+
e !== s,
|
|
63
|
+
"node!==clusterId",
|
|
64
|
+
o !== e
|
|
65
|
+
));
|
|
66
|
+
const f = r.edges(o);
|
|
67
|
+
i.debug("Copying Edges", f), f.forEach((a) => {
|
|
68
|
+
i.info("Edge", a);
|
|
69
|
+
const d = r.edge(a.v, a.w, a.name);
|
|
70
|
+
i.info("Edge data", d, s);
|
|
71
|
+
try {
|
|
72
|
+
if (M(a, s)) {
|
|
73
|
+
const m = v.get(s) || [], E = m.includes(a.v) || w(a.v, s) || a.v === s, h = m.includes(a.w) || w(a.w, s) || a.w === s;
|
|
74
|
+
if (E && h)
|
|
75
|
+
i.info("Copying as ", a.v, a.w, d, a.name), n.setEdge(a.v, a.w, d, a.name), i.info("newGraph edges ", n.edges(), n.edge(n.edges()[0]));
|
|
76
|
+
else {
|
|
77
|
+
const x = E ? s : a.v, N = h ? s : a.w;
|
|
78
|
+
i.info("Rebinding cross-boundary edge as ", x, N, d, a.name), r.setEdge(x, N, d, a.name);
|
|
79
|
+
}
|
|
80
|
+
} else
|
|
81
|
+
i.info(
|
|
82
|
+
"Skipping copy of edge ",
|
|
83
|
+
a.v,
|
|
84
|
+
"-->",
|
|
85
|
+
a.w,
|
|
86
|
+
" rootId: ",
|
|
87
|
+
s,
|
|
88
|
+
" clusterId:",
|
|
89
|
+
e
|
|
90
|
+
);
|
|
91
|
+
} catch (m) {
|
|
92
|
+
i.error(m);
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
i.debug("Removing node", o), r.removeNode(o);
|
|
97
|
+
});
|
|
98
|
+
}, "copy"), O = /* @__PURE__ */ u((e, r) => {
|
|
99
|
+
const n = r.children(e);
|
|
100
|
+
let s = [...n];
|
|
101
|
+
for (const t of n)
|
|
102
|
+
A.set(t, e), s = [...s, ...O(t, r)];
|
|
103
|
+
return s;
|
|
104
|
+
}, "extractDescendants"), R = /* @__PURE__ */ u((e, r, n) => {
|
|
105
|
+
const s = e.edges().filter((a) => a.v === r || a.w === r), t = e.edges().filter((a) => a.v === n || a.w === n), o = s.map((a) => ({ v: a.v === r ? n : a.v, w: a.w === r ? r : a.w })), l = t.map((a) => ({ v: a.v, w: a.w }));
|
|
106
|
+
return o.filter((a) => l.some((d) => a.v === d.v && a.w === d.w));
|
|
107
|
+
}, "findCommonEdges"), C = /* @__PURE__ */ u((e, r, n) => {
|
|
108
|
+
const s = r.children(e);
|
|
109
|
+
if (i.trace("Searching children of id ", e, s), s.length < 1)
|
|
110
|
+
return e;
|
|
111
|
+
let t;
|
|
112
|
+
for (const o of s) {
|
|
113
|
+
const l = C(o, r, n), f = R(r, n, l);
|
|
114
|
+
if (l)
|
|
115
|
+
if (f.length > 0)
|
|
116
|
+
t = l;
|
|
117
|
+
else
|
|
118
|
+
return l;
|
|
119
|
+
}
|
|
120
|
+
return t;
|
|
121
|
+
}, "findNonClusterChild"), S = /* @__PURE__ */ u((e) => !c.has(e) || !c.get(e).externalConnections ? e : c.has(e) ? c.get(e).id : e, "getAnchorId"), U = /* @__PURE__ */ u((e, r) => {
|
|
122
|
+
if (!e || r > 10) {
|
|
123
|
+
i.debug("Opting out, no graph ");
|
|
124
|
+
return;
|
|
125
|
+
} else
|
|
126
|
+
i.debug("Opting in, graph ");
|
|
127
|
+
e.nodes().forEach(function(n) {
|
|
128
|
+
e.children(n).length > 0 && (i.warn(
|
|
129
|
+
"Cluster identified",
|
|
130
|
+
n,
|
|
131
|
+
" Replacement id in edges: ",
|
|
132
|
+
C(n, e, n)
|
|
133
|
+
), v.set(n, O(n, e)), c.set(n, { id: C(n, e, n), clusterData: e.node(n) }));
|
|
134
|
+
}), e.nodes().forEach(function(n) {
|
|
135
|
+
const s = e.children(n), t = e.edges();
|
|
136
|
+
s.length > 0 ? (i.debug("Cluster identified", n, v), t.forEach((o) => {
|
|
137
|
+
const l = w(o.v, n), f = w(o.w, n);
|
|
138
|
+
l ^ f && (i.warn("Edge: ", o, " leaves cluster ", n), i.warn("Descendants of XXX ", n, ": ", v.get(n)), c.get(n).externalConnections = !0);
|
|
139
|
+
})) : i.debug("Not a cluster ", n, v);
|
|
140
|
+
});
|
|
141
|
+
for (let n of c.keys()) {
|
|
142
|
+
const s = c.get(n).id, t = e.parent(s);
|
|
143
|
+
t !== n && c.has(t) && !c.get(t).externalConnections && (c.get(n).id = t);
|
|
144
|
+
const o = e.edges().some((l) => l.v === n);
|
|
145
|
+
if (s && c.get(n)?.externalConnections && o && p(e, s, n)) {
|
|
146
|
+
const l = P(e, n, e.parent(s));
|
|
147
|
+
l && (c.get(n).id = l);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
e.edges().forEach(function(n) {
|
|
151
|
+
const s = e.edge(n);
|
|
152
|
+
i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(e.edge(n)));
|
|
153
|
+
let t = n.v, o = n.w;
|
|
154
|
+
if (i.warn(
|
|
155
|
+
"Fix XXX",
|
|
156
|
+
c,
|
|
157
|
+
"ids:",
|
|
158
|
+
n.v,
|
|
159
|
+
n.w,
|
|
160
|
+
"Translating: ",
|
|
161
|
+
c.get(n.v),
|
|
162
|
+
" --- ",
|
|
163
|
+
c.get(n.w)
|
|
164
|
+
), c.get(n.v) || c.get(n.w)) {
|
|
165
|
+
if (i.warn("Fixing and trying - removing XXX", n.v, n.w, n.name), t = S(n.v), o = S(n.w), e.removeEdge(n.v, n.w, n.name), t !== n.v) {
|
|
166
|
+
const l = e.parent(t);
|
|
167
|
+
c.get(l).externalConnections = !0, s.fromCluster = n.v;
|
|
168
|
+
}
|
|
169
|
+
if (o !== n.w) {
|
|
170
|
+
const l = e.parent(o);
|
|
171
|
+
c.get(l).externalConnections = !0, s.toCluster = n.w;
|
|
172
|
+
}
|
|
173
|
+
i.warn("Fix Replacing with XXX", t, o, n.name), e.setEdge(t, o, s, n.name);
|
|
174
|
+
}
|
|
175
|
+
}), i.warn("Adjusted Graph", b(e)), T(e, 0), i.trace(c);
|
|
176
|
+
}, "adjustClustersAndEdges"), T = /* @__PURE__ */ u((e, r) => {
|
|
177
|
+
if (i.warn("extractor - ", r, b(e), e.children("D")), r > 10) {
|
|
178
|
+
i.error("Bailing out");
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
let n = e.nodes(), s = !1;
|
|
182
|
+
for (const t of n) {
|
|
183
|
+
const o = e.children(t);
|
|
184
|
+
s = s || o.length > 0;
|
|
185
|
+
}
|
|
186
|
+
if (!s) {
|
|
187
|
+
i.debug("Done, no node has children", e.nodes());
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
i.debug("Nodes = ", n, r);
|
|
191
|
+
for (const t of n)
|
|
192
|
+
if (i.debug(
|
|
193
|
+
"Extracting node",
|
|
194
|
+
t,
|
|
195
|
+
c,
|
|
196
|
+
c.has(t) && !c.get(t).externalConnections,
|
|
197
|
+
!e.parent(t),
|
|
198
|
+
e.node(t),
|
|
199
|
+
e.children("D"),
|
|
200
|
+
" Depth ",
|
|
201
|
+
r
|
|
202
|
+
), !c.has(t))
|
|
203
|
+
i.debug("Not a cluster", t, r);
|
|
204
|
+
else if (c.get(t)?.clusterData?.explicitDir && e.children(t) && e.children(t).length > 0) {
|
|
205
|
+
i.warn("Cluster with explicit dir, creating subgraph for children", t, r);
|
|
206
|
+
const o = c.get(t).clusterData.dir, l = new y({
|
|
207
|
+
multigraph: !0,
|
|
208
|
+
compound: !0
|
|
209
|
+
}).setGraph({
|
|
210
|
+
rankdir: o,
|
|
211
|
+
nodesep: 50,
|
|
212
|
+
ranksep: 50,
|
|
213
|
+
marginx: 8,
|
|
214
|
+
marginy: 8
|
|
215
|
+
}).setDefaultEdgeLabel(function() {
|
|
216
|
+
return {};
|
|
217
|
+
});
|
|
218
|
+
D(t, e, l, t);
|
|
219
|
+
const f = e.node(t) || {};
|
|
220
|
+
e.setNode(t, {
|
|
221
|
+
...f,
|
|
222
|
+
clusterNode: !0,
|
|
223
|
+
id: t,
|
|
224
|
+
clusterData: c.get(t).clusterData,
|
|
225
|
+
label: c.get(t).label,
|
|
226
|
+
graph: l
|
|
227
|
+
}), i.warn(
|
|
228
|
+
"Subgraph for cluster with explicit dir created:",
|
|
229
|
+
t,
|
|
230
|
+
b(l)
|
|
231
|
+
);
|
|
232
|
+
} else if (!c.get(t).externalConnections && e.children(t) && e.children(t).length > 0) {
|
|
233
|
+
i.warn(
|
|
234
|
+
"Cluster without external connections, without a parent and with children",
|
|
235
|
+
t,
|
|
236
|
+
r
|
|
237
|
+
);
|
|
238
|
+
let l = e.graph().rankdir === "TB" ? "LR" : "TB";
|
|
239
|
+
c.get(t)?.clusterData?.dir && (l = c.get(t).clusterData.dir, i.warn("Fixing dir", c.get(t).clusterData.dir, l));
|
|
240
|
+
const f = new y({
|
|
241
|
+
multigraph: !0,
|
|
242
|
+
compound: !0
|
|
243
|
+
}).setGraph({
|
|
244
|
+
rankdir: l,
|
|
245
|
+
nodesep: 50,
|
|
246
|
+
ranksep: 50,
|
|
247
|
+
marginx: 8,
|
|
248
|
+
marginy: 8
|
|
249
|
+
}).setDefaultEdgeLabel(function() {
|
|
250
|
+
return {};
|
|
251
|
+
});
|
|
252
|
+
D(t, e, f, t);
|
|
253
|
+
const a = e.node(t) || {};
|
|
254
|
+
e.setNode(t, {
|
|
255
|
+
...a,
|
|
256
|
+
clusterNode: !0,
|
|
257
|
+
id: t,
|
|
258
|
+
clusterData: c.get(t).clusterData,
|
|
259
|
+
label: c.get(t).label,
|
|
260
|
+
graph: f
|
|
261
|
+
}), i.debug("Old graph after copy", b(e));
|
|
262
|
+
} else
|
|
263
|
+
i.warn(
|
|
264
|
+
"Cluster ** ",
|
|
265
|
+
t,
|
|
266
|
+
" **not meeting the criteria !externalConnections:",
|
|
267
|
+
!c.get(t).externalConnections,
|
|
268
|
+
" no parent: ",
|
|
269
|
+
!e.parent(t),
|
|
270
|
+
" children ",
|
|
271
|
+
e.children(t) && e.children(t).length > 0,
|
|
272
|
+
e.children("D"),
|
|
273
|
+
r
|
|
274
|
+
), i.debug(c);
|
|
275
|
+
n = e.nodes(), i.warn("New list of nodes", n);
|
|
276
|
+
for (const t of n) {
|
|
277
|
+
const o = e.node(t);
|
|
278
|
+
i.warn(" Now next level", t, o), o?.clusterNode && T(o.graph, r + 1);
|
|
279
|
+
}
|
|
280
|
+
}, "extractor"), k = /* @__PURE__ */ u((e, r) => {
|
|
281
|
+
if (r.length === 0)
|
|
282
|
+
return [];
|
|
283
|
+
let n = Object.assign([], r);
|
|
284
|
+
return r.forEach((s) => {
|
|
285
|
+
const t = e.children(s), o = k(e, t);
|
|
286
|
+
n = [...n, ...o];
|
|
287
|
+
}), n;
|
|
288
|
+
}, "sorter"), W = /* @__PURE__ */ u((e) => k(e, e.children()), "sortNodesByHierarchy"), p = /* @__PURE__ */ u((e, r, n) => {
|
|
289
|
+
let s = e.parent(r);
|
|
290
|
+
for (; s && s !== n; ) {
|
|
291
|
+
const t = c.get(s);
|
|
292
|
+
if (t && !t.externalConnections)
|
|
293
|
+
return !0;
|
|
294
|
+
s = e.parent(s);
|
|
295
|
+
}
|
|
296
|
+
return !1;
|
|
297
|
+
}, "isNodeInExtractableCluster"), P = /* @__PURE__ */ u((e, r, n) => {
|
|
298
|
+
const s = e.children(r) ?? [];
|
|
299
|
+
for (const t of s) {
|
|
300
|
+
if (t === n || w(t, n))
|
|
301
|
+
continue;
|
|
302
|
+
const o = C(t, e, r);
|
|
303
|
+
if (o && !p(e, o, r))
|
|
304
|
+
return o;
|
|
305
|
+
}
|
|
306
|
+
return null;
|
|
307
|
+
}, "findSafeAnchorNode");
|
|
308
|
+
export {
|
|
309
|
+
U as a,
|
|
310
|
+
c as b,
|
|
311
|
+
J as c,
|
|
312
|
+
C as f,
|
|
313
|
+
W as s,
|
|
314
|
+
b as w
|
|
315
|
+
};
|
|
316
|
+
//# sourceMappingURL=chunk-RYQCIY6F-CSY-95OP.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as l, d as o } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { _ as l, d as o } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
|
|
2
2
|
globalThis.process = globalThis.process || { env: {} };
|
|
3
3
|
globalThis.global = globalThis.global || globalThis;
|
|
4
4
|
var b = /* @__PURE__ */ l((s, a) => {
|
|
@@ -8,4 +8,4 @@ var b = /* @__PURE__ */ l((s, a) => {
|
|
|
8
8
|
export {
|
|
9
9
|
b as g
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
11
|
+
//# sourceMappingURL=chunk-XXDRQBXY-BQd9yyE1.js.map
|
package/dist/component/{classDiagram-4FO5ZUOK-4S9mdFC1.js → classDiagram-JCYQIIEL-BOq63iUL.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, c as l, a as r, C as e } from "./chunk-
|
|
2
|
-
import { _ as o } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU-D-36xUd5.js";
|
|
2
|
+
import { _ as o } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
|
|
3
3
|
globalThis.process = globalThis.process || { env: {} };
|
|
4
4
|
globalThis.global = globalThis.global || globalThis;
|
|
5
5
|
var b = {
|
|
@@ -16,4 +16,4 @@ var b = {
|
|
|
16
16
|
export {
|
|
17
17
|
b as diagram
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=classDiagram-
|
|
19
|
+
//# sourceMappingURL=classDiagram-JCYQIIEL-BOq63iUL.js.map
|
package/dist/component/{classDiagram-v2-Q7XG4LA2-4S9mdFC1.js → classDiagram-v2-OCEON4UE-BOq63iUL.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, c as l, a as r, C as e } from "./chunk-
|
|
2
|
-
import { _ as o } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { s as a, c as l, a as r, C as e } from "./chunk-GF5L2VYU-D-36xUd5.js";
|
|
2
|
+
import { _ as o } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
|
|
3
3
|
globalThis.process = globalThis.process || { env: {} };
|
|
4
4
|
globalThis.global = globalThis.global || globalThis;
|
|
5
5
|
var b = {
|
|
@@ -16,4 +16,4 @@ var b = {
|
|
|
16
16
|
export {
|
|
17
17
|
b as diagram
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=classDiagram-v2-
|
|
19
|
+
//# sourceMappingURL=classDiagram-v2-OCEON4UE-BOq63iUL.js.map
|
package/dist/component/{cose-bilkent-S5V4N54A-BIrVaakt.js → cose-bilkent-JH36ORCC-B9x8cp5w.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ba as lt, _ as V, l as k, d as gt } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
|
|
2
2
|
import { c as tt } from "./cytoscape.esm-C31R6JOv.js";
|
|
3
3
|
globalThis.process = globalThis.process || { env: {} };
|
|
4
4
|
globalThis.global = globalThis.global || globalThis;
|
|
@@ -2608,4 +2608,4 @@ var Lt = /* @__PURE__ */ V(async (G, b, {
|
|
|
2608
2608
|
export {
|
|
2609
2609
|
At as render
|
|
2610
2610
|
};
|
|
2611
|
-
//# sourceMappingURL=cose-bilkent-
|
|
2611
|
+
//# sourceMappingURL=cose-bilkent-JH36ORCC-B9x8cp5w.js.map
|