@aranzatech/diagrams-bpmn 0.2.14 → 0.2.15

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.
@@ -32,6 +32,11 @@ declare function bpmnElkLayout(nodes: BpmnRFNode[], edges: BpmnRFEdge[]): Promis
32
32
  edges: BpmnRFEdge[];
33
33
  }>;
34
34
 
35
+ declare function bpmnCustomLayout(nodes: BpmnRFNode[], edges: BpmnRFEdge[]): Promise<{
36
+ nodes: BpmnRFNode[];
37
+ edges: BpmnRFEdge[];
38
+ }>;
39
+
35
40
  /**
36
41
  * Dagre layout pre-configured for BPMN diagrams.
37
42
  * Uses BPMN-specific node sizes (events 52×52, gateways 64×64, tasks 192×64, etc.)
@@ -44,4 +49,4 @@ declare function bpmnDagreLayout(nodes: BpmnRFNode[], edges: BpmnRFEdge[], optio
44
49
  */
45
50
  declare function applyBpmnLayoutResult(state: BpmnDiagramState, result: LayoutResult): BpmnDiagramState;
46
51
 
47
- export { applyBpmnLayoutResult, bpmnDagreLayout, bpmnElkLayout };
52
+ export { applyBpmnLayoutResult, bpmnCustomLayout, bpmnDagreLayout, bpmnElkLayout };
@@ -32,6 +32,11 @@ declare function bpmnElkLayout(nodes: BpmnRFNode[], edges: BpmnRFEdge[]): Promis
32
32
  edges: BpmnRFEdge[];
33
33
  }>;
34
34
 
35
+ declare function bpmnCustomLayout(nodes: BpmnRFNode[], edges: BpmnRFEdge[]): Promise<{
36
+ nodes: BpmnRFNode[];
37
+ edges: BpmnRFEdge[];
38
+ }>;
39
+
35
40
  /**
36
41
  * Dagre layout pre-configured for BPMN diagrams.
37
42
  * Uses BPMN-specific node sizes (events 52×52, gateways 64×64, tasks 192×64, etc.)
@@ -44,4 +49,4 @@ declare function bpmnDagreLayout(nodes: BpmnRFNode[], edges: BpmnRFEdge[], optio
44
49
  */
45
50
  declare function applyBpmnLayoutResult(state: BpmnDiagramState, result: LayoutResult): BpmnDiagramState;
46
51
 
47
- export { applyBpmnLayoutResult, bpmnDagreLayout, bpmnElkLayout };
52
+ export { applyBpmnLayoutResult, bpmnCustomLayout, bpmnDagreLayout, bpmnElkLayout };