Releases

Release v0.2.0

发布于 2026年9月4日

0.2.0 (2026-09-04)

⚠ BREAKING CHANGES

  • graph: labelAtlasFontSize 移除,改用 labelAtlas.fontSize。
  • controls: SigmaControls 未显式传 position 时由 bottom-right 变为 top-left, 依赖旧默认值的调用方需显式声明 position="bottom-right"。
  • styles: 控件与覆盖层的默认配色不再是原先的 GitHub 风格灰蓝, 自定义过 --sigma-color-* 的应用需重新核对取值。
  • styles: 移除 useSigmaReducer 与 chainReducers,useSigmaFilter 与 SigmaLegend 的 order 选项一并去掉。自定义归约请改写 styles 规则,或 经 SigmaGraph 的 nodeReducer / edgeReducer 逃生舱接入。

Features

  • apply-graph-diff: 校验入参形状并聚合悬空边告警 (b288e8d)
  • camera: 新增 framed 与原始图坐标的互转 (ee0ad60)
  • docs: data 接口补充分类字段与边标签 (22597f8)
  • docs: 引入 euroSIS 数据集与接口 (8fbc334)
  • docs: 新增 small 数据集接口 (99307b4)
  • graph: 透出 WebGL 上下文丢失与恢复事件 (a9fe542)
  • styles: SigmaStyles 支持自定义状态泛型 (add985a)

Bug Fixes

  • mini-map: 绘制参数变化后立即重绘 (5d6b154)
  • playground: 全屏控件示例补上必填的标签文案 (1577ac2)
  • playground: 示例改为必填 props 后补齐调用点 (c456970)

Documentation

  • agents: 精简约定,只留 sigma v4 的架构指向 (07b156c)
  • components: duration、labels、debounce、emptyText 各配独立示例 (0833090)
  • components: overlay 等四页按 prop 逐项重新设计 (83bcf38)
  • components: 删除 popover 页中冗余的 update:open 说明 (abafe3b)
  • components: 控件六页按骨架重写并补齐前缀 (320b220)
  • components: 补充 overlay 与 tooltip 页面说明 (3f60f7a)
  • composables: 交互七页按用法-示例-API 骨架重写 (7c829df)
  • composables: 基础六页按用法-示例-API 骨架重写 (6c854aa)
  • composables: 布局与分析三页按用法-示例-API 骨架重写 (9b6bc8f)
  • composables: 精简示例章节并对齐数据集节点 id (cdc92f3)
  • examples: edges 拆成独立示例并让边标签常显 (dfd083f)
  • examples: 交互组示例迁到 SigmaControls 与 Nuxt UI (ce5c915)
  • examples: 基础组示例迁到 SigmaControls 与 Nuxt UI (2492fd8)
  • examples: 工具函数示例迁到 SigmaControls 与真实数据集 (f175e1b)
  • examples: 布局与分析组示例迁到 SigmaControls 与 Nuxt UI (c76aedc)
  • examples: 控件六组件的示例按 prop 拆分重写 (f9afd1f)
  • examples: 示例去掉 withDefaults 与说明性注释 (19fc959)
  • examples: 示例改用真实数据集接口并统一容器布局 (2775093)
  • examples: 精简覆盖层示例并改用 small 数据集 (c5a2783)
  • examples: 覆盖层四组件的示例按 prop 拆分重写 (08f3648)
  • examples: 覆盖层示例改用接口数据集 (8953f74)
  • examples: 面板并入示例并接入 relations 数据集 (693cd92)
  • graph: labelAtlasFontSize 小节改写为 labelAtlas (49e9a5f)
  • graph: 组件页按 prop 逐项重写并补齐示例 (e37e7ce)
  • guides: 移除 guides 章节 (07180aa)
  • mini-map: 说明改写为基于 sigma 投影矩阵 (87f206a)
  • site: 开启共享手势并换用 rose + mist 配色 (a26f573)
  • utils: compose-styles 不再重复 stylesBase 示例 (a64531b)
  • utils: 删除 sampleGraph 文档页并重编号 (ae305a0)
  • utils: 重写工具函数文档并补齐序号 (b64f987)
  • 对齐 mapbox 文档站点并补齐首页、MCP 与 AI 集成 (24b5f98)
  • 清理指向已删除 guides 的死链 (ff12e73)
  • 示例与文档站同步至 styles 架构 (cb5855e), references #corpus
  • 示例统一容器高度并改用 SigmaControls 承载面板 (5cd9e23)
  • 精简 AGENTS.md 与 README (511e440)
  • 约定组件文档页的骨架与示例写法 (c513d87)

Code Refactoring

  • controls: 默认停靠位改为 top-left (d49a115)
  • docs: composables 页补齐两位数字前缀并重排分组 (de19afd)
  • docs: wikipedia 接口去掉手写数据集类型 (5051e76)
  • docs: 前五个组件页文件名补齐两位数字前缀 (adc6f95)
  • docs: 数据集转换下沉到服务端接口 (2f15d5b)
  • graph: labelAtlasFontSize 改为 labelAtlas 对象 (15cc96c)
  • minimap: 投影改用 sigma 的相机矩阵 (aa9994a)
  • playground: basic 同步 styles 架构与示例改名 (fa8c1e5), references #corpus
  • styles: reducer 链改为 v4 的 styles 与状态标志位 (e3cb899)
  • styles: 样式令牌绑定 Nuxt UI 的设计令牌 (6222f47)
  • utils: 移除 sampleGraph (8c77bbd)

Tests

  • minimap: 补齐投影与点击移动的用例 (2f690af)

Build System

  • deps: 升级 pnpm 与开发依赖 (aa81fd1)
  • deps: 升级 sigma 至 4.0.0-beta.5 (84ae09a)
  • docs: 升级 @movk/nuxt-docs 并预构建常用依赖 (df2b10e)

CI

  • release: 修正发布工作流指向仓库根包 (bf9064f)

Chores

  • deps: 升级 @nuxt/content、测试工具链与图标依赖 (477940a)
  • deps: 升级依赖版本 (417f236)
  • docs: 清理孤儿示例与 corpus 数据链 (46c8265), references #corpus
  • 接入 Renovate 依赖更新 (980cf88)
Copyright © 2026 - 2026 YiXuan - MIT License