This commit is contained in:
zhaofeiyang 2022-08-03 14:41:51 +08:00
commit 25bd5c5560
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)=>{