| 123456789101112131415161718192021 |
- import { RectNode, RectNodeModel } from '@logicflow/core';
- class BetweenModel extends RectNodeModel {
- initNodeData(data) {
- super.initNodeData(data);
- this.width = 100;
- this.height = 80;
- this.radius = 5;
- }
- getNodeStyle() {
- return super.getNodeStyle();
- }
- }
- class BetweenView extends RectNode {}
- export default {
- type: 'between',
- model: BetweenModel,
- view: BetweenView
- };
|