mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-09-15 00:25:07 +08:00
24 lines
431 B
JavaScript
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,
|
|
};
|