22 lines
405 B
JavaScript
22 lines
405 B
JavaScript
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
|
|
};
|