react-kggraph 0.0.35 → 0.0.37

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/lib/index.es3.js CHANGED
@@ -1,79 +1,79 @@
1
- import { jsx as f, jsxs as ne } from "react/jsx-runtime";
2
- import { useRef as C, useState as m, useEffect as T } from "react";
3
- import z from "cytoscape";
4
- import Ee from "cytoscape-cose-bilkent";
1
+ import { jsx as g, jsxs as ne } from "react/jsx-runtime";
2
+ import { useRef as k, useState as m, useEffect as T } from "react";
3
+ import C from "cytoscape";
4
+ import Ne from "cytoscape-cose-bilkent";
5
5
  import Pe from "cytoscape-cise";
6
- import Ne from "cytoscape-fcose";
7
- import je from "storm-layout";
8
- import we from "./index.es7.js";
6
+ import je from "cytoscape-fcose";
7
+ import we from "storm-layout";
8
+ import Le from "./index.es7.js";
9
9
  /* empty css */
10
- import { handleCalcPath as Le, resDetailData as Z } from "./index.es8.js";
10
+ import { handleCalcPath as Se, resDetailData as F } from "./index.es8.js";
11
11
  import { fixNodesToEdges as Oe, coseBilkentLayout as De } from "./index.es9.js";
12
- import { edgeNodeStyles as Re, defaultColors as se, nodeSize as Se } from "./index.es10.js";
13
- import Te from "cytoscape-layout-utilities";
14
- import { message as h } from "antd";
15
- import { menuItemsConfig as $e } from "./index.es11.js";
12
+ import { edgeNodeStyles as Re, defaultColors as se, nodeSize as Te } from "./index.es10.js";
13
+ import $e from "cytoscape-layout-utilities";
14
+ import { Spin as Ie, message as j } from "antd";
15
+ import { menuItemsConfig as Be } from "./index.es11.js";
16
16
  import { jsonStringify as w } from "./index.es12.js";
