@opsydyn/foldkit-zloz-elk 0.6.0 → 0.6.2

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 (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +24 -9
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -8,6 +8,18 @@
8
8
 
9
9
  - Reserve caller-declared composite edge-label bounds in compound layouts and return validated world-coordinate boxes, including custom badges on unlabeled edges.
10
10
 
11
+ ## [0.6.2](https://github.com/opsydyn/fold-kit-experiments/compare/foldkit-zloz-elk-v0.6.1...foldkit-zloz-elk-v0.6.2) (2026-11-18)
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ - **foldkit-zloz-elk:** Synchronize foldkit-zloz versions
16
+
17
+ ## [0.6.1](https://github.com/opsydyn/fold-kit-experiments/compare/foldkit-zloz-elk-v0.6.0...foldkit-zloz-elk-v0.6.1) (2026-11-16)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **zloz:** ship documentation through a verified family release train ([#156](https://github.com/opsydyn/fold-kit-experiments/issues/156)) ([51977d2](https://github.com/opsydyn/fold-kit-experiments/commit/51977d2c2c517c83c537454389c7f24689e229e7))
22
+
11
23
  ## [0.6.0](https://github.com/opsydyn/fold-kit-experiments/compare/foldkit-zloz-elk-v0.5.0...foldkit-zloz-elk-v0.6.0) (2026-11-16)
12
24
 
13
25
  ### Features
package/README.md CHANGED
@@ -3,7 +3,11 @@
3
3
  Optional automatic layout for `@opsydyn/foldkit-zloz`. The adapter maps flat and nested graphs with fixed ports to ELK Layered. It returns node
4
4
  positions, fitted group bounds, and orthogonal edge routes. It owns no UI, persistence, graph state or workflow execution.
5
5
 
6
- The public package family is released together. The native v3 entry below is an unreleased addition to 0.5.0.
6
+ The public package family is released together. Native v3 group-port layout is included in 0.6.0.
7
+
8
+ The four public Zloz packages release together, with adapters pinned to the exact
9
+ core version. The [release train](https://github.com/opsydyn/fold-kit-experiments/blob/main/docs/releases/foldkit-zloz.md#release-action)
10
+ verifies registry archives and provenance before advancing to the next package.
7
11
 
8
12
  ## Install and use
9
13
 
@@ -47,10 +51,13 @@ ELK is an external dependency, not bundled into this package. The core package
47
51
  installs and works without it. Node 22+, ESM only. Compatibility uses the matching Zloz version and the pinned elkjs 0.12.1. Both Zloz packages release at the same version.
48
52
  The adapter has no FoldKit or Effect peer.
49
53
 
50
- The default adapter is qualified in Node and Chromium. Bun can compute layouts,
51
- but elkjs 0.12.1's bundled fallback installs a global `self.onmessage` handler in
52
- Bun 1.4.4, keeping a standalone process alive after completion. Use Node for CLI
53
- layout jobs. The dependency-free core is separately tested in both Node and Bun.
54
+ The server baseline is **Node 22+**; the default adapter is qualified in Node and
55
+ Chromium. In the observed Bun 1.4.4 / macOS 26.6.2 arm64 consumer, layout completes
56
+ but the standalone process stays alive. A minimal `elkjs@0.12.1` program reproduces
57
+ this without Zloz. Bun process-exit behavior for ELK is outside this release's
58
+ qualification; use Node for CLI layout jobs. Other Bun versions/platforms are
59
+ unqualified for this lifecycle behavior. Core, Force and Mermaid separately pass
60
+ standalone Node and Bun consumers.
54
61
 
55
62
  ## Scope and verification
56
63
 
@@ -65,7 +72,9 @@ real layout plus the optional FoldKit renderer.
65
72
  See [publication standards](https://github.com/opsydyn/fold-kit-experiments/blob/main/docs/releases/foldkit-zloz.md) and
66
73
  [dependency notices](THIRD-PARTY-NOTICES.md).
67
74
 
68
- ### Compound preview layouts (unreleased)
75
+ <a id="compound-preview-layouts-unreleased"></a>
76
+
77
+ ### Compound preview layouts
69
78
 
70
79
  Configured `direction` and `spacing` now apply to root **and group parent**
71
80
  containers. A real-engine regression retains at least the requested inter-layer
@@ -79,7 +88,9 @@ cancellation, geometry-only restoration and preserved source/findings. See
79
88
  [qualification](../../apps/zloz-demo/evidence/alchemy-layout.md). Label dimensions
80
89
  are not yet supplied to ELK, so this is not a universal label-collision guarantee.
81
90
 
82
- ### Custom label envelopes (unreleased)
91
+ <a id="custom-label-envelopes-unreleased"></a>
92
+
93
+ ### Custom label envelopes
83
94
 
84
95
  Pass `layoutRequest(editor, id, { edgeLabels: [{ id: edgeId, size: { width: 176,
85
96
  height: 36 } }] })` to reserve space for a composite label, including badges.
@@ -99,7 +110,9 @@ request. Recheck freshness before both starting ELK and applying its result; ELK
99
110
  does not load fonts, inspect DOM or start measurement itself. See the
100
111
  [core measured-label guide](../foldkit-zloz/README.md#opt-in-measured-label-bounds-unreleased).
101
112
 
102
- ### Group heading envelopes (unreleased)
113
+ <a id="group-heading-envelopes-unreleased"></a>
114
+
115
+ ### Group heading envelopes
103
116
 
104
117
  Core requests may declare `groupHeaders` with an existing group ID, header `size`,
105
118
  `padding: { top, right, bottom, left }` and a `gap` before children. ELK maps these
@@ -115,7 +128,9 @@ or supplying a worker from another version. No post-layout stretching is used.
115
128
  These hints reserve child-node space; they do not guarantee arbitrary route or
116
129
  custom-artwork collision avoidance.
117
130
 
118
- ## Native v3 group-port layout (unreleased)
131
+ <a id="native-v3-group-port-layout-unreleased"></a>
132
+
133
+ ## Native v3 group-port layout
119
134
 
120
135
  Use the distinct full-document entry for authored group ports:
121
136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opsydyn/foldkit-zloz-elk",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "Optional ELK layout adapter for Foldkit Zloz.",
5
5
  "keywords": [
6
6
  "diagram",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@arethetypeswrong/cli": "0.18.5",
56
- "@opsydyn/foldkit-zloz": "0.6.0",
56
+ "@opsydyn/foldkit-zloz": "0.6.2",
57
57
  "@types/node": "^22.0.0",
58
58
  "bun-types": "^1.3.14",
59
59
  "publint": "0.3.25",
@@ -61,7 +61,7 @@
61
61
  "typescript": "^6.0.3"
62
62
  },
63
63
  "peerDependencies": {
64
- "@opsydyn/foldkit-zloz": "0.6.0"
64
+ "@opsydyn/foldkit-zloz": "0.6.2"
65
65
  },
66
66
  "engines": {
67
67
  "node": ">=22.0.0"