relation-graph-react
Advanced tools
Comparing version 2.2.9 to 2.2.10
{ | ||
"name": "relation-graph-react", | ||
"version": "2.2.9", | ||
"version": "2.2.10", | ||
"description": "relation-graph,Vue 关联关系图谱组件,可以展示如组织机构图谱、股权架构图谱、集团关系图谱等知识图谱,可提供多种图谱布局,包括树状布局、中心布局、力学布局自动布局等。Vue component for relationship graph , which can display knowledge graphs, such as organization graph, equity structure graph, group relationship graph, etc.", | ||
@@ -5,0 +5,0 @@ "main": "./relation-graph.umd.js", |
@@ -54,4 +54,5 @@ import { CreatingLinePlotOptions, CreatingNodePlotOptions, RGJunctionPoint, RGLine, RGLineShape, RGLineTarget, RGLink, RGListeners, RGNode, RGOnCreateLineCallback, RGOptions, RGPosition, RGSelectionView, RGUserEvent } from '../types'; | ||
onCanvasDragStart(e: RGUserEvent): void; | ||
protected onCanvasDragging(newX: number, newY: number, buffX: number, buffY: number): void; | ||
onCanvasDragStop(x_buff: number, y_buff: number, e: RGUserEvent): void; | ||
startCreateSelection(e: RGUserEvent): void; | ||
} |
@@ -357,2 +357,3 @@ /** | ||
onNodeDragging?: (node: RGNode, newX: number, newY: number, e: RGUserEvent) => void | RGPosition | undefined; | ||
onCanvasDragging?: (newX: number, newY: number, buffX: number, buffY: number) => void | RGPosition | undefined; | ||
onCanvasDragEnd?: (e: RGUserEvent) => void; | ||
@@ -377,2 +378,3 @@ onContextmenu?: (e: RGUserEvent, objectType: RGEventTargetType, object: RGNode | RGLink | undefined) => void; | ||
onCanvasDragEnd = "onCanvasDragEnd", | ||
onCanvasDragging = "onCanvasDragging", | ||
onContextmenu = "onContextmenu", | ||
@@ -379,0 +381,0 @@ onFullscreen = "onFullscreen", |
@@ -79,2 +79,3 @@ /** | ||
onNodeDragging?: (node:RGNode, newX:number, newY:number, e:RGUserEvent) => void | RGPosition | undefined | ||
onCanvasDragging?: (newX:number, newY:number, buffX:number, buffY:number) => void | RGPosition | undefined | ||
onCanvasDragEnd?: (e: RGUserEvent) => void; | ||
@@ -81,0 +82,0 @@ onContextmenu?: (e: RGUserEvent, objectType: RGEventTargetType, object: RGNode | RGLink | undefined) => void; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
785590
11499