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 = {