@antv/g6 5.0.21 → 5.0.22

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.
Files changed (86) hide show
  1. package/README.en-US.md +1 -1
  2. package/README.md +1 -1
  3. package/dist/g6.min.js +2 -2
  4. package/dist/lib/behaviors/collapse-expand.d.ts +4 -4
  5. package/dist/lib/behaviors/drag-canvas.d.ts +1 -1
  6. package/dist/lib/exports.d.ts +2 -2
  7. package/dist/lib/plugins/minimap/index.d.ts +9 -0
  8. package/dist/lib/transforms/index.d.ts +2 -2
  9. package/dist/lib/transforms/{position-radial-labels.d.ts → place-radial-labels.d.ts} +4 -4
  10. package/dist/lib/version.d.ts +1 -1
  11. package/esm/behaviors/collapse-expand.d.ts +4 -4
  12. package/esm/behaviors/collapse-expand.js +4 -4
  13. package/esm/behaviors/drag-canvas.d.ts +1 -1
  14. package/esm/behaviors/drag-canvas.js +1 -1
  15. package/esm/behaviors/drag-canvas.js.map +1 -1
  16. package/esm/behaviors/drag-element.js +1 -0
  17. package/esm/behaviors/drag-element.js.map +1 -1
  18. package/esm/behaviors/hover-activate.js +11 -10
  19. package/esm/behaviors/hover-activate.js.map +1 -1
  20. package/esm/elements/shapes/base-shape.js +2 -2
  21. package/esm/elements/shapes/base-shape.js.map +1 -1
  22. package/esm/exports.d.ts +2 -2
  23. package/esm/exports.js +1 -1
  24. package/esm/exports.js.map +1 -1
  25. package/esm/plugins/minimap/index.d.ts +9 -0
  26. package/esm/plugins/minimap/index.js +20 -6
  27. package/esm/plugins/minimap/index.js.map +1 -1
  28. package/esm/registry/build-in.js +2 -2
  29. package/esm/registry/build-in.js.map +1 -1
  30. package/esm/runtime/data.js +14 -2
  31. package/esm/runtime/data.js.map +1 -1
  32. package/esm/transforms/index.d.ts +2 -2
  33. package/esm/transforms/index.js +1 -1
  34. package/esm/transforms/index.js.map +1 -1
  35. package/esm/transforms/{position-radial-labels.d.ts → place-radial-labels.d.ts} +4 -4
  36. package/esm/transforms/{position-radial-labels.js → place-radial-labels.js} +3 -3
  37. package/esm/transforms/place-radial-labels.js.map +1 -0
  38. package/esm/utils/visibility.js.map +1 -1
  39. package/esm/version.d.ts +1 -1
  40. package/esm/version.js +1 -1
  41. package/lib/behaviors/collapse-expand.d.ts +4 -4
  42. package/lib/behaviors/collapse-expand.js +4 -4
  43. package/lib/behaviors/drag-canvas.d.ts +1 -1
  44. package/lib/behaviors/drag-canvas.js +1 -1
  45. package/lib/behaviors/drag-canvas.js.map +1 -1
  46. package/lib/behaviors/drag-element.js +1 -0
  47. package/lib/behaviors/drag-element.js.map +1 -1
  48. package/lib/behaviors/hover-activate.js +11 -10
  49. package/lib/behaviors/hover-activate.js.map +1 -1
  50. package/lib/elements/shapes/base-shape.js +2 -2
  51. package/lib/elements/shapes/base-shape.js.map +1 -1
  52. package/lib/exports.d.ts +2 -2
  53. package/lib/exports.js +2 -2
  54. package/lib/exports.js.map +1 -1
  55. package/lib/plugins/minimap/index.d.ts +9 -0
  56. package/lib/plugins/minimap/index.js +19 -5
  57. package/lib/plugins/minimap/index.js.map +1 -1
  58. package/lib/registry/build-in.js +1 -1
  59. package/lib/registry/build-in.js.map +1 -1
  60. package/lib/runtime/data.js +13 -1
  61. package/lib/runtime/data.js.map +1 -1
  62. package/lib/transforms/index.d.ts +2 -2
  63. package/lib/transforms/index.js +3 -3
  64. package/lib/transforms/index.js.map +1 -1
  65. package/lib/transforms/{position-radial-labels.d.ts → place-radial-labels.d.ts} +4 -4
  66. package/lib/transforms/{position-radial-labels.js → place-radial-labels.js} +5 -5
  67. package/lib/transforms/place-radial-labels.js.map +1 -0
  68. package/lib/utils/visibility.js.map +1 -1
  69. package/lib/version.d.ts +1 -1
  70. package/lib/version.js +1 -1
  71. package/package.json +4 -4
  72. package/src/behaviors/collapse-expand.ts +4 -4
  73. package/src/behaviors/drag-canvas.ts +2 -2
  74. package/src/behaviors/drag-element.ts +1 -0
  75. package/src/behaviors/hover-activate.ts +13 -13
  76. package/src/elements/shapes/base-shape.ts +2 -2
  77. package/src/exports.ts +2 -2
  78. package/src/plugins/minimap/index.ts +31 -10
  79. package/src/registry/build-in.ts +2 -2
  80. package/src/runtime/data.ts +15 -3
  81. package/src/transforms/index.ts +2 -2
  82. package/src/transforms/{position-radial-labels.ts → place-radial-labels.ts} +5 -5
  83. package/src/utils/visibility.ts +2 -2
  84. package/src/version.ts +1 -1
  85. package/esm/transforms/position-radial-labels.js.map +0 -1
  86. package/lib/transforms/position-radial-labels.js.map +0 -1
