@relation-graph/vue3 3.0.12 → 3.0.13
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/README-zh.md +9 -9
- package/README.md +9 -9
- package/package.json +4 -4
- package/relation-graph.js +10 -79
- package/relation-graph.mjs +5489 -4227
- package/relation-graph.ssr.mjs +5489 -4227
- package/relation-graph.umd.js +10 -79
- package/style.css +1 -1
- package/types/packages/platforms/react/src/index.d.ts +1 -1
- package/types/packages/platforms/react/src/index.shared.d.ts +33 -22
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGFakeNode.d.ts +3 -3
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGLinePath.d.ts +3 -4
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGLineText.d.ts +2 -4
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGConnectSource.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGConnectTarget.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingConnectController.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingLineController.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingNearNodeWidget.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingNodeController.d.ts +4 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnCanvas.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnCanvasAbove.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnLineText.d.ts +3 -3
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnNodeExpandHandle.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnView.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphBackground.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphToolBar.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphWatermark.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphXsToolBar.d.ts +2 -2
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/RGDebugView.d.ts +2 -2
- package/types/packages/platforms/svelte/src/hooks/useGraphInstance.d.ts +2 -2
- package/types/packages/platforms/svelte/src/index.d.ts +1 -1
- package/types/packages/platforms/vue2/src/core4vue/RGCanvas.vue.d.ts +1 -0
- package/types/packages/platforms/vue2/src/core4vue/RelationGraphUI.vue.d.ts +0 -1
- package/types/packages/platforms/vue2/src/core4vue/RelationLinker.vue.d.ts +1 -1
- package/types/packages/platforms/vue2/src/core4vue/editing/RGConnectTarget.vue.d.ts +33 -2
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingNodeController.vue.d.ts +14 -2
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphWatermark.vue.d.ts +1 -1
- package/types/packages/platforms/vue2/src/index.d.ts +49 -6
- package/types/packages/platforms/vue3/src/index.d.ts +1 -1
- package/types/packages/relation-graph-models/data/RGLineDataUtils.d.ts +140 -4
- package/types/packages/relation-graph-models/data/RGNodeDataUtils.d.ts +7 -2
- package/types/packages/relation-graph-models/models/RelationGraphBase.d.ts +8 -1
- package/types/packages/relation-graph-models/models/RelationGraphWith1View.d.ts +9 -6
- package/types/packages/relation-graph-models/models/RelationGraphWith2Data4ConnectTarget.d.ts +73 -5
- package/types/packages/relation-graph-models/models/RelationGraphWith2Data5LineConfig.d.ts +20 -2
- package/types/packages/relation-graph-models/models/RelationGraphWith6Layout.d.ts +7 -3
- package/types/packages/relation-graph-models/models/RelationGraphWith7Event.d.ts +3 -2
- package/types/packages/relation-graph-models/models/RelationGraphWith95Dom.d.ts +24 -4
- package/types/packages/relation-graph-models/models/RelationGraphWith99API.d.ts +5 -3
- package/types/packages/relation-graph-models/models/RelationGraphWith9EasyView.d.ts +1 -0
- package/types/packages/relation-graph-models/utils/RGClassAndRender.d.ts +111 -0
- package/types/packages/types.ts +25 -1
package/README-zh.md
CHANGED
|
@@ -244,19 +244,19 @@ export default CustomNode;
|
|
|
244
244
|
|
|
245
245
|
|
|
246
246
|
- 完整的 React 示例项目:
|
|
247
|
-
- https://github.com/
|
|
247
|
+
- https://github.com/relation-graph/relation-graph-vue2-demo
|
|
248
248
|
-
|
|
249
249
|
- 完整的 Vue3 示例项目:
|
|
250
|
-
- https://github.com/
|
|
250
|
+
- https://github.com/relation-graph/relation-graph-react-demo
|
|
251
251
|
|
|
252
252
|
- 完整的 Vue2 示例项目:
|
|
253
|
-
- https://github.com/
|
|
253
|
+
- https://github.com/relation-graph/relation-graph-vue3-demo
|
|
254
254
|
|
|
255
255
|
- 完整的 Svelte 示例项目:
|
|
256
|
-
- https://github.com/
|
|
256
|
+
- https://github.com/relation-graph/relation-graph-svelte-demo
|
|
257
257
|
|
|
258
258
|
- 完整的 Web Components 示例项目:
|
|
259
|
-
- https://github.com/
|
|
259
|
+
- https://github.com/relation-graph/relation-graph-webcomponents-demo
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
### 更多示例
|
|
@@ -278,14 +278,14 @@ export default CustomNode;
|
|
|
278
278
|
### 完整示例项目
|
|
279
279
|
|
|
280
280
|
- 完整 Vue2 示例项目:
|
|
281
|
-
- [https://github.com/
|
|
282
|
-
- [https://github.com/
|
|
281
|
+
- [https://github.com/relation-graph/relation-graph-vue2-demo(Vite)](https://github.com/relation-graph/relation-graph-vue2-demo)
|
|
282
|
+
- [https://github.com/relation-graph/relation-graph-vue2-demo(Webpack)](https://github.com/relation-graph/relation-graph-webpack)
|
|
283
283
|
|
|
284
284
|
- 完整 Vue3 示例项目:
|
|
285
|
-
- https://github.com/
|
|
285
|
+
- https://github.com/relation-graph/relation-graph-vue3-demo
|
|
286
286
|
|
|
287
287
|
- 完整 React 示例项目:
|
|
288
|
-
- https://github.com/
|
|
288
|
+
- https://github.com/relation-graph/relation-graph-react-demo
|
|
289
289
|
|
|
290
290
|
|
|
291
291
|
### 更多信息
|
package/README.md
CHANGED
|
@@ -245,19 +245,19 @@ export default CustomNode;
|
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
- The complete React sample project:
|
|
248
|
-
- https://github.com/
|
|
248
|
+
- https://github.com/relation-graph/relation-graph-vue2-demo
|
|
249
249
|
-
|
|
250
250
|
- The complete Vue3 sample project:
|
|
251
|
-
- https://github.com/
|
|
251
|
+
- https://github.com/relation-graph/relation-graph-react-demo
|
|
252
252
|
|
|
253
253
|
- The complete Vue2 sample project:
|
|
254
|
-
- https://github.com/
|
|
254
|
+
- https://github.com/relation-graph/relation-graph-vue3-demo
|
|
255
255
|
|
|
256
256
|
- The complete Svelte sample project:
|
|
257
|
-
- https://github.com/
|
|
257
|
+
- https://github.com/relation-graph/relation-graph-svelte-demo
|
|
258
258
|
|
|
259
259
|
- The complete Web Components sample project:
|
|
260
|
-
- https://github.com/
|
|
260
|
+
- https://github.com/relation-graph/relation-graph-webcomponents-demo
|
|
261
261
|
|
|
262
262
|
|
|
263
263
|
### More Examples
|
|
@@ -279,14 +279,14 @@ export default CustomNode;
|
|
|
279
279
|
### The complete sample project
|
|
280
280
|
|
|
281
281
|
- The complete Vue2 sample project:
|
|
282
|
-
- [https://github.com/
|
|
283
|
-
- [https://github.com/
|
|
282
|
+
- [https://github.com/relation-graph/relation-graph-vue2-demo(Vite)](https://github.com/relation-graph/relation-graph-vue2-demo)
|
|
283
|
+
- [https://github.com/relation-graph/relation-graph-vue2-demo(Webpack)](https://github.com/relation-graph/relation-graph-webpack)
|
|
284
284
|
|
|
285
285
|
- The complete Vue3 sample project:
|
|
286
|
-
- https://github.com/
|
|
286
|
+
- https://github.com/relation-graph/relation-graph-vue3-demo
|
|
287
287
|
|
|
288
288
|
- The complete React sample project:
|
|
289
|
-
- https://github.com/
|
|
289
|
+
- https://github.com/relation-graph/relation-graph-react-demo
|
|
290
290
|
|
|
291
291
|
|
|
292
292
|
### More info
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relation-graph/vue3",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.13",
|
|
4
4
|
"description": "Vue relationship graph component for visualizing and editing knowledge graphs, org charts, and equity structures. Supports Vue 2 & Vue 3, force-directed layouts, tree layouts, and interactive graph editing.",
|
|
5
5
|
"main": "./relation-graph.js",
|
|
6
6
|
"module": "./relation-graph.mjs",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"private": false,
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/
|
|
25
|
+
"url": "git+https://github.com/relation-graph/relation-graph.git"
|
|
26
26
|
},
|
|
27
27
|
"homepage": "http://relation-graph.com",
|
|
28
28
|
"keywords": [
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"vue 图谱编辑器",
|
|
44
44
|
"vue 流程图",
|
|
45
45
|
"vue 网络拓扑",
|
|
46
|
-
"vue
|
|
46
|
+
"vue relation data visualization"
|
|
47
47
|
],
|
|
48
48
|
"bugs": {
|
|
49
|
-
"url": "https://github.com/
|
|
49
|
+
"url": "https://github.com/relation-graph/relation-graph/issues"
|
|
50
50
|
},
|
|
51
51
|
"sideEffects": [
|
|
52
52
|
"*.css"
|