|
@@ -3,10 +3,7 @@ import ContextMenu from '@imengyu/vue3-context-menu'
|
|
|
|
|
|
import insertCss from 'insert-css'
|
|
import insertCss from 'insert-css'
|
|
import './shape'
|
|
import './shape'
|
|
-import { customPorts } from './ports'
|
|
|
|
import graphData from './data/data'
|
|
import graphData from './data/data'
|
|
-import { getImageUrl } from '@/utils'
|
|
|
|
-import { text } from 'stream/consumers'
|
|
|
|
;(insertCss as any)(`
|
|
;(insertCss as any)(`
|
|
@keyframes ant-line {
|
|
@keyframes ant-line {
|
|
to {
|
|
to {
|
|
@@ -328,6 +325,9 @@ export default class FlowGraph {
|
|
},
|
|
},
|
|
text: {
|
|
text: {
|
|
text: '测试xx流程'
|
|
text: '测试xx流程'
|
|
|
|
+ },
|
|
|
|
+ lip: {
|
|
|
|
+ transform: 'scale(0.01)'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -343,8 +343,8 @@ export default class FlowGraph {
|
|
const s5 = graph.createNode({
|
|
const s5 = graph.createNode({
|
|
shape: 'sub-flow-rect'
|
|
shape: 'sub-flow-rect'
|
|
})
|
|
})
|
|
- const s6 = graph.createNode({
|
|
|
|
- shape: 'sub-flow-rect'
|
|
|
|
|
|
+ const L1 = graph.createNode({
|
|
|
|
+ shape: 'logic-flow-path'
|
|
})
|
|
})
|
|
|
|
|
|
// 组合节点
|
|
// 组合节点
|
|
@@ -372,6 +372,7 @@ export default class FlowGraph {
|
|
|
|
|
|
this.stencil.load([r1, r2, r3, r4], 'basic')
|
|
this.stencil.load([r1, r2, r3, r4], 'basic')
|
|
this.stencil.load([s1, s2, s3, s4, s5], 's-pro')
|
|
this.stencil.load([s1, s2, s3, s4, s5], 's-pro')
|
|
|
|
+ this.stencil.load([L1], 'logic')
|
|
this.stencil.load([c1, c2, c3], 'combination')
|
|
this.stencil.load([c1, c2, c3], 'combination')
|
|
this.stencil.load([g1], 'group')
|
|
this.stencil.load([g1], 'group')
|
|
}
|
|
}
|