Ben Lin
2024-07-01 f60c5156615626515bd6d84f151a1292b8b936c1
src/components/FlowChart/src/TestNode.ts
@@ -1,3 +1,11 @@
/*
 * @Description: file content
 * @Author: your name
 * @version:
 * @Date: 2024-05-01 15:45:42
 * @LastEditors: your name
 * @LastEditTime: 2024-06-15 18:16:47
 */
import { RectNode, RectNodeModel, h } from '@logicflow/core';
class TestNodeView extends RectNode {
@@ -49,7 +57,7 @@
class TestNodeModel extends RectNodeModel {
  override setAttributes() {
    const size = this.properties.scale || 1;
    this.width = 100 * size;
    this.width = 110 * size;
    this.height = 80 * size;
  }
  override getTextStyle() {