17
- import Ie from "./index.es13.js";
18
- import Be from "./index.es14.js";
19
- import { GraphProvider as Me } from "./index.es15.js";
20
- import Ae from "./index.es16.js";
21
- import We from "./index.es17.js";
22
- z.use(Te);
23
- z.use(Pe);
24
- z.use(Ne);
25
- z.use(je);
26
- z.use(Ee);
27
- const ct = ({
28
- data: E,
17
+ import Me from "./index.es13.js";
18
+ import Ae from "./index.es14.js";
19
+ import { GraphProvider as We } from "./index.es15.js";
20
+ import He from "./index.es16.js";
21
+ import Ze from "./index.es17.js";
22
+ C.use($e);
23
+ C.use(Pe);
24
+ C.use(je);
25
+ C.use(we);
26
+ C.use(Ne);
27
+ const pt = ({
28
+ data: z,
29
29
  getAllGraphData: $,
30
- highPathAnalysis: F = [],
31
- graphInfo: g,
30
+ highPathAnalysis: X = [],
31
+ graphInfo: u,
32
32
  stepNextApi: ae,
33
33
  knowledgeCardApi: re,
34
- colors: P,
34
+ colors: E,
35
35
  actionBar: ie,
36
36
  actionCircle: de,
37
37
  queryStatisticsConfig: le = [{ label: "实体", key: "entity" }, { label: "关系", key: "relation" }],
38
38
  className: ce,
39
- noDataDesc: He = "暂无数据"
39
+ noDataDesc: Fe = "暂无数据"
40
40
  }) => {
41
41
  var V, G;
42
- const L = C(null), [v, X] = m([]), c = C(null), q = C(null), K = 1, [Ze, U] = m(!1), [b, I] = m({}), [O, B] = m({}), [pe, ge] = m("cose-bilkent"), Y = C(null), _ = C(null), [ue, J] = m(["", ""]), M = C(P);
42
+ const L = k(null), [h, q] = m([]), c = k(null), K = k(null), U = 1, [pe, I] = m(!1), [v, B] = m({}), [S, M] = m({}), [ge, ue] = m("cose-bilkent"), Y = k(null), _ = k(null), [fe, J] = m(["", ""]), A = k(E);
43
43
  T(() => {
44
- M.current = P;
45
- }, [P]);
46
- const [u, N] = m({
44
+ A.current = E;
45
+ }, [E]);
46
+ const [f, N] = m({
47
47
  visible: !1,
48
48
  x: 0,
49
49
  y: 0,
50
50
  targetNode: null,
51
51
  bgColor: ""
52
- }), [D, Q] = m({
52
+ }), [O, Q] = m({
53
53
  visible: !1,
54
54
  x: 0,
55
55
  y: 0,
56
56
  content: ""
57
- }), fe = $e({ cyRef: c, setContextMenu: N, onPathAnalysis: (V = q.current) == null ? void 0 : V.onPathAnalysis, setPathNodes: J, actionCircle: de });
57
+ }), ye = Be({ cyRef: c, setContextMenu: N, onPathAnalysis: (V = K.current) == null ? void 0 : V.onPathAnalysis, setPathNodes: J, actionCircle: de });
58
58
  T(() => {
59
- const { nodes: e, links: t } = F || {};
60
- ((e == null ? void 0 : e.length) > 0 || (t == null ? void 0 : t.length) > 0) && Le(c, { nodes: e, links: t, isGrayed: !1 });
61
- }, [w(F), w(v)]), T(() => {
59
+ const { nodes: e, links: t } = X || {};
60
+ ((e == null ? void 0 : e.length) > 0 || (t == null ? void 0 : t.length) > 0) && Se(c, { nodes: e, links: t, isGrayed: !1 });
61
+ }, [w(X), w(h)]), T(() => {
62
62
  const e = [], t = [];
63
- v.forEach((d) => {
63
+ h.forEach((d) => {
64
64
  d.group === "nodes" ? e.push(d.data) : d.group === "edges" && t.push(d.data);
65
- }), $ == null || $({ graphData: v, nodeStatic: b, relationStatic: O, data: { nodes: e, links: t }, paths: E.paths, data2: E.data2, logId: E.logId, costtime: E.costtime });
66
- }, [w(v), w(b), w(O)]), T(() => {
65
+ }), $ == null || $({ graphData: h, nodeStatic: v, relationStatic: S, data: { nodes: e, links: t }, paths: z.paths, data2: z.data2, logId: z.logId, costtime: z.costtime });
66
+ }, [w(h), w(v), w(S)]), T(() => {
67
67
  var i;
68
68
  if (!L.current || c.current) return;
69
- const { elements: e, typeListObj: t, relationListObj: d } = Z(E, { typeObj: b, graphInfo: g });
70
- I(t), X(e), B(d), document.addEventListener("contextmenu", function(a) {
69
+ const { elements: e, typeListObj: t, relationListObj: d } = F(z, { typeObj: v, graphInfo: u });
70
+ B(t), q(e), M(d), document.addEventListener("contextmenu", function(a) {
71
71
  a.preventDefault();
72
72
  });
73
- const s = z({
73
+ const s = C({
74
74
  container: L.current,
75
75
  elements: e,
76
- style: Re({ elements: e, colors: P }),
76
+ style: Re({ elements: e, colors: E }),
77
77
  autounselectify: !1,
78
78
  autolock: !1,
79
79
  maxZoom: 1,
@@ -82,11 +82,11 @@ const ct = ({
82
82
  // 使用预设布局,完全依赖 position
83
83
  }
84
84
  });
85
- if (c.current = s, ((i = g == null ? void 0 : g.searchNodes) == null ? void 0 : i.length) === 2)
85
+ if (c.current = s, ((i = u == null ? void 0 : u.searchNodes) == null ? void 0 : i.length) === 2)
86
86
  Oe(
87
87
  s,
88
- g.searchNodes[0],
89
- g.searchNodes[1]
88
+ u.searchNodes[0],
89
+ u.searchNodes[1]
90
90
  );
91
91
  else {
92
92
  const a = s.layout(De());
@@ -98,7 +98,7 @@ const ct = ({
98
98
  var n;
99
99
  const o = a.target;
100
100
  if (!o.hasClass("path-edge")) {
101
- const r = ((n = M.current) == null ? void 0 : n.edgeHoverColor) ?? se.edgeHoverColor;
101
+ const r = ((n = A.current) == null ? void 0 : n.edgeHoverColor) ?? se.edgeHoverColor;
102
102
  o.style({
103
103
  "line-color": r,
104
104
  "target-arrow-color": r,
@@ -109,7 +109,7 @@ const ct = ({
109
109
  var n;
110
110
  const o = a.target;
111
111
  if (!o.hasClass("path-edge")) {
112
- const r = ((n = M.current) == null ? void 0 : n.edgeDefaultColor) ?? se.edgeDefaultColor;
112
+ const r = ((n = A.current) == null ? void 0 : n.edgeDefaultColor) ?? se.edgeDefaultColor;
113
113
  o.style({
114
114
  "line-color": r,
115
115
  "target-arrow-color": r,
@@ -150,15 +150,15 @@ const ct = ({
150
150
  c.current && (c.current.destroy(), c.current = null);
151
151
  };
152
152
  }, []);
153
- const ye = ({ addedNodes: e, currentNode: t, cy: d, currentZoom: s }) => {
153
+ const me = ({ addedNodes: e, currentNode: t, cy: d, currentZoom: s }) => {
154
154
  const i = e == null ? void 0 : e.length;
155
155
  t.data("originalPosition") || t.data("originalPosition", { ...t.position() });
156
156
  const a = Math.max(0.1, 18 / (i || 1)), o = d.layout({
157
157
  name: "concentric",
158
158
  spacingFactor: a,
159
159
  // 节点越多间距越小,防止溢出
160
- eles: e.union(t),
161
- // 只布局新节点+当前节点,不重算全图
160
+ // eles: addedNodes.union(currentNode), // 只布局新节点+当前节点,不重算全图
161
+ // eles: addedNodes, // 只布局新节点+当前节点,不重算全图
162
162
  minNodeSpacing: 0,
163
163
  // 最小间距设为0
164
164
  fit: !1,
@@ -176,10 +176,10 @@ const ct = ({
176
176
  // },
177
177
  // 添加随机偏移,打破完美圆环
178
178
  transform: function(n, r) {
179
- const p = (Math.random() - 0.5) * 40, x = (Math.random() - 0.5) * 10;
179
+ const p = (Math.random() - 0.5) * 40, b = (Math.random() - 0.5) * 10;
180
180
  return {
181
181
  x: r.x + p,
182
- y: r.y + x
182
+ y: r.y + b
183
183
  };
184
184
  }
185
185
  });
@@ -202,9 +202,9 @@ const ct = ({
202
202
  easing: "ease-out"
203
203
  });
204
204
  }
205
- })), h.destroy();
205
+ })), I(!1);
206
206
  }), o.run(), d.nodes().forEach((n) => n.unlock());
207
- }, me = async (e) => {
207
+ }, he = async (e) => {
208
208
  const { id: t, kgId: d } = e, s = c.current;
209
209
  if (!s) return;
210
210
  const i = s.$id(t);
@@ -216,28 +216,28 @@ const ct = ({
216
216
  if (a.length > 0) {
217
217
  const n = a.map((l) => l.id()), r = a.connectedEdges(), p = s.edges().filter(
218
218
  (l) => l.data("source") === t && n.includes(l.data("target"))
219
- ), x = s.edges().filter((l) => l.data("appendedBy") === t), A = r.merge(p).merge(x).filter((l) => l.data().zktype === e.zktype);
219
+ ), b = s.edges().filter((l) => l.data("appendedBy") === t), W = r.merge(p).merge(b).filter((l) => l.data().zktype === e.zktype);
220
220
  a.animate({
221
221
  style: { opacity: 0 }
222
222
  }, {
223
223
  duration: 200,
224
224
  complete: () => {
225
- s.remove(a), s.remove(A), X((ee) => {
226
- const j = ee.filter((k) => {
225
+ s.remove(a), s.remove(W), q((ee) => {
226
+ const P = ee.filter((x) => {
227
227
  var te, oe;
228
- const S = k.data.zktype;
229
- if (k.group === "nodes" && n.includes((te = k.data) == null ? void 0 : te.id) && S && S === e.zktype)
228
+ const R = x.data.zktype;
229
+ if (x.group === "nodes" && n.includes((te = x.data) == null ? void 0 : te.id) && R && R === e.zktype)
230
230
  return !1;
231
- if (k.group === "edges" && S && S === e.zktype) {
232
- const xe = Array.from(x).map((ze) => {
233
- const H = ze.data();
234
- return `${H.source}-${H.target}-${H.label}`;
235
- }), W = k.data, ke = xe.includes(`${W.source}-${W.target}-${W.label}`), Ce = ((oe = k.data) == null ? void 0 : oe.appendedBy) === t;
236
- return !ke && !Ce;
231
+ if (x.group === "edges" && R && R === e.zktype) {
232
+ const ke = Array.from(b).map((Ee) => {
233
+ const Z = Ee.data();
234
+ return `${Z.source}-${Z.target}-${Z.label}`;
235
+ }), H = x.data, Ce = ke.includes(`${H.source}-${H.target}-${H.label}`), ze = ((oe = x.data) == null ? void 0 : oe.appendedBy) === t;
236
+ return !Ce && !ze;
237
237
  }
238
238
  return !0;
239
- }), { typeListObj: y, relationListObj: R } = Z({}, { graphData: j, typeObj: {} });
240
- return I(y), B(R), j;
239
+ }), { typeListObj: y, relationListObj: D } = F({}, { graphData: P, typeObj: {} });
240
+ return B(y), M(D), P;
241
241
  }), i.data("appendedNodes", []), i.data("isExpanded", !1);
242
242
  const l = i.data("originalPosition");
243
243
  l && (i.animate({
@@ -249,27 +249,23 @@ const ct = ({
249
249
  }, 300);
250
250
  } else {
251
251
  try {
252
- U(!0), h.open({
253
- type: "loading",
254
- content: "正在展开...",
255
- duration: 0
256
- });
257
- const n = await ae({ uri: t, queryType: 1, kgId: d, zktype: e.zktype }), { elements: r, typeListObj: p, relationListObj: x } = Z(n.data, { graphData: v, typeObj: b, relationObj: O, zktype: e.zktype });
258
- if (I(p), B(x), !((r == null ? void 0 : r.length) > 0)) {
252
+ I(!0);
253
+ const n = await ae({ uri: t, queryType: 1, kgId: d, zktype: e.zktype }), { elements: r, typeListObj: p, relationListObj: b } = F(n.data, { graphData: h, typeObj: v, relationObj: S, zktype: e.zktype });
254
+ if (B(p), M(b), !((r == null ? void 0 : r.length) > 0)) {
259
255
  setTimeout(() => {
260
- h.destroy(), h.warning("暂无数据");
256
+ j.destroy(), j.warning("暂无数据");
261
257
  }, 2e3);
262
258
  return;
263
259
  }
264
- const A = s.zoom();
260
+ const W = s.zoom();
265
261
  if ((r == null ? void 0 : r.length) > 0) {
266
262
  const l = r.map((y) => {
267
263
  if (y.group === "nodes") {
268
- const R = Se * K;
264
+ const D = Te * U;
269
265
  return {
270
266
  ...y,
271
267
  // position,
272
- style: { opacity: 0, width: R, height: R },
268
+ style: { opacity: 0, width: D, height: D },
273
269
  data: {
274
270
  ...y.data,
275
271
  parentId: t,
@@ -287,29 +283,29 @@ const ct = ({
287
283
  data: { ...y.data, appendedBy: t, zktype: e.zktype }
288
284
  };
289
285
  });
290
- console.log(888, l), s.nodes().lock(), i.unlock();
291
- const j = s.add(l).filter(":node");
292
- j.style("opacity", 0), ye({ addedNodes: j, currentNode: i, cy: s, currentZoom: A });
286
+ s.nodes().lock(), i.unlock();
287
+ const P = s.add(l).filter(":node");
288
+ P.style("opacity", 0), me({ addedNodes: P, currentNode: i, cy: s, currentZoom: W });
293
289
  } else
294
290
  console.log("没有找到相关节点数据");
295
- h.destroy();
291
+ j.destroy();
296
292
  } catch (n) {
297
- h.destroy(), h.error("请求接口失败"), console.error("22请求接口失败:", n);
293
+ j.destroy(), j.error("请求接口失败"), console.error("22请求接口失败:", n);
298
294
  }
299
- U(!1);
295
+ I(!1);
300
296
  }
301
297
  N({ visible: !1 });
302
- }, he = {
298
+ }, ve = {
303
299
  expanded: "typed-literal",
304
300
  contract: "uri"
305
- }, ve = (e, t) => {
301
+ }, be = (e, t) => {
306
302
  var s;
307
303
  console.log("handleMenuAction:::", e, t);
308
- const d = t || u.targetNode;
304
+ const d = t || f.targetNode;
309
305
  if (d) {
310
306
  const i = e.ids, a = d.data();
311
307
  if (["expanded", "contract"].includes(i))
312
- me({ kgId: g.kgId, ...a, zktype: he[i] });
308
+ he({ kgId: u.kgId, ...a, zktype: ve[i] });
313
309
  else if (i === "nodeInfo") {
314
310
  const o = d, n = {
315
311
  id: o.id(),
@@ -325,36 +321,36 @@ const ct = ({
325
321
  } else i === "knowledgeCard" && _.current.open(d.data());
326
322
  (s = e.onClick) == null || s.call(e, d), N({ visible: !1, x: 0, y: 0, targetNode: null });
327
323
  }
328
- }, be = () => {
324
+ }, xe = () => {
329
325
  const e = {};
330
- return Object.keys(b).forEach((t) => {
331
- t !== "_" && (e[t] = b[t]);
326
+ return Object.keys(v).forEach((t) => {
327
+ t !== "_" && (e[t] = v[t]);
332
328
  }), e;
333
329
  };
334
- return /* @__PURE__ */ f(Me, { value: { pathNodes: ue, setPathNodes: J, graphInfo: g, graphData: v, layoutType: pe, setLayoutType: ge, knowledgeCardApi: re, queryStatisticsConfig: le, actionBar: ie }, children: /* @__PURE__ */ ne("div", { className: We("cytoscape-container relative", ce), children: [
335
- /* @__PURE__ */ f("div", { className: "btn-group" }),
336
- /* @__PURE__ */ f(
337
- we,
330
+ return /* @__PURE__ */ g(We, { value: { pathNodes: fe, setPathNodes: J, graphInfo: u, graphData: h, layoutType: ge, setLayoutType: ue, knowledgeCardApi: re, queryStatisticsConfig: le, actionBar: ie }, children: /* @__PURE__ */ ne("div", { className: Ze("cytoscape-container relative", ce), children: [
331
+ /* @__PURE__ */ g("div", { className: "btn-group" }),
332
+ /* @__PURE__ */ g(
333
+ Le,
338
334
  {
339
- ref: q,
335
+ ref: K,
340
336
  cyRef: c,
341
- graphInfo: g,
342
- initNodeScale: K,
337
+ graphInfo: u,
338
+ initNodeScale: U,
343
339
  cyContainerRef: L,
344
- typeObj: be(),
345
- relationObj: O,
346
- colors: P
340
+ typeObj: xe(),
341
+ relationObj: S,
342
+ colors: E
347
343
  }
348
344
  ),
349
345
  /* @__PURE__ */ ne("div", { className: "relative h-100", children: [
350
- /* @__PURE__ */ f("div", { ref: L, className: "cy-container" }),
351
- u.visible && u.targetNode && /* @__PURE__ */ f(
346
+ /* @__PURE__ */ g("div", { ref: L, className: "cy-container" }),
347
+ f.visible && f.targetNode && /* @__PURE__ */ g(
352
348
  "div",
353
349
  {
354
350
  style: {
355
351
  position: "absolute",
356
- left: `${u.x}px`,
357
- top: `${u.y}px`,
352
+ left: `${f.x}px`,
353
+ top: `${f.y}px`,
358
354
  // backgroundColor: 'white',
359
355
  // border: '1px solid #ccc',
360
356
  // borderRadius: '50%',
@@ -368,16 +364,16 @@ const ct = ({
368
364
  overflow: "hidden"
369
365
  },
370
366
  onClick: (e) => e.stopPropagation(),
371
- children: /* @__PURE__ */ f(Ie, { items: fe, centerImage: (G = u == null ? void 0 : u.targetNode) == null ? void 0 : G.data().image, targetNode: u.targetNode, onClick: (e, t) => ve(e, t) })
367
+ children: /* @__PURE__ */ g(Me, { items: ye, centerImage: (G = f == null ? void 0 : f.targetNode) == null ? void 0 : G.data().image, targetNode: f.targetNode, onClick: (e, t) => be(e, t) })
372
368
  }
373
369
  ),
374
- D.visible && /* @__PURE__ */ f(
370
+ O.visible && /* @__PURE__ */ g(
375
371
  "div",
376
372
  {
377
373
  style: {
378
374
  position: "absolute",
379
- left: `${D.x}px`,
380
- top: `${D.y}px`,
375
+ left: `${O.x}px`,
376
+ top: `${O.y}px`,
381
377
  transform: "translateX(-50%)",
382
378
  backgroundColor: "rgba(0, 0, 0, 0.85)",
383
379
  color: "#fff",
@@ -391,14 +387,15 @@ const ct = ({
391
387
  overflow: "hidden",
392
388
  textOverflow: "ellipsis"
393
389
  },
394
- children: D.content
390
+ children: O.content
395
391
  }
396
392
  )
397
393
  ] }),
398
- /* @__PURE__ */ f(Be, { ref: Y, cyRef: c }),
399
- /* @__PURE__ */ f(Ae, { ref: _ })
394
+ /* @__PURE__ */ g(Ae, { ref: Y, cyRef: c }),
395
+ /* @__PURE__ */ g(He, { ref: _ }),
396
+ /* @__PURE__ */ g(Ie, { spinning: pe, className: "Spin-loading", description: "Loading", size: "large", fullscreen: !0 })
400
397
  ] }) });
401
398
  };
402
399
  export {
403
- ct as default
400
+ pt as default
404
401
  };
package/lib/style.css CHANGED
@@ -1 +1 @@
1
- *{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;padding:0}.cytoscape-container{width:100%;height:100%}.search-input{padding:8px 12px;width:300px;margin-bottom:10px;border:1px solid #ddd;border-radius:4px}.btn-group{margin-bottom:10px}.btn{padding:8px 16px;margin:0 5px;border:none;border-radius:4px;background:#4285f4;color:#fff;cursor:pointer}.btn:hover{background:#3367d6}.result-text{margin-bottom:10px;color:#333;font-size:14px}.cy-container{width:100%;height:100%}.cy-container :global(.grayed){opacity:.3!important;background-color:#bdbdbd!important;color:#757575!important}.cy-container :global(.highlighted){background-color:#ffeb3b!important;border-color:#fbc02d!important;color:#333!important}.cy-container :global(.selected){border-color:#4caf50!important;background-color:#a5d6a7!important;color:#1b5e20!important}.cy-container .cy-edge:selected{line-color:#ea4335;line-width:3px;line-style:solid}.cy-container .cy-node:hover:not(:selected){background-color:#3367d6}.cy-container .cy-edge:hover:not(:selected){line-color:#757575}.path-nodes-container{margin-bottom:15px}.path-nodes-container h3{margin:10px 0;font-size:16px;color:#333}.node-input-row{display:flex;align-items:center;margin-bottom:8px}.node-input-row span{margin-right:10px;min-width:60px}.node-input-row input{flex:1;margin-right:10px}.remove-node-btn{background:#f44336;padding:6px 12px;font-size:12px}.add-node-btn{background:#4caf50;padding:8px 16px;margin-top:10px}.menuBtn:nth-child(1){transform:rotate(0) skew(31deg)}.menuBtn:nth-child(2){transform:rotate(51deg) skew(31deg)}.menuBtn:nth-child(3){transform:rotate(102deg) skew(31deg)}.menuBtn:nth-child(4){transform:rotate(153deg) skew(31deg)}.menuBtn:nth-child(5){transform:rotate(204deg) skew(31deg)}.menuBtn:nth-child(6){transform:rotate(255deg) skew(31deg)}.menuBtn:nth-child(7){transform:rotate(306deg) skew(35deg)}.menuBtn .menu-item{color:#fff;display:block;width:50px;height:20px;position:absolute;text-align:center;font-size:12px}.menuBtn .menu-item:hover{background:transparent!important}.menuBtn .menu-item{bottom:5px;right:19px;transform:skew(-30deg) translate(-9%) rotate(2deg) translateY(0)}.menuCertent{width:60px;height:60px;display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;margin-top:-15%;margin-left:-15%;z-index:999;border-radius:50%;color:#fff;text-align:center;font-size:16px;cursor:pointer;border:2px solid #c9cec9}.opacity-30{opacity:.3}.cursor{cursor:pointer}.my-4px{margin:4px 0}.z-10{z-index:10}.hidden{display:none}.w-20px{width:20px}.h-100{height:100%}.rounded-50{border-radius:10%}.relative{position:relative}.absolute{position:absolute}.w-100{width:100%}.graph-bar{position:absolute;display:flex;align-items:center;z-index:10}.graph-bar .graph-bar-min-vertical{padding:0!important}.graph-bar .graph-bar-min{display:flex;background:#fff;padding:4px;box-shadow:0 4px 20px #100dae33;border-radius:6px;flex-wrap:nowrap;gap:10px;width:auto;white-space:nowrap}.graph-bar .graph-bar-menu{position:relative;cursor:pointer;margin:0 10px;white-space:nowrap;display:flex;align-items:center}.graph-bar .graph-bar-menu:hover .grap-menu-dropdown-item{color:#145afd}.graph-bar .grap-menu-dropdown{background:#fff;box-shadow:0 4px 20px #0000003b;border-radius:6px;position:absolute;padding:5px 0;z-index:99;top:60px}.graph-bar .grap-menu-dropdown p{white-space:nowrap;padding:5px 15px}.graph-bar .grap-menu-dropdown p:hover{background:#f5f5f5;color:#145afd}.graph-bar .grap-menu-dropdown-item{display:flex;cursor:pointer;flex-direction:column;align-items:center}.graph-bar .hide{display:none}.graph-bar .show{display:block}.graph-bar .graph-bar-expand-wrapper-vertical{overflow:hidden;max-height:1000px;transition:max-height .3s ease-in-out,opacity .3s ease-in-out,margin .3s ease-in-out;opacity:1}.graph-bar .graph-bar-expand-wrapper{overflow:hidden;max-width:1000px;transition:max-height .3s ease-in-out,opacity .3s ease-in-out,margin .3s ease-in-out;opacity:1}.graph-bar .graph-bar-expand-wrapper.collapsed{max-width:0;opacity:0;margin:0!important}.graph-bar .graph-bar-expand-wrapper-vertical.collapsed-vertical{max-height:0;opacity:0;margin:0!important}.graph-bar .graph-bar-min:not(.graph-bar-min-vertical) .graph-bar-expand-wrapper{display:flex;align-items:center;gap:10px;margin-left:10px;margin-right:10px}.graph-bar.graph-bar-vertical{flex-direction:column}.graph-bar.graph-bar-vertical .graph-bar-min{flex-direction:column;align-items:flex-start;position:relative;padding-bottom:0!important}.graph-bar.graph-bar-vertical .graph-bar-expand-wrapper{flex-direction:column;width:100%}.graph-bar.graph-bar-vertical .cursor{align-self:flex-end;flex-shrink:0;position:relative}.graph-bar.graph-bar-vertical .cursor:before{content:"";position:absolute;top:-10px;left:0;right:0;height:10px}.graph-bar.graph-bar-vertical .grap-menu-dropdown{top:auto;left:60px;right:auto}.graph-bar .bar-item{color:#999;font-size:12px;margin:12px 0}.graph-bar .oprate-btn{width:76px;color:#145afd;border-right:1px solid #f0f0f0}.graph-bar .oprate-btn-vertical{width:76px;padding:10px 0;color:#145afd;border-top:1px solid #f0f0f0}.gtaph-statics{right:0;z-index:1;background:#fff;padding:10px 20px 20px;box-sizing:border-box;border-radius:10px;width:200px;box-shadow:0 4px 20px #0000003b}.hove-active{cursor:pointer;font-size:14px}.hove-active:hover{color:#145afd}.font-12{font-size:12px}.setting-form{display:flex;flex-direction:column;height:100%}.setting-form .setting-form-content{flex:1;overflow-y:auto;padding:16px}.setting-form .setting-form-footer{position:sticky;bottom:0;background:#fff;padding:16px;border-top:1px solid #f0f0f0;margin-top:auto}.setting-form .setting-form-footer .ant-form-item{margin-bottom:0}.static-wraper{font-size:12px;color:#666}.color-333{color:#333}.rounded-50{border-radius:50%!important}.text-666{color:#666;font-size:12px}.query-node{width:300px;position:absolute;background-color:#fff;right:0;top:20px;padding:10px 20px;border-radius:10px}.path-node{width:380px;position:absolute;background-color:#fff;right:0;padding:10px 20px;border-radius:10px;box-shadow:0 4px 20px #0000003b;z-index:10}.path-node .title{display:flex;justify-content:space-between;height:35px;align-items:center;margin-bottom:10px;font-weight:700;font-size:14px}.path-node .search-input{margin-bottom:0;padding-bottom:5px}.path-node .btn-group{display:flex;justify-content:flex-end;margin-top:20px}.path-node .ant-select-suffix{width:10px}.query-node{width:300px;position:absolute;background-color:#fff;right:0;padding:10px 20px;border-radius:10px;box-shadow:0 4px 20px #0000003b}.query-node .title{display:flex;justify-content:space-between;height:35px;align-items:center;margin-bottom:10px;font-weight:700;font-size:14px}.radial-menu{position:relative;display:inline-flex;align-items:center;justify-content:center}.radial-svg{position:absolute;top:0;left:0}.sector-group{cursor:pointer;transition:all .2s ease}.sector-group .sector-path{transition:all .2s ease}.sector-group:hover .sector-path{filter:brightness(1.15) drop-shadow(0 2px 4px rgba(0,0,0,.3))}.sector-label{pointer-events:none;text-shadow:0 1px 3px rgba(0,0,0,.4);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.center-avatar{position:absolute;z-index:10;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 15px #0000004d;transition:all .3s ease;overflow:hidden;color:#fff;font-weight:500}.center-avatar img{width:100%;height:100%;object-fit:cover}.center-avatar .center-text{font-size:14px;text-align:center}.center-avatar:hover{transform:scale(1.08);box-shadow:0 6px 20px #0006}.center-avatar:active{transform:scale(.95)}.drawer-wraper,.knowledge-card-drawer{padding-bottom:20px}.drawer-wraper .title,.knowledge-card-drawer .title{font-weight:700;font-size:14px;color:#3d3d3d;position:relative;padding-left:8px}.drawer-wraper .title:before,.knowledge-card-drawer .title:before{position:absolute;left:0;transform:translateY(-50%);top:50%;content:"";width:3px;height:17px;background:#145afd}.drawer-wraper .graph-item,.knowledge-card-drawer .graph-item{height:26px;border-bottom:1px solid #E5E5E5;background:#edf3fe}.drawer-wraper .graph-item:hover,.knowledge-card-drawer .graph-item:hover{background:#edf3fe}.drawer-wraper .noraml-type,.knowledge-card-drawer .noraml-type{font-size:14px;color:#145afd;line-height:26px;text-align:center;border-right:1px solid #E5E5E5}.drawer-wraper .noraml-text,.knowledge-card-drawer .noraml-text{font-size:14px;color:#333;line-height:26px}.drawer-wraper .selected-item,.knowledge-card-drawer .selected-item{background:#edf3fe;color:#1890ff}.drawer-wraper .selected-item .noraml-type,.knowledge-card-drawer .selected-item .noraml-type{background:#347bfc;color:#fff}.drawer-wraper .drawer-card-title,.knowledge-card-drawer .drawer-card-title{font-weight:600;font-size:14px;color:#333;position:relative;padding-bottom:10px;margin:15px 0 10px;cursor:pointer}.drawer-wraper .drawer-card-title:hover,.knowledge-card-drawer .drawer-card-title:hover{color:#145afd}.drawer-wraper .drawer-card-title:after,.knowledge-card-drawer .drawer-card-title:after{content:"";position:absolute;border-bottom:1px solid #DFDFDF;width:100%;left:0;bottom:0}.drawer-wraper .drawer-card-title:before,.knowledge-card-drawer .drawer-card-title:before{content:"";position:absolute;border-bottom:1px solid #145AFD;width:64px;left:0;bottom:0;z-index:1}.collapse-wrap{border-color:#dfdfdf;border-radius:0;height:calc(100vh - 480px);overflow-y:auto}.collapse-wrap .ant-collapse-header{padding:9px 10px!important;background:#fff}.collapse-wrap .ant-collapse-item{border-color:#dfdfdf}.collapse-wrap .ant-collapse-title{font-size:14px;font-weight:700;color:#3d3d3d}.collapse-wrap .ant-collapse-body{max-height:calc(100vh - 550px);overflow-y:auto;width:298px;padding:0 16px 16px!important}.collapse-wrap .ant-collapse-body .ant-card-body{padding:0!important}.collapse-wrap .ant-collapse-body .ant-card{border:none}.property-section-wraper .section-item{display:flex;margin-top:4px}.property-section-wraper .detail-label{color:#333;font-size:14px;white-space:nowrap;flex-shrink:0}.property-section-wraper .detail-value{color:#383838;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-wraper .video-item{height:185px;position:relative;background:#333;border-radius:6px}.video-wraper .video-item-video{width:100%;height:100%;border-radius:6px;object-fit:cover}.relation-section-wraper{display:flex;flex-wrap:wrap;gap:10px}.relation-section-wraper .group{width:100%}.relation-section-wraper .section-card{width:100%;height:100%;border:1px solid #DFDFDF}.relation-section-wraper .section-title{margin-bottom:7px}.relation-section-wraper .entity-name-list{font-size:16px;font-weight:700}.relation-section-wraper .view-details-btn{color:#145afd}.relation-section-wraper .detail-item-tag{background-color:#e6f2ff;font-size:14px;border:1px solid #bdf;border-top-left-radius:10px;border-bottom-right-radius:10px;padding:0 13px;color:#1082fe;margin-right:3px}.relation-section-wraper .detail-item-tag1{background-color:#fff5df;font-size:14px;border:1px solid #FFE0B8;border-top-left-radius:10px;border-bottom-right-radius:10px;padding:0 13px;color:#ff9418}.relation-section-wraper .detail-item-list{margin-bottom:3px}.relation-section-wraper .detail-label{color:#676a6c;font-size:14px;white-space:nowrap;flex-shrink:0}.relation-section-wraper .detail-value{color:#383838;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.relation-section-wraper .mb-18px{margin-bottom:18px}.knowledge-card-click{height:100%;overflow:hidden}.knowledge-card-click .drawer-card-title2{font-weight:700;flex-wrap:nowrap;padding-bottom:10px;border-bottom:1px solid #e4e7ed;cursor:pointer;color:#333;margin:14px 0}.knowledge-card-click .drawer-card-title2:hover,.knowledge-card-click .drawer-card-title2.active{color:#145afd}.knowledge-card-click .card-item-click{flex-shrink:0;margin-right:10px;border-right:1px solid #e4e7ed;padding-right:10px;height:100%;background:#fff}.knowledge-card-click .knowledge-card-content{height:100%;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.knowledge-card-click .knowledge-card-content::-webkit-scrollbar{display:none}
1
+ *{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;padding:0}.cytoscape-container{width:100%;height:100%}.search-input{padding:8px 12px;width:300px;margin-bottom:10px;border:1px solid #ddd;border-radius:4px}.btn-group{margin-bottom:10px}.btn{padding:8px 16px;margin:0 5px;border:none;border-radius:4px;background:#4285f4;color:#fff;cursor:pointer}.btn:hover{background:#3367d6}.result-text{margin-bottom:10px;color:#333;font-size:14px}.cy-container{width:100%;height:100%}.cy-container :global(.grayed){opacity:.3!important;background-color:#bdbdbd!important;color:#757575!important}.cy-container :global(.highlighted){background-color:#ffeb3b!important;border-color:#fbc02d!important;color:#333!important}.cy-container :global(.selected){border-color:#4caf50!important;background-color:#a5d6a7!important;color:#1b5e20!important}.cy-container .cy-edge:selected{line-color:#ea4335;line-width:3px;line-style:solid}.cy-container .cy-node:hover:not(:selected){background-color:#3367d6}.cy-container .cy-edge:hover:not(:selected){line-color:#757575}.path-nodes-container{margin-bottom:15px}.path-nodes-container h3{margin:10px 0;font-size:16px;color:#333}.node-input-row{display:flex;align-items:center;margin-bottom:8px}.node-input-row span{margin-right:10px;min-width:60px}.node-input-row input{flex:1;margin-right:10px}.remove-node-btn{background:#f44336;padding:6px 12px;font-size:12px}.add-node-btn{background:#4caf50;padding:8px 16px;margin-top:10px}.menuBtn:nth-child(1){transform:rotate(0) skew(31deg)}.menuBtn:nth-child(2){transform:rotate(51deg) skew(31deg)}.menuBtn:nth-child(3){transform:rotate(102deg) skew(31deg)}.menuBtn:nth-child(4){transform:rotate(153deg) skew(31deg)}.menuBtn:nth-child(5){transform:rotate(204deg) skew(31deg)}.menuBtn:nth-child(6){transform:rotate(255deg) skew(31deg)}.menuBtn:nth-child(7){transform:rotate(306deg) skew(35deg)}.menuBtn .menu-item{color:#fff;display:block;width:50px;height:20px;position:absolute;text-align:center;font-size:12px}.menuBtn .menu-item:hover{background:transparent!important}.menuBtn .menu-item{bottom:5px;right:19px;transform:skew(-30deg) translate(-9%) rotate(2deg) translateY(0)}.menuCertent{width:60px;height:60px;display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;margin-top:-15%;margin-left:-15%;z-index:999;border-radius:50%;color:#fff;text-align:center;font-size:16px;cursor:pointer;border:2px solid #c9cec9}.opacity-30{opacity:.3}.cursor{cursor:pointer}.my-4px{margin:4px 0}.z-10{z-index:10}.hidden{display:none}.w-20px{width:20px}.h-100{height:100%}.rounded-50{border-radius:10%}.relative{position:relative}.absolute{position:absolute}.w-100{width:100%}.Spin-loading{width:100%;height:100%;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:#0000000d}.Spin-loading .ant-spin-section,.Spin-loading .ant-spin-section .ant-spin-description{color:#1677ff}.graph-bar{position:absolute;display:flex;align-items:center;z-index:10}.graph-bar .graph-bar-min-vertical{padding:0!important}.graph-bar .graph-bar-min{display:flex;background:#fff;padding:4px;box-shadow:0 4px 20px #100dae33;border-radius:6px;flex-wrap:nowrap;gap:10px;width:auto;white-space:nowrap}.graph-bar .graph-bar-menu{position:relative;cursor:pointer;margin:0 10px;white-space:nowrap;display:flex;align-items:center}.graph-bar .graph-bar-menu:hover .grap-menu-dropdown-item{color:#145afd}.graph-bar .grap-menu-dropdown{background:#fff;box-shadow:0 4px 20px #0000003b;border-radius:6px;position:absolute;padding:5px 0;z-index:99;top:60px}.graph-bar .grap-menu-dropdown p{white-space:nowrap;padding:5px 15px}.graph-bar .grap-menu-dropdown p:hover{background:#f5f5f5;color:#145afd}.graph-bar .grap-menu-dropdown-item{display:flex;cursor:pointer;flex-direction:column;align-items:center}.graph-bar .hide{display:none}.graph-bar .show{display:block}.graph-bar .graph-bar-expand-wrapper-vertical{overflow:hidden;max-height:1000px;transition:max-height .3s ease-in-out,opacity .3s ease-in-out,margin .3s ease-in-out;opacity:1}.graph-bar .graph-bar-expand-wrapper{overflow:hidden;max-width:1000px;transition:max-height .3s ease-in-out,opacity .3s ease-in-out,margin .3s ease-in-out;opacity:1}.graph-bar .graph-bar-expand-wrapper.collapsed{max-width:0;opacity:0;margin:0!important}.graph-bar .graph-bar-expand-wrapper-vertical.collapsed-vertical{max-height:0;opacity:0;margin:0!important}.graph-bar .graph-bar-min:not(.graph-bar-min-vertical) .graph-bar-expand-wrapper{display:flex;align-items:center;gap:10px;margin-left:10px;margin-right:10px}.graph-bar.graph-bar-vertical{flex-direction:column}.graph-bar.graph-bar-vertical .graph-bar-min{flex-direction:column;align-items:flex-start;position:relative;padding-bottom:0!important}.graph-bar.graph-bar-vertical .graph-bar-expand-wrapper{flex-direction:column;width:100%}.graph-bar.graph-bar-vertical .cursor{align-self:flex-end;flex-shrink:0;position:relative}.graph-bar.graph-bar-vertical .cursor:before{content:"";position:absolute;top:-10px;left:0;right:0;height:10px}.graph-bar.graph-bar-vertical .grap-menu-dropdown{top:auto;left:60px;right:auto}.graph-bar .bar-item{color:#999;font-size:12px;margin:12px 0}.graph-bar .oprate-btn{width:76px;color:#145afd;border-right:1px solid #f0f0f0}.graph-bar .oprate-btn-vertical{width:76px;padding:10px 0;color:#145afd;border-top:1px solid #f0f0f0}.gtaph-statics{right:0;z-index:1;background:#fff;padding:10px 20px 20px;box-sizing:border-box;border-radius:10px;width:200px;box-shadow:0 4px 20px #0000003b}.hove-active{cursor:pointer;font-size:14px}.hove-active:hover{color:#145afd}.font-12{font-size:12px}.setting-form{display:flex;flex-direction:column;height:100%}.setting-form .setting-form-content{flex:1;overflow-y:auto;padding:16px}.setting-form .setting-form-footer{position:sticky;bottom:0;background:#fff;padding:16px;border-top:1px solid #f0f0f0;margin-top:auto}.setting-form .setting-form-footer .ant-form-item{margin-bottom:0}.static-wraper{font-size:12px;color:#666}.color-333{color:#333}.rounded-50{border-radius:50%!important}.text-666{color:#666;font-size:12px}.query-node{width:300px;position:absolute;background-color:#fff;right:0;top:20px;padding:10px 20px;border-radius:10px}.path-node{width:380px;position:absolute;background-color:#fff;right:0;padding:10px 20px;border-radius:10px;box-shadow:0 4px 20px #0000003b;z-index:10}.path-node .title{display:flex;justify-content:space-between;height:35px;align-items:center;margin-bottom:10px;font-weight:700;font-size:14px}.path-node .search-input{margin-bottom:0;padding-bottom:5px}.path-node .btn-group{display:flex;justify-content:flex-end;margin-top:20px}.path-node .ant-select-suffix{width:10px}.query-node{width:300px;position:absolute;background-color:#fff;right:0;padding:10px 20px;border-radius:10px;box-shadow:0 4px 20px #0000003b}.query-node .title{display:flex;justify-content:space-between;height:35px;align-items:center;margin-bottom:10px;font-weight:700;font-size:14px}.radial-menu{position:relative;display:inline-flex;align-items:center;justify-content:center}.radial-svg{position:absolute;top:0;left:0}.sector-group{cursor:pointer;transition:all .2s ease}.sector-group .sector-path{transition:all .2s ease}.sector-group:hover .sector-path{filter:brightness(1.15) drop-shadow(0 2px 4px rgba(0,0,0,.3))}.sector-label{pointer-events:none;text-shadow:0 1px 3px rgba(0,0,0,.4);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.center-avatar{position:absolute;z-index:10;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 15px #0000004d;transition:all .3s ease;overflow:hidden;color:#fff;font-weight:500}.center-avatar img{width:100%;height:100%;object-fit:cover}.center-avatar .center-text{font-size:14px;text-align:center}.center-avatar:hover{transform:scale(1.08);box-shadow:0 6px 20px #0006}.center-avatar:active{transform:scale(.95)}.drawer-wraper,.knowledge-card-drawer{padding-bottom:20px}.drawer-wraper .title,.knowledge-card-drawer .title{font-weight:700;font-size:14px;color:#3d3d3d;position:relative;padding-left:8px}.drawer-wraper .title:before,.knowledge-card-drawer .title:before{position:absolute;left:0;transform:translateY(-50%);top:50%;content:"";width:3px;height:17px;background:#145afd}.drawer-wraper .graph-item,.knowledge-card-drawer .graph-item{height:26px;border-bottom:1px solid #E5E5E5;background:#edf3fe}.drawer-wraper .graph-item:hover,.knowledge-card-drawer .graph-item:hover{background:#edf3fe}.drawer-wraper .noraml-type,.knowledge-card-drawer .noraml-type{font-size:14px;color:#145afd;line-height:26px;text-align:center;border-right:1px solid #E5E5E5}.drawer-wraper .noraml-text,.knowledge-card-drawer .noraml-text{font-size:14px;color:#333;line-height:26px}.drawer-wraper .selected-item,.knowledge-card-drawer .selected-item{background:#edf3fe;color:#1890ff}.drawer-wraper .selected-item .noraml-type,.knowledge-card-drawer .selected-item .noraml-type{background:#347bfc;color:#fff}.drawer-wraper .drawer-card-title,.knowledge-card-drawer .drawer-card-title{font-weight:600;font-size:14px;color:#333;position:relative;padding-bottom:10px;margin:15px 0 10px;cursor:pointer}.drawer-wraper .drawer-card-title:hover,.knowledge-card-drawer .drawer-card-title:hover{color:#145afd}.drawer-wraper .drawer-card-title:after,.knowledge-card-drawer .drawer-card-title:after{content:"";position:absolute;border-bottom:1px solid #DFDFDF;width:100%;left:0;bottom:0}.drawer-wraper .drawer-card-title:before,.knowledge-card-drawer .drawer-card-title:before{content:"";position:absolute;border-bottom:1px solid #145AFD;width:64px;left:0;bottom:0;z-index:1}.collapse-wrap{border-color:#dfdfdf;border-radius:0;height:calc(100vh - 480px);overflow-y:auto}.collapse-wrap .ant-collapse-header{padding:9px 10px!important;background:#fff}.collapse-wrap .ant-collapse-item{border-color:#dfdfdf}.collapse-wrap .ant-collapse-title{font-size:14px;font-weight:700;color:#3d3d3d}.collapse-wrap .ant-collapse-body{max-height:calc(100vh - 550px);overflow-y:auto;width:298px;padding:0 16px 16px!important}.collapse-wrap .ant-collapse-body .ant-card-body{padding:0!important}.collapse-wrap .ant-collapse-body .ant-card{border:none}.property-section-wraper .section-item{display:flex;margin-top:4px}.property-section-wraper .detail-label{color:#333;font-size:14px;white-space:nowrap;flex-shrink:0}.property-section-wraper .detail-value{color:#383838;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-wraper .video-item{height:185px;position:relative;background:#333;border-radius:6px}.video-wraper .video-item-video{width:100%;height:100%;border-radius:6px;object-fit:cover}.relation-section-wraper{display:flex;flex-wrap:wrap;gap:10px}.relation-section-wraper .group{width:100%}.relation-section-wraper .section-card{width:100%;height:100%;border:1px solid #DFDFDF}.relation-section-wraper .section-title{margin-bottom:7px}.relation-section-wraper .entity-name-list{font-size:16px;font-weight:700}.relation-section-wraper .view-details-btn{color:#145afd}.relation-section-wraper .detail-item-tag{background-color:#e6f2ff;font-size:14px;border:1px solid #bdf;border-top-left-radius:10px;border-bottom-right-radius:10px;padding:0 13px;color:#1082fe;margin-right:3px}.relation-section-wraper .detail-item-tag1{background-color:#fff5df;font-size:14px;border:1px solid #FFE0B8;border-top-left-radius:10px;border-bottom-right-radius:10px;padding:0 13px;color:#ff9418}.relation-section-wraper .detail-item-list{margin-bottom:3px}.relation-section-wraper .detail-label{color:#676a6c;font-size:14px;white-space:nowrap;flex-shrink:0}.relation-section-wraper .detail-value{color:#383838;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.relation-section-wraper .mb-18px{margin-bottom:18px}.knowledge-card-click{height:100%;overflow:hidden}.knowledge-card-click .drawer-card-title2{font-weight:700;flex-wrap:nowrap;padding-bottom:10px;border-bottom:1px solid #e4e7ed;cursor:pointer;color:#333;margin:14px 0}.knowledge-card-click .drawer-card-title2:hover,.knowledge-card-click .drawer-card-title2.active{color:#145afd}.knowledge-card-click .card-item-click{flex-shrink:0;margin-right:10px;border-right:1px solid #e4e7ed;padding-right:10px;height:100%;background:#fff}.knowledge-card-click .knowledge-card-content{height:100%;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.knowledge-card-click .knowledge-card-content::-webkit-scrollbar{display:none}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-kggraph",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "A knowledge graph visualization component based on Cytoscape",
5
5
  "type": "module",
6
6
  "main": "./lib/index.es.js",