@arqlet/engine-client 0.7.0 → 0.8.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.
- package/README.md +9 -0
- package/THIRD_PARTY_NOTICES.md +1530 -0
- package/arqlet.wasm +0 -0
- package/package.json +10 -3
- package/session.d.ts +140 -1
- package/session.js +185 -3
- package/view-controller.d.ts +160 -0
- package/view-controller.js +734 -0
package/README.md
CHANGED
|
@@ -8,6 +8,15 @@ The Arqlet engine as WebAssembly (`arqlet.wasm`, included) and its JavaScript ac
|
|
|
8
8
|
- `session.js`: `createSession(run)`, a layout session that keeps positions across changes (collapse, expand, …)
|
|
9
9
|
with revision checks, `createOverviewSession(run)`, a cluster overview whose graph stays in the engine (later layouts
|
|
10
10
|
send only what changed), and `workerRun(worker)` / `httpRun(base)`, a worker or a backend as an asynchronous `run`;
|
|
11
|
+
- `view-controller.js`: `createViewController(session)`, a headless view over a session (provisional): one state object
|
|
12
|
+
with `subscribe` (for `useSyncExternalStore`), open/close, paging through `+N more`, filters, a path or neighbourhood
|
|
13
|
+
kept as the highlight, the details of a selected node or edge (`select`, `state.details`) and the hover, back and
|
|
14
|
+
forward, search (`find`), `focus` for the camera, keyboard navigation (`navigate`, `navigateScene`), bookmarks
|
|
15
|
+
(`bookmark`, `openBookmark`, `encodeBookmark`), a look into a collapsed container (`peek`), refinement on a second
|
|
16
|
+
engine (`refine` option,
|
|
17
|
+
`workerRefineRun`), and a
|
|
18
|
+
scene diff per step, snapshots the host made (`adopt`);
|
|
19
|
+
`sceneDiff(before, after)`;
|
|
11
20
|
- `presets.js`: `presetState` and `applyPreset`.
|
|
12
21
|
|
|
13
22
|
Most users want the [`arqlet`](https://www.npmjs.com/package/arqlet) package, which re-exports these.
|