Skip to content

SimplexViz v0.7.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 13:28

Fixed

  • @simplex-viz/core, @simplex-viz/svg, @simplex-viz/react — ESM Node16 / NodeNext .d.ts module resolution (#2):
    • Added explicit .js file extensions to all relative imports and export * re-exports across all three packages so published .d.ts declarations resolve cleanly under TypeScript moduleResolution: "node16" and "nodenext" without degrading cross-package re-exports to any.
    • Enforced "module": "NodeNext" and "moduleResolution": "NodeNext" in each package's tsconfig.build.json to catch extensionless relative specifiers at build time.
    • Added an automated Vitest integration test (nodenextResolution.test.ts) verifying nodenext typechecking with both skipLibCheck: true and skipLibCheck: false.
  • @simplex-viz/core — Content-node selection clarity:
    • Removed automatic nearest-neighbor emphasis when selecting a content item so individual node inspection remains visually clean.

Added / Changed

  • @simplex-viz/core:
    • Subspace Zoom & Discriminative Cluster Labeling: Added createSubspaceZoomStrategy for representation-agnostic 6-vertex local subspace refinement across embeddings, pairwise similarity kernels, and tags (minItemsForRecluster: 6, blendFactor: 0.35), alongside assignDiscriminativeClusterLabels, resolveDiscriminativeClusterLabel, disambiguatePeerClusterTitle, and parentContextLabel breadcrumb/corner context.
    • Single-Triangle Leaf Focus ('triangle-focus', leafTriangleFocus: true): Non-subdividable leaf triangles remain focusable as single triangles (focusableTriangleIndices, activeFrameKind: 'triangle-focus') via their open triangle background while keeping covered content items directly clickable (no pointer pass-through on leaf triangles) and toggling back up on repeat background clicks.
    • Uniform 1-Ring 'incident-star' Cluster & Subcluster Drill-Down: Standardized both primary and intermediate cluster focus on lattice-conformal 1-ring 'incident-star' meshes with continuous barycentric simplex-distance item dimming (opacity = 0.32 + 0.68 · w̃₀), direct lateral rim switching, and toggle-up when re-clicking the centered cluster.
    • Aspect-Aligned Full-Canvas Triangulation: Updated buildSimplexMesh and createAdaptiveHexMeshStrategy to align 60° lattice orientation to the viewport aspect ratio across mobile, standard, and widescreen canvases (minSideLength: 130, uncapped maxSideLength by default, maxClusters: 14, and adaptive innerPadding: 32–48 via resolveDefaultInnerPadding).
    • Space-Filling Layout Strategy Presets: Upgraded createPbdUniformLayoutStrategy, createWarmStartPbdLayoutStrategy, and createLocalAdaptiveLayoutStrategy to combine createMeshInwardFanSeeder + createSpaceFillingPbdRelaxer with post-dispersion scale/density regulation (crowdRadiusPx: 76, minLocalScale: 0.35, warmStart: true, and local halo collision polish instead of a global shrink fallback) while maintaining 0.0 px SAT overlap and covering-triangle containment.
  • @simplex-viz/svg & @simplex-viz/react:
    • Added WCAG-AA perceptual cluster surface contrast calibration (colorContrast) and two-line parentContextLabel rendering on chamfered intermediate subcluster plaques in BadgeClusterSvgView and ClusterAnchorSvgView.
    • Re-exported createSubspaceZoomStrategy, resolveDefaultInnerPadding, discriminative label helpers, and enriched SimplexZoomState fields (activeFrameKind, focusableTriangleIndices) across @simplex-viz/svg and @simplex-viz/react.
  • Documentation, Brand Pipeline & CI/CD:
    • Built the multi-page Astro 7 documentation, interactive strategy catalog, live Playground, real-world open dataset explorers (UCI Zoo, Hillenbrand American English Vowels, Palmer Penguins, Wikimedia Commons Media, arXiv CS Abstracts), package API references, and engineering notes.
    • Added scripts/gh-issue.ts (npm run issue) for fetching open GitHub issues and comments directly from the repository via the public GitHub REST API.
    • Refactored GitHub Actions workflows around a reusable _quality.yml gate (gating both GitHub Pages deployment and npm publishing while preserving release.yml for npm OIDC Trusted Publishing), enabled pnpm sync:brand:check in CI, switched brand PNG rendering to deterministic npm-managed @fontsource/* WOFF2 fonts (Plus Jakarta Sans + IBM Plex Mono + Noto Sans fallbacks) decompressed via woff2-encoder without relying on OS fonts, and cleaned stale artifacts from public/.