plus-ui/src/components/WarmFlow/js/between.js
2024-10-13 13:56:13 +08:00

24 lines
431 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() {
const style = super.getNodeStyle();
return style
}
}
class BetweenView extends RectNode {}
export default {
type: "between",
model: BetweenModel,
view: BetweenView,
};