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
| import { HtmlNodeModel, HtmlNode } from '@logicflow/core'
| import { h, createApp } from 'vue'
| import { NODES } from '../../../core/enum'
| import { Node, NodeModel } from '../Node'
|
| class VariableWriteNodeModel extends NodeModel {}
|
| class VariableWriteNodeNode extends Node {
| [key: string]: any
| constructor(props: any) {
| const option = {
| color: '#ab47bc',
| background: '#fff',
| height: '36px',
| icon: 'varsetting',
| }
| super(props, option)
| }
| }
|
| export default {
| type: NODES.VARIABLE_WRITE_ACTIVITY,
| view: VariableWriteNodeNode,
| model: VariableWriteNodeModel,
| }
|
|