webgl-network-view 0.1.6 → 0.1.7

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/dist/index.d.ts CHANGED
@@ -10517,8 +10517,12 @@ export interface GisViewInstance {
10517
10517
  /**
10518
10518
  * 重画 / 重新应用配置:不传参数整份重建(数据就地改过、或想确保画面与当前配置完全一致时用它);
10519
10519
  * refresh({ reflow: false }) 只重画一帧,跳过整份重解析(10 万点 / 1 万线 41.0 ms → 0.1 ms 量级)
10520
+ * refresh({ scope: 'points' | 'lines' }) 声明只改了点或线那一半,另一半不变时跳过该半解析与索引重建;
10521
+ * 布局、实例上传、标签刷新与绘制仍对整份场景执行。
10522
+ * 这是调用方的承诺,不是自动脏块检测。线路绑定点位(from / to)或存在通道时,scope: 'points'
10523
+ * 仍会重解析线路;另一半点数据、隐藏集合、样式快照或交互状态不满足复用时也会重解析该半。
10520
10524
  */
10521
- refresh(options?: { reflow?: boolean }): GisViewInstance
10525
+ refresh(options?: { reflow?: boolean; scope?: 'points' | 'lines' }): GisViewInstance
10522
10526
  /**
10523
10527
  * 等下一帧画完(Promise):引擎下一次渲染结束时兑现那一帧的载荷(frame 是帧序号,
10524
10528
  * type / changes / counts 说明这一帧带上了哪几次数据变更,没有数据变更时为 null)。