TypeScript API Reference
Package-by-package API documentation for @simplex-viz/core, @simplex-viz/svg, @simplex-viz/canvas, @simplex-viz/react, and @simplex-viz/wc.
- v1.0.0
- 5 Monorepo Packages
@simplex-viz/core
v1.0.0 · Headless Geometry, Clustering, OKLab & SAT Engine
Pure ES2022 TypeScript engine with zero runtime dependencies and zero DOM globals for browsers, Node.js, Bun, Deno, and Web Workers.
Entry points: @simplex-viz/core · @simplex-viz/core/worker · @simplex-viz/core/dom
@simplex-viz/svg
v1.0.0 · Framework-Agnostic SVG Scene Graph, Export & Zero-DOM SSR
Portable SVG renderer, offscreen getBBox() hull measurement, root pointer hit-testing, client-side SVG/PNG export, zero-DOM SSR string rendering (@simplex-viz/svg/ssr), 1:4 subdivision previews, and breadcrumbs.
Entry points: @simplex-viz/svg · @simplex-viz/svg/ssr
@simplex-viz/react
v1.0.0 · Type-Safe React 18 & 19 Bindings
Declarative <SimplexTopicGraph /> component, JSX custom node measurement, and imperative useSimplexGraphController() hook re-exporting all SVG and Core utilities.
Entry points: @simplex-viz/react
@simplex-viz/wc
v1.0.0 · Framework-Agnostic Web Component (<simplex-topic-graph>)
Dedicated Custom Element package with zero React dependency, SSR-safe registration (@simplex-viz/wc/define), 24 reactive HTML attributes, inline JSON support, custom DOM tooltip renderers, structured legend snapshots, standard CustomEvents, and full imperative delegation.
Entry points: @simplex-viz/wc · @simplex-viz/wc/define
@simplex-viz/canvas
v1.0.0 · High-Capacity HTML5 Canvas 2D Renderer (2,000–10,000+ Items)
Framework-agnostic Canvas 2D renderer with viewport frustum culling, automatic LOD simplification, HiDPI scaling, 1:4 zoom/drill-down, timeline playback, and native PNG export.
Entry points: @simplex-viz/canvas