@flowgram.ai/free-layout-core 0.1.0-alpha.12 → 0.1.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/esm/{chunk-CTGO4RKX.js → chunk-5BT3ZR4D.js} +2 -1
  2. package/dist/esm/chunk-5BT3ZR4D.js.map +1 -0
  3. package/dist/esm/{chunk-242F2JCI.js → chunk-U2XMPOSL.js} +2 -1
  4. package/dist/esm/{chunk-242F2JCI.js.map → chunk-U2XMPOSL.js.map} +1 -1
  5. package/dist/esm/index.js +254 -155
  6. package/dist/esm/index.js.map +1 -1
  7. package/dist/esm/typings/index.js +2 -2
  8. package/dist/esm/typings/workflow-json.js +1 -1
  9. package/dist/esm/typings/workflow-line.js +1 -1
  10. package/dist/index.d.mts +26 -34
  11. package/dist/index.d.ts +26 -34
  12. package/dist/index.js +236 -135
  13. package/dist/index.js.map +1 -1
  14. package/dist/typings/index.d.mts +1 -1
  15. package/dist/typings/index.d.ts +1 -1
  16. package/dist/typings/index.js +2 -0
  17. package/dist/typings/index.js.map +1 -1
  18. package/dist/typings/workflow-drag.d.mts +1 -1
  19. package/dist/typings/workflow-drag.d.ts +1 -1
  20. package/dist/typings/workflow-json.d.mts +1 -1
  21. package/dist/typings/workflow-json.d.ts +1 -1
  22. package/dist/typings/workflow-json.js +1 -0
  23. package/dist/typings/workflow-json.js.map +1 -1
  24. package/dist/typings/workflow-line.d.mts +1 -1
  25. package/dist/typings/workflow-line.d.ts +1 -1
  26. package/dist/typings/workflow-line.js +1 -0
  27. package/dist/typings/workflow-line.js.map +1 -1
  28. package/dist/typings/workflow-node.d.mts +1 -1
  29. package/dist/typings/workflow-node.d.ts +1 -1
  30. package/dist/typings/workflow-registry.d.mts +2 -1
  31. package/dist/typings/workflow-registry.d.ts +2 -1
  32. package/dist/typings/workflow-registry.js.map +1 -1
  33. package/dist/{workflow-line-entity-LhmV98jq.d.ts → workflow-line-entity-BmPrinpL.d.ts} +152 -45
  34. package/dist/{workflow-line-entity-Iq1OHmuK.d.mts → workflow-line-entity-Dn8glLaW.d.mts} +152 -45
  35. package/package.json +9 -9
  36. package/dist/esm/chunk-CTGO4RKX.js.map +0 -1
@@ -7,11 +7,11 @@ import "../chunk-TQLT57GW.js";
7
7
  import "../chunk-CGOMTQ3G.js";
8
8
  import {
9
9
  WorkflowContentChangeType
10
- } from "../chunk-242F2JCI.js";
10
+ } from "../chunk-U2XMPOSL.js";
11
11
  import {
12
12
  LineColors,
13
13
  LineType
14
- } from "../chunk-CTGO4RKX.js";
14
+ } from "../chunk-5BT3ZR4D.js";
15
15
  import "../chunk-DDJTYHXN.js";
16
16
  import {
17
17
  WorkflowOperationBaseService
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  WorkflowContentChangeType
3
- } from "../chunk-242F2JCI.js";
3
+ } from "../chunk-U2XMPOSL.js";
4
4
  import "../chunk-EUXUH3YW.js";
5
5
  export {
6
6
  WorkflowContentChangeType
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  LineColors,
3
3
  LineType
4
- } from "../chunk-CTGO4RKX.js";
4
+ } from "../chunk-5BT3ZR4D.js";
5
5
  import "../chunk-EUXUH3YW.js";
