Files
dm-ui/src/components/Process/js/between.js
2025-05-25 11:47:09 +08:00

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
};