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() {