1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
| import { createFlowNodeDetail } from '@/views/system/workflow/components/store/flownodes'
| const sourcenodes = []
| sourcenodes.push(
| createFlowNodeDetail(
| 'start', '开始', 'thunderbolt', 'primary', '1', [
| {
| anchor: 'Right',
| maxConnections: -1
| }
| ], null, [], [], true, null
| )
| )
| sourcenodes.push(
| createFlowNodeDetail(
| 'step', '任务', '', 'primary', '2', [
| {
| anchor: 'Right',
| maxConnections: -1
| },
| {
| anchor: 'Left',
| maxConnections: -1
| }
| ], null, [], [], true, null
| )
| )
| // sourcenodes.push(
| // createFlowNodeDetail(
| // 'sourcecondition', '条件', 'question-circle', 'primary', '2', [
| // {
| // anchor: 'Top',
| // maxConnections: -1
| // },
| // {
| // anchor: 'Left',
| // maxConnections: -1
| // },
| // {
| // anchor: 'Right',
| // maxConnections: -1
| // }
| // ], null, [], []
| // )
| // )
| sourcenodes.push(
| createFlowNodeDetail(
| 'end', '结束', 'check-circle', 'primary', '1', [
| {
| anchor: 'Left',
| maxConnections: -1
| }
| ], null, [], [], true, null
| )
| )
| export { sourcenodes }
|
|