add 增加logicflow流程图预览

This commit is contained in:
gssong
2025-05-25 11:47:09 +08:00
parent 1ea70dd3ce
commit 3019701856
11 changed files with 675 additions and 155 deletions

View File

@@ -0,0 +1,21 @@
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
};