@@ -124,8 +124,8 @@ export abstract class BaseShape<StyleProps extends BaseShapeStyleProps> extends
124
124
  */
125
125
  protected transformPosition(attributes: Partial<StyleProps>) {
126
126
  // Use `transform: translate3d()` instead of `x/y/z`
127
- const { x = 0, y = 0, z = 0, transform } = attributes as any;
128
- if (x !== 0 || y !== 0 || z !== 0) {
127
+ if ('x' in attributes || 'y' in attributes || 'z' in attributes) {
128
+ const { x = 0, y = 0, z = 0, transform } = attributes as any;
129
129
  this.style.transform = replaceTranslateInTransform(+x, +y, +z, transform);
130
130
  }
131
131
  }
package/src/exports.ts CHANGED
@@ -95,7 +95,7 @@ export {
95
95
  export { getExtension, getExtensions } from './registry/get';
96
96
  export { register } from './registry/register';
97
97
  export { Graph } from './runtime/graph';
98
- export { BaseTransform, PositionRadialLabels, ProcessParallelEdges } from './transforms';
98
+ export { BaseTransform, PlaceRadialLabels, ProcessParallelEdges } from './transforms';
99
99
  export { isCollapsed } from './utils/collapsibility';
100
100
  export { idOf } from './utils/id';
101
101
  export { invokeLayoutMethod } from './utils/layout';
@@ -219,7 +219,7 @@ export type { CustomBehaviorOption } from './spec/behavior';
219
219
  export type { AnimationStage } from './spec/element/animation';
220
220
  export type { LayoutOptions, STDLayoutOptions, SingleLayoutOptions } from './spec/layout';
221
221
  export type { CustomPluginOption } from './spec/plugin';
222
- export type { BaseTransformOptions, PositionRadialLabelsOptions, ProcessParallelEdgesOptions } from './transforms';
222
+ export type { BaseTransformOptions, PlaceRadialLabelsOptions, ProcessParallelEdgesOptions } from './transforms';
223
223
  export type { DrawData } from './transforms/types';
224
224
  export type {
225
225
  BaseElementStyleProps,
@@ -1,6 +1,6 @@
1
1
  import { Canvas, DisplayObject, IRenderer, Landmark } from '@antv/g';
2
2
  import { Renderer } from '@antv/g-canvas';
3
- import { throttle } from '@antv/util';
3
+ import { debounce, throttle } from '@antv/util';
4
4
  import { GraphEvent } from '../../constants';
5
5
  import type { RuntimeContext } from '../../runtime/types';
6
6
  import { GraphData } from '../../spec';
@@ -93,6 +93,13 @@ export interface MinimapOptions extends BasePluginOptions {
93
93
  * <en/> Renderer, default to use Canvas renderer
94
94
  */
95
95
  renderer?: IRenderer;
96
+ /**
97
+ * <zh/> 延迟更新时间(毫秒),用于性能优化
98
+ *
99
+ * <en/> Delay update time(ms), used for performance optimization
100
+ * @defaultValue 128
101
+ */
102
+ delay?: number;
96
103
  }
97
104
 
98
105
  /**
@@ -114,15 +121,35 @@ export class Minimap extends BasePlugin<MinimapOptions> {
114
121
  border: '1px solid #ddd',
115
122
  background: '#fff',
116
123
  },
124
+ delay: 128,
117
125
  };
118
126
 
119
127
  private canvas!: Canvas;
120
128
 
121
129
  constructor(context: RuntimeContext, options: MinimapOptions) {
122
130
  super(context, Object.assign({}, Minimap.defaultOptions, options));
131
+ this.setOnRender();
132
+ this.bindEvents();
133
+ }
134
+
135
+ public update(options: Partial<MinimapOptions>): void {
136
+ this.unbindEvents();
137
+ super.update(options);
138
+ if ('delay' in options) this.setOnRender();
123
139
  this.bindEvents();
124
140
  }
125
141
 
142
+ private setOnRender() {
143
+ this.onRender = debounce(
144
+ () => {
145
+ this.renderMinimap();
146
+ this.renderMask();
147
+ },
148
+ this.options.delay,
149
+ true,
150
+ );
151
+ }
152
+
126
153
  private bindEvents() {
127
154
  const { graph } = this.context;
128
155
  graph.on(GraphEvent.AFTER_DRAW, this.onDraw);
@@ -142,14 +169,7 @@ export class Minimap extends BasePlugin<MinimapOptions> {
142
169
  this.onRender();
143
170
  };
144
171
 
145
- private onRender = throttle(
146
- () => {
147
- this.renderMinimap();
148
- this.renderMask();
149
- },
150
- 32,
151
- { leading: true },
152
- ) as () => void;
172
+ private onRender!: () => void;
153
173
 
154
174
  private shapes = new Map<ID, DisplayObject>();
155
175
 
@@ -296,7 +316,8 @@ export class Minimap extends BasePlugin<MinimapOptions> {
296
316
  } = this.options;
297
317
 
298
318
  if (this.canvas) {
299
- this.canvas.resize(width, height);
319
+ const { width: w, height: h } = this.canvas.getConfig();
320
+ if (width !== w || height !== h) this.canvas.resize(width, height);
300
321
  if (renderer) this.canvas.setRenderer(renderer);
301
322
  } else {
302
323
  const dom = document.createElement('div');
@@ -93,7 +93,7 @@ import {
93
93
  CollapseExpandCombo,
94
94
  CollapseExpandNode,
95
95
  GetEdgeActualEnds,
96
- PositionRadialLabels,
96
+ PlaceRadialLabels,
97
97
  ProcessParallelEdges,
98
98
  UpdateRelatedEdge,
99
99
  } from '../transforms';
@@ -210,7 +210,7 @@ const BUILT_IN_EXTENSIONS: ExtensionRegistry = {
210
210
  'collapse-expand-node': CollapseExpandNode,
211
211
  'process-parallel-edges': ProcessParallelEdges,
212
212
  'get-edge-actual-ends': GetEdgeActualEnds,
213
- 'position-radial-labels': PositionRadialLabels,
213
+ 'place-radial-labels': PlaceRadialLabels,
214
214
  },
215
215
  shape: {
216
216
  circle: GCircle,
@@ -1,5 +1,5 @@
1
1
  import { Graph as GraphLib } from '@antv/graphlib';
2
- import { isUndefined, uniq } from '@antv/util';
2
+ import { get, isUndefined, set, uniq } from '@antv/util';
3
3
  import { COMBO_KEY, ChangeType, TREE_KEY } from '../constants';
4
4
  import type { ComboData, EdgeData, GraphData, NodeData } from '../spec';
5
5
  import type {
@@ -529,9 +529,18 @@ export class DataController {
529
529
  */
530
530
  public setParent(id: ID, parent: ID | undefined, hierarchyKey: HierarchyKey, update: boolean = true) {
531
531
  if (id === parent) return;
532
- const originalParentId = parentIdOf(this.getNodeLikeDatum(id));
533
-
532
+ const elementData = this.getNodeLikeDatum(id);
533
+ const originalParentId = parentIdOf(elementData);
534
+
535
+ if (parent) {
536
+ const parentData = this.getNodeLikeDatum(parent);
537
+ if (parentData.style?.zIndex !== undefined) {
538
+ const zIndex = get(parentData, ['style', 'zIndex'], 0) + (this.isCombo(parent) ? 1 : 0);
539
+ set(elementData, ['style', 'zIndex'], zIndex);
540
+ }
541
+ }
534
542
  // Sync data
543
+
535
544
  if (originalParentId !== parent && hierarchyKey === COMBO_KEY) {
536
545
  const modifiedDatum = { id, combo: parent };
537
546
  if (this.isCombo(id)) this.syncComboDatum(modifiedDatum);
@@ -617,10 +626,13 @@ export class DataController {
617
626
  if ([dx, dy, dz].some(isNaN) || [dx, dy, dz].every((o) => o === 0)) return;
618
627
  const combo = this.getComboData([id])[0];
619
628
  if (!combo) return;
629
+ const seenNodeLikeIds = new Set<ID>();
620
630
  dfs<NodeLikeData>(
621
631
  combo,
622
632
  (succeed) => {
623
633
  const succeedID = idOf(succeed);
634
+ if (seenNodeLikeIds.has(succeedID)) return;
635
+ seenNodeLikeIds.add(succeedID);
624
636
  const [x, y, z] = positionOf(succeed);
625
637
  const value = mergeElementsData(succeed, {
626
638
  style: { x: x + dx, y: y + dy, z: z + dz },
@@ -3,10 +3,10 @@ export { BaseTransform } from './base-transform';
3
3
  export { CollapseExpandCombo } from './collapse-expand-combo';
4
4
  export { CollapseExpandNode } from './collapse-expand-node';
5
5
  export { GetEdgeActualEnds } from './get-edge-actual-ends';
6
- export { PositionRadialLabels } from './position-radial-labels';
6
+ export { PlaceRadialLabels } from './place-radial-labels';
7
7
  export { ProcessParallelEdges } from './process-parallel-edges';
8
8
  export { UpdateRelatedEdge } from './update-related-edge';
9
9
 
10
10
  export type { BaseTransformOptions } from './base-transform';
11
- export type { PositionRadialLabelsOptions } from './position-radial-labels';
11
+ export type { PlaceRadialLabelsOptions } from './place-radial-labels';
12
12
  export type { ProcessParallelEdgesOptions } from './process-parallel-edges';
@@ -13,7 +13,7 @@ import { BaseTransform } from './base-transform';
13
13
  *
14
14
  * <en/> Options for automatically adjusting the style of node labels according to the radial layout
15
15
  */
16
- export interface PositionRadialLabelsOptions extends BaseTransformOptions {
16
+ export interface PlaceRadialLabelsOptions extends BaseTransformOptions {
17
17
  /**
18
18
  * <zh/> 偏移量
19
19
  *
@@ -27,13 +27,13 @@ export interface PositionRadialLabelsOptions extends BaseTransformOptions {
27
27
  *
28
28
  * <en/> Automatically adjust the style of node labels according to the radial layout, including position and rotation angle
29
29
  */
30
- export class PositionRadialLabels extends BaseTransform<PositionRadialLabelsOptions> {
31
- static defaultOptions: Partial<PositionRadialLabelsOptions> = {
30
+ export class PlaceRadialLabels extends BaseTransform<PlaceRadialLabelsOptions> {
31
+ static defaultOptions: Partial<PlaceRadialLabelsOptions> = {
32
32
  offset: 5,
33
33
  };
34
34
 
35
- constructor(context: RuntimeContext, options: PositionRadialLabelsOptions) {
36
- super(context, Object.assign({}, PositionRadialLabels.defaultOptions, options));
35
+ constructor(context: RuntimeContext, options: PlaceRadialLabelsOptions) {
36
+ super(context, Object.assign({}, PlaceRadialLabels.defaultOptions, options));
37
37
  }
38
38
 
39
39
  private get ref(): NodeData {
@@ -23,8 +23,8 @@ export function setVisibility(
23
23
  ) {
24
24
  if (value === undefined) return;
25
25
 
26
- const traverse = (current: DisplayObject, scope = value) => {
27
- const walk = (val = scope) => (current.childNodes as DisplayObject[]).forEach((node) => traverse(node, val));
26
+ const traverse = (current: DisplayObject, scope = value): void => {
27
+ const walk = (val = scope): void => (current.childNodes as DisplayObject[]).forEach((node) => traverse(node, val));
28
28
 
29
29
  if (filter && !filter(current)) return walk();
30
30
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '5.0.21';
1
+ export const version = '5.0.22';
@@ -1 +0,0 @@
1
- {"version":3,"file":"position-radial-labels.js","sourceRoot":"src/","sources":["transforms/position-radial-labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGlC,O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