Documentation, Strategies & API
Developer guides, dedicated reference pages for all 19 built-in SimplexViz strategies across 5 pipeline stages, and package-level TypeScript API contracts.
- v1.0.0
- 19 Built-In Strategies
- 5 npm Packages
Guides & Stage Overviews
View all 19 strategy sub-pages →Getting Started · 8 min read
Quickstart & Three-Layer Architecture
Install SimplexViz in under two minutes, understand its strict three-layer / five-package separation, and inspect every default setting.
Read guide →
Customization · 19 min read
Custom Views, Tooltips, Timeline & Headless Snapshots
Customize content nodes, cluster anchors, triangle faces, mesh edges, chronological timeline playback, and headless Node.js/Worker snapshots.
Read guide →
Core Strategies · 3 min read
01. Mesh Triangulation Strategies
How SimplexViz constructs toothed 60-degree equilateral triangle lattices, selects orientation and parity, and pins fixed grids.
Read guide →
Core Strategies · 7 min read
02. Clustering & Planar Simplex Projection
Deep dive into Soft-Simplex interior spreading, Jaccard QAP annealing, multi-modal embeddings, NNLS barycentric projection, and PAM k-Medoids.
Read guide →
Core Strategies · 2 min read
03. Perceptual OKLab Color Strategies
Why SimplexViz assigns cluster hues via perceptual OKLab graph-coloring optimization and mixes multi-cluster items without muddy sRGB midpoints.
Read guide →
Core Strategies · 5 min read
04. Composable Collision Layout (Seeder × Relaxer × ScaleController)
How SimplexViz guarantees 0.0 px overlap across arbitrary convex shapes and JSX cards by composing Seeders, Position Relaxers, and Scale Controllers.
Read guide →
Core Strategies · 5 min read
05. Conformal 1:4 Zoom & Hierarchical Drill-Down
Mathematical and UX design of SimplexViz's conformal 1:4 triangle subdivision, Adaptive Contrast Stretch, 3→6 semantic tag splitting, and 1-ring cluster stars.
Read guide →
Built-In Strategy Catalog (19 Sub-Pages)
Full strategy catalog →Stage 01 · Default
Adaptive Hex Lattice
Chooses orientation and staggered 60° row parity automatically to maximize triangle side length.
Stage 01
Fixed Grid Lattice
Pins an exact (cols × rows) equilateral vertex grid across viewport resizes.
Stage 02
Soft-Simplex Tag Clustering
Spreads multi-tag items smoothly across triangle interiors while keeping 1-tag items in a free 360° halo.
Stage 02 · Default
Jaccard Annealing Clustering
Regularized Jaccard tag partitioning with QAP Simulated Annealing and planar hitting-set edges.
Stage 02
Incremental Tag Anchoring
Preserves existing cluster vertices and UIDs during live updates while attaching new tags incrementally.
Stage 02
Soft-Simplex Embedding Projection
Load-balanced QAP and continuous interior simplex projection for single- or multi-modal embeddings.
Stage 02
Planar NNLS Embedding Projection
Spherical/L2 k-Means++ with closed-form non-negative least-squares projection onto planar triangles.
Stage 02
Pairwise k-Medoids Projection
Partitions arbitrary S(a, b) ∈ [0, 1] similarity kernels via PAM k-Medoids and QAP mesh embedding.
Stage 03 · Default
OKLab Edge Contrast
Maximizes perceptual ΔE_OK across mesh edges and preserves chroma on barycentric bridge items.
Stage 03
Theme-Adaptive OKLab
Adjusts perceptual lightness and chroma automatically between light and dark themes.
Stage 03
Custom Brand Palette
Maps custom design-system hex colors onto the mesh with edge-contrast optimization.
Stage 04
Collision-Local Pocket Layout
Keeps sparse regions at full 1.0x scale and shrinks only locally colliding pockets to 0.0 px overlap.
Stage 04 · Default
Uniform PBD Layout
Space-filling mesh-inward fan seeding with global uniform scale search and exact convex SAT separation.
Stage 04
Warm-Start PBD Layout
Reuses settled coordinates across live mutations with space-filling PBD relaxation and uniform scale ratios.
Stage 04
Density-Adaptive Layout
Disperses nodes into open triangle interiors, evaluates smooth radial crowd density, and polishes locally without global shrink.
Stage 05
Subspace Re-Clustering Drill-Down
Projects out constant parent traits and re-clusters zoomed subsets locally over high-variance features, vectors, or similarities.
Stage 05
Barycentric 1:4 Drill-Down
Purely geometric orientation-preserving 1:4 subdivision with Adaptive Contrast Stretch and explicit A ↔ B midpoint bridges.
Stage 05
Semantic 3→6 Tag Drill-Down
Promotes vertex-exclusive secondary tags across 6 collision-free sub-vertices with parent-corner context and A ↔ B bridge fallbacks.
Stage 05 · Default
Continuous Free Camera
Continuous cursor-centered wheel zoom, drag-to-pan, and two-finger touch pinch.
Package API Reference
API overview →@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.
Open API reference →
@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.
Open API reference →
@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.
Open API reference →
@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.
Open API reference →
@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.
Open API reference →