@kortexya/nodus 0.1.6 → 0.2.1
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/assets/{hypergraphWorker-D-ulsXRM.js → hypergraphWorker-Dk7KGeFt.js} +1 -1
- package/assets/{layoutWorker-C9xWGcvY.js → layoutWorker-DT7s5Cw9.js} +1 -1
- package/assets/nodus_wasm-CLMeJcEx.js +1 -0
- package/nodus.src.bundle.js +2597 -2521
- package/nodus_render_wasm-RgdBR-U9.js +2829 -0
- package/nodus_wasm-CQOpiyVw.js +2982 -0
- package/package.json +1 -1
- package/types/index.d.ts +1 -0
- package/types/renderers/WasmGraphRenderer.d.ts +5 -0
- package/assets/nodus_wasm-DxYJZXfN.js +0 -1
- package/nodus_render_wasm-C4PGMrSp.js +0 -2617
- package/nodus_wasm-PO2Iq59v.js +0 -2883
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -18,4 +18,5 @@ export * as geometry from './geometry/index';
|
|
|
18
18
|
export * as parse from './modules/ParseAPI';
|
|
19
19
|
export { radialFactory, forceFactory, forceLinkFactory, gridFactory, hierarchicalFactory, sequentialFactory, concentricFactory, } from './modules/LayoutsAPI';
|
|
20
20
|
export { enableWasmBackend, configureBackends, useWasm, type Subsystem, type Backend } from './internals/wasmBackend';
|
|
21
|
+
export { wasmExports } from './internals/wasmBackend';
|
|
21
22
|
export { Nodus as default } from './Nodus';
|
|
@@ -101,7 +101,12 @@ export declare class WasmGraphRenderer {
|
|
|
101
101
|
private _badgeText;
|
|
102
102
|
private _badgeFont;
|
|
103
103
|
private _badgeTextCol;
|
|
104
|
+
private _dataDirty;
|
|
105
|
+
private _uploaded;
|
|
104
106
|
private constructor();
|
|
107
|
+
/** Is the experimental GPU viewport-culling path active? Opt-in (globalThis.__NODUS_CULL),
|
|
108
|
+
* WebGPU-only (indirect draw), and guarded for bundles without the cached-render export. */
|
|
109
|
+
private _cullActive;
|
|
105
110
|
/** Coalesce redraw requests into a single rAF-driven frame (no-op if one is already pending or the
|
|
106
111
|
* environment has no rAF). Keeps event-driven redraws cheap when many events fire in one tick. */
|
|
107
112
|
private _scheduleFrame;
|