|
@@ -7,12 +7,12 @@ import { Keyboard } from '@antv/x6-plugin-keyboard'
|
|
|
import { Clipboard } from '@antv/x6-plugin-clipboard'
|
|
import { Clipboard } from '@antv/x6-plugin-clipboard'
|
|
|
import { History } from '@antv/x6-plugin-history'
|
|
import { History } from '@antv/x6-plugin-history'
|
|
|
import { Export } from "@antv/x6-plugin-export";
|
|
import { Export } from "@antv/x6-plugin-export";
|
|
|
-import { getImg } from '../../libs/base/x6-utils'
|
|
|
|
|
|
|
+import { getImg } from '../../../../libs/base/x6-utils'
|
|
|
import {mapState, mapMutations} from 'vuex'
|
|
import {mapState, mapMutations} from 'vuex'
|
|
|
import store from '@/store'
|
|
import store from '@/store'
|
|
|
import './NodeGroup'
|
|
import './NodeGroup'
|
|
|
const insertCss = require('insert-css')
|
|
const insertCss = require('insert-css')
|
|
|
-const zt1 = require('./zt1.json')
|
|
|
|
|
|
|
+const zt1 = require('../data/zt1.json')
|
|
|
|
|
|
|
|
|
|
|
|
|
//region 插入动画样式
|
|
//region 插入动画样式
|
|
@@ -604,7 +604,7 @@ export default class Process {
|
|
|
// region 将添加的节点组置为最底层
|
|
// region 将添加的节点组置为最底层
|
|
|
this.graph.on("node:added", ({ node }) => {
|
|
this.graph.on("node:added", ({ node }) => {
|
|
|
if (node.data && node.data.parent) {
|
|
if (node.data && node.data.parent) {
|
|
|
- node.toBack()
|
|
|
|
|
|
|
+ node.toFront()
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
// endregion
|
|
// endregion
|
|
@@ -796,8 +796,8 @@ export default class Process {
|
|
|
fill: '#1E90FF',
|
|
fill: '#1E90FF',
|
|
|
},
|
|
},
|
|
|
image: {
|
|
image: {
|
|
|
- width: 32,
|
|
|
|
|
- height: 32,
|
|
|
|
|
|
|
+ width: 320,
|
|
|
|
|
+ height: 320,
|
|
|
refX: 22,
|
|
refX: 22,
|
|
|
refY: 22,
|
|
refY: 22,
|
|
|
},
|
|
},
|