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
| // export interface
| import GraphEvent from '../core/GraphEvent'
|
| export interface Store {
| lf: any
| xmlData: Ref<any>
| theme: Ref<any>
| flowMap: Map<string, any>
| selected: Ref<any>
| lastLines: Ref<any[]>
| graphEvent: GraphEvent
| flowBaseConfig: Ref<any>
| edgeMap: Map<string, any>
| nodeMap: Map<string, any>
| flowConfig: Ref<any>
| }
|
| export enum StoreKey {
| LF = 'lf',
| THEME = 'theme',
| FLOW_MAP = 'flowMap',
| SELECTED = 'selected',
| LAST_LINES = 'lastLines',
| XML_DATA = 'xmlData',
| }
|
| export interface FlowType {
| edges: any[]
| nodes: any[]
| }
|
| interface Condition {
| '@_xsi:type': string
| _xsiType: string // 对应 "_xsi:type"
| Expression: string
| Label: string
| Not: boolean
| Operator: string
| Property: string
| root: boolean
| Value: string
| // Value: {
| // _xsiType: string // 对应 "@_xsi:type"
| // Text: string | number // 对应 "#text"
| // }
| nodeId: string
| children: Condition[]
| }
|
|