@opsydyn/foldkit-zloz-elk 0.11.0 → 1.0.0-next.0

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 (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -22,7 +22,7 @@ import { createElkLayout } from '@opsydyn/foldkit-zloz-elk';
22
22
  const editor = createEditor({ nodes: [], edges: [] });
23
23
  const active = layoutRequest(editor, 'arrange-1');
24
24
  const layout = createElkLayout({ direction: 'RIGHT', spacing: 64 });
25
- const result = await layout(active); // Run this work in a FoldKit Command.
25
+ const result = await layout(active); // Run this work in the host command.
26
26
  const arranged = applyLayout(editor, active, result);
27
27
  ```
28
28
 
@@ -49,7 +49,7 @@ See [ELK's worker documentation](https://github.com/kieler/elkjs#web-worker).
49
49
 
50
50
  ELK is an external dependency, not bundled into this package. The core package
51
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.
52
- The adapter has no FoldKit or Effect peer.
52
+ The adapter has no Effect UI or Effect peer.
53
53
 
54
54
  The server baseline is **Node 22+**; the default adapter is qualified in Node and
55
55
  Chromium. In the observed Bun 1.4.4 / macOS 26.6.2 arm64 consumer, layout completes
@@ -67,7 +67,7 @@ diagrams before upgrading ELK, since layout may vary by version.
67
67
 
68
68
  Run `bun run --filter @opsydyn/foldkit-zloz-elk test`, `typecheck` and `pack:check`.
69
69
  The core's packed consumer test installs both tarballs through npm and exercises
70
- real layout plus the optional FoldKit renderer.
70
+ real layout plus the optional Effect UI renderer.
71
71
 
72
72
  See [publication standards](https://github.com/opsydyn/fold-kit-experiments/blob/main/docs/releases/foldkit-zloz.md) and
73
73
  [dependency notices](THIRD-PARTY-NOTICES.md).
@@ -105,7 +105,7 @@ bounds and group headers are outside this space-reservation guarantee.
105
105
 
106
106
  For intrinsic custom badges, core's `startLabelMeasurement`,
107
107
  `updateLabelMeasurements` and `resolveLabelMeasurements` can supply the explicit
108
- `edgeLabels` hints. The optional Foldkit view measures HTML border boxes only on
108
+ `edgeLabels` hints. The optional Effect UI view measures HTML border boxes only on
109
109
  request. Recheck freshness before both starting ELK and applying its result; ELK
110
110
  does not load fonts, inspect DOM or start measurement itself. See the
111
111
  [core measured-label guide](../foldkit-zloz/README.md#opt-in-measured-label-bounds-unreleased).
@@ -154,7 +154,7 @@ A stale source, lifecycle veto or protected move/resize blocks the entire result
154
154
  A changed layout appends one Undo frame; identical geometry appends none.
155
155
 
156
156
  `applyGroupWorkbenchLayoutV3` integrates accepted routes into the native controller.
157
- Its optional Foldkit view renders them only while the complete document matches,
157
+ Its optional Effect UI view renders them only while the complete document matches,
158
158
  no move/connection gesture is active and no collapsed projection is present.
159
159
  Undo/editing invalidates routes; camera/selection do not author layout geometry.
160
160
  Routes are transient, not serialized into authored edges. Authored waypoints keep
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opsydyn/foldkit-zloz-elk",
3
- "version": "0.11.0",
3
+ "version": "1.0.0-next.0",
4
4
  "description": "Optional ELK layout adapter for 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.11.0",
56
+ "@opsydyn/foldkit-zloz": "workspace:*",
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.11.0"
64
+ "@opsydyn/foldkit-zloz": "1.0.0-next.0"
65
65
  },
66
66
  "engines": {
67
67
  "node": ">=22.0.0"