@kortexya/nodus 0.1.7 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kortexya/nodus",
3
- "version": "0.1.7",
3
+ "version": "0.2.1",
4
4
  "description": "Nodus — a high-performance graph visualization engine (WebGL/WebGPU/Canvas/SVG).",
5
5
  "homepage": "https://kortexya.com",
6
6
  "author": "Kortexya <david.loiret@kortexya.com>",
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;