解决出现拖拽框问题

This commit is contained in:
wangzijun 2022-08-03 10:30:35 +08:00
parent 417dc199ed
commit 3abf431da7
1 changed files with 3 additions and 5 deletions

View File

@ -222,8 +222,6 @@ export default {
center:[105.602725,37.076636],//
})
//var x6Dom = document.createElement('container');
var x6Dom = this.$refs.container
var x6 = document.getElementsByClassName("x6-graph-svg")[1];
@ -273,7 +271,7 @@ export default {
snapline: true,//线
selecting: {///
enabled: true,///
rubberband: true,//
//rubberband: true,//
showNodeSelectionBox: true,//
},
resizing:true,//
@ -386,7 +384,7 @@ export default {
this.showPorts(ports, true)
this.showNodeTool(e.node,true)
//
this.changeMapDrag(false)
//this.changeMapDrag(false)
})
//
this.graph.on('node:mouseleave', ( e) => {
@ -397,7 +395,7 @@ export default {
this.showPorts(ports, false)
this.showNodeTool(e.node,false)
//
this.changeMapDrag(true)
//this.changeMapDrag(true)
})
//线线
this.graph.on('edge:mouseenter',(e)=>{