From 492a2770c7380cde284fba5de995fb77308f97f7 Mon Sep 17 00:00:00 2001 From: wumail <1059037014@qq.com> Date: Fri, 4 Aug 2023 17:37:50 +0800 Subject: [PATCH] feat(extension): perfecting readme.md in extension/bpmn-elements --- packages/extension/src/bpmn-elements/README.md | 4 ++++ packages/extension/src/bpmn-elements/presets/Pool/Lane.ts | 2 +- packages/extension/src/bpmn-elements/presets/Pool/Pool.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/extension/src/bpmn-elements/README.md b/packages/extension/src/bpmn-elements/README.md index 3b6e73064..16f49cdbd 100644 --- a/packages/extension/src/bpmn-elements/README.md +++ b/packages/extension/src/bpmn-elements/README.md @@ -217,3 +217,7 @@ const complexGateway = GatewayNodeFactory('bpmn:complexGateway', complexIcon) ### 流 流的扩展和自定义边的定义方法完全相同,参考 + +### 其他节点 + +其他类型的节点大家可以根据自己的需要通过自定义节点的方式进行扩展 diff --git a/packages/extension/src/bpmn-elements/presets/Pool/Lane.ts b/packages/extension/src/bpmn-elements/presets/Pool/Lane.ts index 791d3de8f..fe4c3be20 100644 --- a/packages/extension/src/bpmn-elements/presets/Pool/Lane.ts +++ b/packages/extension/src/bpmn-elements/presets/Pool/Lane.ts @@ -1,5 +1,5 @@ import { h } from '@logicflow/core'; -import { GroupNode } from '@logicflow/extension'; +import { GroupNode } from '../../../materials/group/index'; import { laneToJSON } from '.'; // 泳道 diff --git a/packages/extension/src/bpmn-elements/presets/Pool/Pool.ts b/packages/extension/src/bpmn-elements/presets/Pool/Pool.ts index 50376dfef..7a68e5e55 100644 --- a/packages/extension/src/bpmn-elements/presets/Pool/Pool.ts +++ b/packages/extension/src/bpmn-elements/presets/Pool/Pool.ts @@ -3,7 +3,7 @@ * 泳道节点 */ import { h } from '@logicflow/core'; -import { GroupNode } from '@logicflow/extension'; +import { GroupNode } from '../../../materials/group/index'; import { poolToJSON } from '.'; const laneMinSize = {