6
6
  export {
7
7
  LineColors,
package/dist/index.d.mts CHANGED
@@ -2,8 +2,8 @@ import { PlaygroundConfigEntity, CommandService, PlaygroundDragEvent, EntityData
2
2
  export { bindConfigEntity, useConfigEntity, useEntities, useEntityDataFromContext, useEntityFromContext, useListenEvents, usePlayground, usePlaygroundContainer, usePlaygroundContext, usePlaygroundLatest, useRefresh, useService } from '@flowgram.ai/core';
3
3
  import { NodeFormProps } from '@flowgram.ai/node';
4
4
  import { FlowOperationBaseService, FlowNodeType, FlowOperationBaseServiceImpl, FlowNodeEntityOrId, FlowNodeEntity } from '@flowgram.ai/document';
5
- import { W as WorkflowHoverService, a as WorkflowDocument, b as WorkflowLinesManager, c as WorkflowSelectService, d as WorkflowDocumentOptions, L as LineEventProps, N as NodesDragEvent, e as WorkflowNodeJSON, f as WorkflowPortEntity, g as WorkflowLineEntity, O as OnDragLineEnd, h as WorkflowJSON, i as WorkflowPorts, j as WorkflowPortType, k as WorkflowPort, l as LineRenderType, m as WorkflowLineRenderContribution, n as LinePosition } from './workflow-line-entity-Iq1OHmuK.mjs';
6
- export { K as HoverPosition, C as LINE_HOVER_DISTANCE, v as LineColor, w as LineColors, u as LineType, z as NodesDragEndEvent, y as NodesDragStartEvent, A as NodesDraggingEvent, P as POINT_RADIUS, H as PORT_SIZE, p as WORKFLOW_LINE_ENTITY, M as WorkfloEntityHoverable, s as WorkflowContentChangeEvent, r as WorkflowContentChangeType, R as WorkflowDocumentOptionsDefault, Q as WorkflowDocumentProvider, J as WorkflowEntityHoverable, E as WorkflowLineEntityOpts, F as WorkflowLineInfo, D as WorkflowLinePortInfo, x as WorkflowLineRenderContributionFactory, G as WorkflowLineUIState, t as WorkflowNodeMeta, I as WorkflowPortEntityOpts, q as domReactToBounds, o as getPortEntityId, B as onDragLineEndParams } from './workflow-line-entity-Iq1OHmuK.mjs';
5
+ import { W as WorkflowHoverService, a as WorkflowDocument, b as WorkflowLinesManager, c as WorkflowSelectService, d as WorkflowDocumentOptions, L as LineEventProps, N as NodesDragEvent, e as WorkflowNodeJSON, f as WorkflowPortEntity, g as WorkflowLineEntity, O as OnDragLineEnd, h as WorkflowJSON, i as LineCenterPoint, j as WorkflowPorts, k as WorkflowPortType, l as LinePoint, m as WorkflowPort, n as LineRenderType, o as WorkflowLineRenderContribution, p as LinePosition } from './workflow-line-entity-Dn8glLaW.mjs';
6
+ export { R as HoverPosition, F as LINE_HOVER_DISTANCE, y as LineColor, z as LineColors, x as LinePointLocation, w as LineType, C as NodesDragEndEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, P as POINT_RADIUS, K as PORT_SIZE, r as WORKFLOW_LINE_ENTITY, S as WorkfloEntityHoverable, u as WorkflowContentChangeEvent, t as WorkflowContentChangeType, U as WorkflowDocumentOptionsDefault, T as WorkflowDocumentProvider, Q as WorkflowEntityHoverable, H as WorkflowLineEntityOpts, I as WorkflowLineInfo, G as WorkflowLinePortInfo, A as WorkflowLineRenderContributionFactory, J as WorkflowLineUIState, v as WorkflowNodeMeta, M as WorkflowPortEntityOpts, s as domReactToBounds, q as getPortEntityId, E as onDragLineEndParams } from './workflow-line-entity-Dn8glLaW.mjs';
7
7
  import { W as WorkflowNodeEntity } from './workflow-sub-canvas-IQzlYvPD.mjs';
8
8
  export { a as WorkflowSubCanvas } from './workflow-sub-canvas-IQzlYvPD.mjs';
9
9
  import * as _flowgram_ai_utils from '@flowgram.ai/utils';
@@ -330,6 +330,13 @@ declare function usePlaygroundReadonlyState(listenChange?: boolean): boolean;
330
330
 
331
331
  declare const buildGroupJSON: (json: WorkflowJSON) => WorkflowJSON;
332
332
 
333
+ /**
334
+ * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
335
+ * SPDX-License-Identifier: MIT
336
+ */
337
+
338
+ declare function getLineCenter(from: IPoint, to: IPoint, bbox: Rectangle, linePadding: number): LineCenterPoint;
339
+
333
340
  /**
334
341
  * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
335
342
  * SPDX-License-Identifier: MIT
@@ -391,7 +398,12 @@ declare class WorkflowNodePortsData extends EntityData {
391
398
  constructor(entity: WorkflowNodeEntity);
392
399
  getDefaultData(): any;
393
400
  /**
394
- * 更新静态的 ports 数据
401
+ * Update all ports data, includes static ports and dynamic ports
402
+ * @param ports
403
+ */
404
+ updateAllPorts(ports?: WorkflowPorts): void;
405
+ /**
406
+ * @deprecated use `updateAllPorts` instead
395
407
  */
396
408
  updateStaticPorts(ports: WorkflowPorts): void;
397
409
  /**
@@ -405,7 +417,7 @@ declare class WorkflowNodePortsData extends EntityData {
405
417
  /**
406
418
  * 更新 ports 数据
407
419
  */
408
- updatePorts(ports: WorkflowPorts): void;
420
+ protected updatePorts(ports: WorkflowPorts): void;
409
421
  /**
410
422
  * 获取所有 port entities
411
423
  */
@@ -421,19 +433,19 @@ declare class WorkflowNodePortsData extends EntityData {
421
433
  /**
422
434
  * 获取输入点位置
423
435
  */
424
- get inputPoints(): IPoint[];
436
+ get inputPoints(): LinePoint[];
425
437
  /**
426
438
  * 获取输出点位置
427
439
  */
428
- get outputPoints(): IPoint[];
440
+ get outputPoints(): LinePoint[];
429
441
  /**
430
442
  * 根据 key 获取 输入点位置
431
443
  */
432
- getInputPoint(key?: string | number): IPoint;
444
+ getInputPoint(key?: string | number): LinePoint;
433
445
  /**
434
446
  * 根据 key 获取输出点位置
435
447
  */
436
- getOutputPoint(key?: string | number): IPoint;
448
+ getOutputPoint(key?: string | number): LinePoint;
437
449
  /**
438
450
  * 获取 port 实体
439
451
  */
@@ -482,6 +494,7 @@ declare class WorkflowNodeLinesData extends EntityData<WorkflowNodeLines> {
482
494
  */
483
495
  get outputLines(): WorkflowLineEntity[];
484
496
  get allLines(): WorkflowLineEntity[];
497
+ get availableLines(): WorkflowLineEntity[];
485
498
  /**
486
499
  * 输入节点
487
500
  */
@@ -528,6 +541,10 @@ declare class WorkflowLineRenderData extends EntityData<WorkflowLineRenderDataSc
528
541
  */
529
542
  update(): void;
530
543
  private get lineType();
544
+ /**
545
+ * 获取 center 位置
546
+ */
547
+ get center(): LineCenterPoint;
531
548
  /**
532
549
  * 更新版本
533
550
  * WARNING: 这个方法,必须在 requestAnimationFrame / useLayoutEffect 中调用,否则会引起浏览器强制重排
@@ -545,29 +562,4 @@ declare class WorkflowLineRenderData extends EntityData<WorkflowLineRenderDataSc
545
562
 
546
563
  declare const WorkflowDocumentContainerModule: ContainerModule;
547
564
 
548
- /**
549
- * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
550
- * SPDX-License-Identifier: MIT
551
- */
552
-
553
- interface StraightData {
554
- points: IPoint[];
555
- path: string;
556
- bbox: Rectangle;
557
- }
558
- declare class WorkflowSimpleLineContribution implements WorkflowLineRenderContribution {
559
- static type: string;
560
- entity: WorkflowLineEntity;
561
- constructor(entity: WorkflowLineEntity);
562
- private data?;
563
- get path(): string;
564
- calcDistance(pos: IPoint): number;
565
- get bounds(): Rectangle;
566
- update(params: {
567
- fromPos: IPoint;
568
- toPos: IPoint;
569
- }): void;
570
- private projectPointOnLine;
571
- }
572
-
573
- export { EditorCursorState, InteractiveType, LineEventProps, LinePosition, LineRenderType, NodePostionUpdateEvent, type NodeRenderReturnType, NodesDragEvent, OnDragLineEnd, type PositionMap, type StraightData, WorkflowCommands, WorkflowDocument, WorkflowDocumentContainerModule, WorkflowDocumentOptions, WorkflowDragService, WorkflowHoverService, WorkflowJSON, WorkflowLineEntity, WorkflowLineRenderContribution, WorkflowLineRenderData, type WorkflowLineRenderDataSchema, WorkflowLinesManager, WorkflowNodeEntity, WorkflowNodeJSON, type WorkflowNodeLines, WorkflowNodeLinesData, WorkflowNodePortsData, WorkflowOperationBaseService, WorkflowOperationBaseServiceImpl, WorkflowPort, WorkflowPortEntity, WorkflowPortType, WorkflowPorts, WorkflowResetLayoutService, WorkflowSelectService, WorkflowSimpleLineContribution, buildGroupJSON, fitView, getAntiOverlapPosition, nanoid, useCurrentDomNode, useCurrentEntity, useNodeRender, usePlaygroundReadonlyState, useWorkflowDocument };
565
+ export { EditorCursorState, InteractiveType, LineCenterPoint, LineEventProps, LinePoint, LinePosition, LineRenderType, NodePostionUpdateEvent, type NodeRenderReturnType, NodesDragEvent, OnDragLineEnd, type PositionMap, WorkflowCommands, WorkflowDocument, WorkflowDocumentContainerModule, WorkflowDocumentOptions, WorkflowDragService, WorkflowHoverService, WorkflowJSON, WorkflowLineEntity, WorkflowLineRenderContribution, WorkflowLineRenderData, type WorkflowLineRenderDataSchema, WorkflowLinesManager, WorkflowNodeEntity, WorkflowNodeJSON, type WorkflowNodeLines, WorkflowNodeLinesData, WorkflowNodePortsData, WorkflowOperationBaseService, WorkflowOperationBaseServiceImpl, WorkflowPort, WorkflowPortEntity, WorkflowPortType, WorkflowPorts, WorkflowResetLayoutService, WorkflowSelectService, buildGroupJSON, fitView, getAntiOverlapPosition, getLineCenter, nanoid, useCurrentDomNode, useCurrentEntity, useNodeRender, usePlaygroundReadonlyState, useWorkflowDocument };
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import { PlaygroundConfigEntity, CommandService, PlaygroundDragEvent, EntityData
2
2
  export { bindConfigEntity, useConfigEntity, useEntities, useEntityDataFromContext, useEntityFromContext, useListenEvents, usePlayground, usePlaygroundContainer, usePlaygroundContext, usePlaygroundLatest, useRefresh, useService } from '@flowgram.ai/core';
3
3
  import { NodeFormProps } from '@flowgram.ai/node';
4
4
  import { FlowOperationBaseService, FlowNodeType, FlowOperationBaseServiceImpl, FlowNodeEntityOrId, FlowNodeEntity } from '@flowgram.ai/document';
5
- import { W as WorkflowHoverService, a as WorkflowDocument, b as WorkflowLinesManager, c as WorkflowSelectService, d as WorkflowDocumentOptions, L as LineEventProps, N as NodesDragEvent, e as WorkflowNodeJSON, f as WorkflowPortEntity, g as WorkflowLineEntity, O as OnDragLineEnd, h as WorkflowJSON, i as WorkflowPorts, j as WorkflowPortType, k as WorkflowPort, l as LineRenderType, m as WorkflowLineRenderContribution, n as LinePosition } from './workflow-line-entity-LhmV98jq.js';
6
- export { K as HoverPosition, C as LINE_HOVER_DISTANCE, v as LineColor, w as LineColors, u as LineType, z as NodesDragEndEvent, y as NodesDragStartEvent, A as NodesDraggingEvent, P as POINT_RADIUS, H as PORT_SIZE, p as WORKFLOW_LINE_ENTITY, M as WorkfloEntityHoverable, s as WorkflowContentChangeEvent, r as WorkflowContentChangeType, R as WorkflowDocumentOptionsDefault, Q as WorkflowDocumentProvider, J as WorkflowEntityHoverable, E as WorkflowLineEntityOpts, F as WorkflowLineInfo, D as WorkflowLinePortInfo, x as WorkflowLineRenderContributionFactory, G as WorkflowLineUIState, t as WorkflowNodeMeta, I as WorkflowPortEntityOpts, q as domReactToBounds, o as getPortEntityId, B as onDragLineEndParams } from './workflow-line-entity-LhmV98jq.js';
5
+ import { W as WorkflowHoverService, a as WorkflowDocument, b as WorkflowLinesManager, c as WorkflowSelectService, d as WorkflowDocumentOptions, L as LineEventProps, N as NodesDragEvent, e as WorkflowNodeJSON, f as WorkflowPortEntity, g as WorkflowLineEntity, O as OnDragLineEnd, h as WorkflowJSON, i as LineCenterPoint, j as WorkflowPorts, k as WorkflowPortType, l as LinePoint, m as WorkflowPort, n as LineRenderType, o as WorkflowLineRenderContribution, p as LinePosition } from './workflow-line-entity-BmPrinpL.js';
6
+ export { R as HoverPosition, F as LINE_HOVER_DISTANCE, y as LineColor, z as LineColors, x as LinePointLocation, w as LineType, C as NodesDragEndEvent, B as NodesDragStartEvent, D as NodesDraggingEvent, P as POINT_RADIUS, K as PORT_SIZE, r as WORKFLOW_LINE_ENTITY, S as WorkfloEntityHoverable, u as WorkflowContentChangeEvent, t as WorkflowContentChangeType, U as WorkflowDocumentOptionsDefault, T as WorkflowDocumentProvider, Q as WorkflowEntityHoverable, H as WorkflowLineEntityOpts, I as WorkflowLineInfo, G as WorkflowLinePortInfo, A as WorkflowLineRenderContributionFactory, J as WorkflowLineUIState, v as WorkflowNodeMeta, M as WorkflowPortEntityOpts, s as domReactToBounds, q as getPortEntityId, E as onDragLineEndParams } from './workflow-line-entity-BmPrinpL.js';
7
7
  import { W as WorkflowNodeEntity } from './workflow-sub-canvas-IQzlYvPD.js';
8
8
  export { a as WorkflowSubCanvas } from './workflow-sub-canvas-IQzlYvPD.js';
9
9
  import * as _flowgram_ai_utils from '@flowgram.ai/utils';
@@ -330,6 +330,13 @@ declare function usePlaygroundReadonlyState(listenChange?: boolean): boolean;
330
330
 
331
331
  declare const buildGroupJSON: (json: WorkflowJSON) => WorkflowJSON;
332
332
 
333
+ /**
334
+ * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
335
+ * SPDX-License-Identifier: MIT
336
+ */
337
+
338
+ declare function getLineCenter(from: IPoint, to: IPoint, bbox: Rectangle, linePadding: number): LineCenterPoint;
339
+
333
340
  /**
334
341
  * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
335
342
  * SPDX-License-Identifier: MIT
@@ -391,7 +398,12 @@ declare class WorkflowNodePortsData extends EntityData {
391
398
  constructor(entity: WorkflowNodeEntity);
392
399
  getDefaultData(): any;
393
400
  /**
394
- * 更新静态的 ports 数据
401
+ * Update all ports data, includes static ports and dynamic ports
402
+ * @param ports
403
+ */
404
+ updateAllPorts(ports?: WorkflowPorts): void;
405
+ /**
406
+ * @deprecated use `updateAllPorts` instead
395
407
  */
396
408
  updateStaticPorts(ports: WorkflowPorts): void;
397
409
  /**
@@ -405,7 +417,7 @@ declare class WorkflowNodePortsData extends EntityData {
405
417
  /**
406
418
  * 更新 ports 数据
407
419
  */
408
- updatePorts(ports: WorkflowPorts): void;
420
+ protected updatePorts(ports: WorkflowPorts): void;
409
421
  /**
410
422
  * 获取所有 port entities
411
423
  */
@@ -421,19 +433,19 @@ declare class WorkflowNodePortsData extends EntityData {
421
433
  /**
422
434
  * 获取输入点位置
423
435
  */
424
- get inputPoints(): IPoint[];
436
+ get inputPoints(): LinePoint[];
425
437
  /**
426
438
  * 获取输出点位置
427
439
  */
428
- get outputPoints(): IPoint[];
440
+ get outputPoints(): LinePoint[];
429
441
  /**
430
442
  * 根据 key 获取 输入点位置
431
443
  */
432
- getInputPoint(key?: string | number): IPoint;
444
+ getInputPoint(key?: string | number): LinePoint;
433
445
  /**
434
446
  * 根据 key 获取输出点位置
435
447
  */
436
- getOutputPoint(key?: string | number): IPoint;
448
+ getOutputPoint(key?: string | number): LinePoint;
437
449
  /**
438
450
  * 获取 port 实体
439
451
  */
@@ -482,6 +494,7 @@ declare class WorkflowNodeLinesData extends EntityData<WorkflowNodeLines> {
482
494
  */
483
495
  get outputLines(): WorkflowLineEntity[];
484
496
  get allLines(): WorkflowLineEntity[];
497
+ get availableLines(): WorkflowLineEntity[];
485
498
  /**
486
499
  * 输入节点
487
500
  */
@@ -528,6 +541,10 @@ declare class WorkflowLineRenderData extends EntityData<WorkflowLineRenderDataSc
528
541
  */
529
542
  update(): void;
530
543
  private get lineType();
544
+ /**
545
+ * 获取 center 位置
546
+ */
547
+ get center(): LineCenterPoint;
531
548
  /**
532
549
  * 更新版本
533
550
  * WARNING: 这个方法,必须在 requestAnimationFrame / useLayoutEffect 中调用,否则会引起浏览器强制重排
@@ -545,29 +562,4 @@ declare class WorkflowLineRenderData extends EntityData<WorkflowLineRenderDataSc
545
562
 
546
563
  declare const WorkflowDocumentContainerModule: ContainerModule;
547
564
 
548
- /**
549
- * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
550
- * SPDX-License-Identifier: MIT
551
- */
552
-
553
- interface StraightData {
554
- points: IPoint[];
555
- path: string;
556
- bbox: Rectangle;
557
- }
558
- declare class WorkflowSimpleLineContribution implements WorkflowLineRenderContribution {
559
- static type: string;
560
- entity: WorkflowLineEntity;
561
- constructor(entity: WorkflowLineEntity);
562
- private data?;
563
- get path(): string;
564
- calcDistance(pos: IPoint): number;
565
- get bounds(): Rectangle;
566
- update(params: {
567
- fromPos: IPoint;
568
- toPos: IPoint;
569
- }): void;
570
- private projectPointOnLine;
571
- }
572
-
573
- export { EditorCursorState, InteractiveType, LineEventProps, LinePosition, LineRenderType, NodePostionUpdateEvent, type NodeRenderReturnType, NodesDragEvent, OnDragLineEnd, type PositionMap, type StraightData, WorkflowCommands, WorkflowDocument, WorkflowDocumentContainerModule, WorkflowDocumentOptions, WorkflowDragService, WorkflowHoverService, WorkflowJSON, WorkflowLineEntity, WorkflowLineRenderContribution, WorkflowLineRenderData, type WorkflowLineRenderDataSchema, WorkflowLinesManager, WorkflowNodeEntity, WorkflowNodeJSON, type WorkflowNodeLines, WorkflowNodeLinesData, WorkflowNodePortsData, WorkflowOperationBaseService, WorkflowOperationBaseServiceImpl, WorkflowPort, WorkflowPortEntity, WorkflowPortType, WorkflowPorts, WorkflowResetLayoutService, WorkflowSelectService, WorkflowSimpleLineContribution, buildGroupJSON, fitView, getAntiOverlapPosition, nanoid, useCurrentDomNode, useCurrentEntity, useNodeRender, usePlaygroundReadonlyState, useWorkflowDocument };
565
+ export { EditorCursorState, InteractiveType, LineCenterPoint, LineEventProps, LinePoint, LinePosition, LineRenderType, NodePostionUpdateEvent, type NodeRenderReturnType, NodesDragEvent, OnDragLineEnd, type PositionMap, WorkflowCommands, WorkflowDocument, WorkflowDocumentContainerModule, WorkflowDocumentOptions, WorkflowDragService, WorkflowHoverService, WorkflowJSON, WorkflowLineEntity, WorkflowLineRenderContribution, WorkflowLineRenderData, type WorkflowLineRenderDataSchema, WorkflowLinesManager, WorkflowNodeEntity, WorkflowNodeJSON, type WorkflowNodeLines, WorkflowNodeLinesData, WorkflowNodePortsData, WorkflowOperationBaseService, WorkflowOperationBaseServiceImpl, WorkflowPort, WorkflowPortEntity, WorkflowPortType, WorkflowPorts, WorkflowResetLayoutService, WorkflowSelectService, buildGroupJSON, fitView, getAntiOverlapPosition, getLineCenter, nanoid, useCurrentDomNode, useCurrentEntity, useNodeRender, usePlaygroundReadonlyState, useWorkflowDocument };