diff --git a/packages/g6/__tests__/demos/behavior-expand-collapse-combo.ts b/packages/g6/__tests__/demos/behavior-expand-collapse-combo.ts
index abf554c4df..2028f8adc8 100644
--- a/packages/g6/__tests__/demos/behavior-expand-collapse-combo.ts
+++ b/packages/g6/__tests__/demos/behavior-expand-collapse-combo.ts
@@ -35,10 +35,9 @@ export const behaviorExpandCollapseCombo: TestCase = async (context) => {
style: {
labelText: (d) => d.id,
lineDash: 0,
- collapsedLineDash: [5, 5],
},
},
- behaviors: [{ type: 'drag-element' }, 'collapse-expand'],
+ behaviors: [{ type: 'drag-element' }, 'collapse-expand', 'click-select'],
});
await graph.render();
diff --git a/packages/g6/__tests__/demos/element-edge-arrow.ts b/packages/g6/__tests__/demos/element-edge-arrow.ts
index 9d79273c01..2c3accf35b 100644
--- a/packages/g6/__tests__/demos/element-edge-arrow.ts
+++ b/packages/g6/__tests__/demos/element-edge-arrow.ts
@@ -34,6 +34,7 @@ export const elementEdgeArrow: TestCase = async (context) => {
endArrowType: (d: any) => idOf(d).toString().split('-')[0] as any,
},
},
+ behaviors: ['drag-element'],
layout: {
type: 'grid',
cols: 2,
diff --git a/packages/g6/__tests__/demos/element-z-index.ts b/packages/g6/__tests__/demos/element-z-index.ts
index 257109155b..fc0ef3b719 100644
--- a/packages/g6/__tests__/demos/element-z-index.ts
+++ b/packages/g6/__tests__/demos/element-z-index.ts
@@ -32,6 +32,7 @@ export const elementZIndex: TestCase = async (context) => {
combo: {
style: {
labelText: (d) => d.id,
+ fillOpacity: 1,
},
palette: 'tableau',
},
diff --git a/packages/g6/__tests__/demos/plugin-timebar.ts b/packages/g6/__tests__/demos/plugin-timebar.ts
index a4fe5b416b..289c27d2fb 100644
--- a/packages/g6/__tests__/demos/plugin-timebar.ts
+++ b/packages/g6/__tests__/demos/plugin-timebar.ts
@@ -62,7 +62,7 @@ export const pluginTimebar: TestCase = async (context) => {
rows,
},
autoFit: 'view',
- padding: [10, 0, 65, 0],
+ padding: [10, 0, 90, 0],
behaviors: ['drag-element'],
plugins: [
{
@@ -70,6 +70,7 @@ export const pluginTimebar: TestCase = async (context) => {
key: 'timebar',
data: timebarData,
mode: 'modify',
+ padding: 40,
},
],
});
diff --git a/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/collapse-combo-0.svg b/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/collapse-combo-0.svg
index a6ca591afd..b9875cafcc 100644
--- a/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/collapse-combo-0.svg
+++ b/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/collapse-combo-0.svg
@@ -5,11 +5,11 @@
-
+
-
+
2
diff --git a/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/default.svg b/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/default.svg
index 54ec58a539..36bbf4599d 100644
--- a/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/default.svg
+++ b/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/default.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/drag-combo-0.svg b/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/drag-combo-0.svg
index 8731d5c964..b0f6212af9 100644
--- a/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/drag-combo-0.svg
+++ b/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/drag-combo-0.svg
@@ -5,11 +5,11 @@
-
+
-
+
2
diff --git a/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/drag-node-2.svg b/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/drag-node-2.svg
index 4d1f52c212..87e482bf88 100644
--- a/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/drag-node-2.svg
+++ b/packages/g6/__tests__/snapshots/__tests__/bugs/element-combo-drag/drag-node-2.svg
@@ -5,11 +5,11 @@
-
+
-
+
2
diff --git a/packages/g6/__tests__/snapshots/__tests__/bugs/element-edge-update-arrow/default.svg b/packages/g6/__tests__/snapshots/__tests__/bugs/element-edge-update-arrow/default.svg
index 539ce5bd7c..6b97a7dc53 100644
--- a/packages/g6/__tests__/snapshots/__tests__/bugs/element-edge-update-arrow/default.svg
+++ b/packages/g6/__tests__/snapshots/__tests__/bugs/element-edge-update-arrow/default.svg
@@ -10,10 +10,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/__tests__/bugs/element-edge-update-arrow/update-arrow.svg b/packages/g6/__tests__/snapshots/__tests__/bugs/element-edge-update-arrow/update-arrow.svg
index 402ec8bfde..f4b3081afb 100644
--- a/packages/g6/__tests__/snapshots/__tests__/bugs/element-edge-update-arrow/update-arrow.svg
+++ b/packages/g6/__tests__/snapshots/__tests__/bugs/element-edge-update-arrow/update-arrow.svg
@@ -10,10 +10,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-custom-edge4.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-custom-edge4.svg
index 3071b24417..3e3cff2873 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-custom-edge4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-custom-edge4.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
@@ -51,7 +51,7 @@
-
+
@@ -61,7 +61,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge1-move.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge1-move.svg
index b2b1e81245..97c315027c 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge1-move.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge1-move.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge1.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge1.svg
index 5e739656b6..a493437cb1 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge1.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge2.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge2.svg
index f5a93a079b..0f55aaa8f3 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge2.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge3.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge3.svg
index 60eee65e3e..5aa32332c2 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge3.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge4-combo.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge4-combo.svg
index d6f6e08b70..bd9e3a253a 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge4-combo.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/click-edge4-combo.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
@@ -51,7 +51,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/default.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/default.svg
index 9c08c297b8..386b2f367d 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-click/default.svg
@@ -5,12 +5,12 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/default.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/default.svg
index 9c08c297b8..386b2f367d 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/default.svg
@@ -5,12 +5,12 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-custom-edge4.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-custom-edge4.svg
index 3071b24417..3e3cff2873 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-custom-edge4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-custom-edge4.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
@@ -51,7 +51,7 @@
-
+
@@ -61,7 +61,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge1-move.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge1-move.svg
index b2b1e81245..97c315027c 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge1-move.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge1-move.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge1.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge1.svg
index 5e739656b6..a493437cb1 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge1.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge2.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge2.svg
index f5a93a079b..0f55aaa8f3 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge2.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge3.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge3.svg
index 60eee65e3e..5aa32332c2 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge3.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge4-combo.svg b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge4-combo.svg
index d6f6e08b70..bd9e3a253a 100644
--- a/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge4-combo.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/behavior-create-edge-drag/drag-edge4-combo.svg
@@ -5,12 +5,12 @@
-
+
-
+
@@ -21,7 +21,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
@@ -51,7 +51,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-1.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-1.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-1.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-2.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-2.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-2.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-3.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-3.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-3.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-4.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-4.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-4.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-5.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-5.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-5.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-5.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-diff.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-diff.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-diff.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-diff.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-intersect.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-intersect.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-intersect.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-intersect.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-union.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-union.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-union.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-clear-mode-union.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-select-clear.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-select-clear.svg
index c2b4deb21b..9977576652 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-select-clear.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-select-clear.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-1.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-1.svg
index 25a503dc2d..2e10bf54b2 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-1.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-2.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-2.svg
index 5059da3aa2..df6a6249ee 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-2.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-3.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-3.svg
index 25a503dc2d..2e10bf54b2 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-3.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-4.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-4.svg
index 25a503dc2d..2e10bf54b2 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-4.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-5.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-5.svg
index 2185e49d83..69412ab196 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-5.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-5.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-diff.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-diff.svg
index 2185e49d83..69412ab196 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-diff.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-diff.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-intersect.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-intersect.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-intersect.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-intersect.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-union.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-union.svg
index 2185e49d83..69412ab196 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-union.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selected-mode-union.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-1.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-1.svg
index 529f03b05d..206abd8faf 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-1.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-2.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-2.svg
index c9b9d0acd4..a5904f2bd9 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-2.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-3.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-3.svg
index 6825d6c4f9..21715b6756 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-3.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-4.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-4.svg
index 6825d6c4f9..21715b6756 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-4.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-5.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-5.svg
index 2c2c22aa3d..3904b87020 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-5.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-5.svg
@@ -5,10 +5,10 @@
-
+
-
+
@@ -121,7 +121,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-diff.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-diff.svg
index 6825d6c4f9..21715b6756 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-diff.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-diff.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-intersect.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-intersect.svg
index 6825d6c4f9..21715b6756 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-intersect.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-intersect.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-union.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-union.svg
index 6825d6c4f9..21715b6756 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-union.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/brush-selecting-mode-union.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/brush-select/default.svg b/packages/g6/__tests__/snapshots/behaviors/brush-select/default.svg
index c2b4deb21b..9977576652 100644
--- a/packages/g6/__tests__/snapshots/behaviors/brush-select/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/brush-select/default.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-0.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-0.svg
index 05614d3c09..ba10260aea 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-0.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-0.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-1000.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-1000.svg
index 0ed854f81d..d3322fb8c4 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-1000.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-1000.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-500.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-500.svg
index 17b71f859b..33c66369a1 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-500.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-1-expand-combo-2-500.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-0.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-0.svg
index fd43066aa6..ca8353fe80 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-0.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-0.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-1000.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-1000.svg
index f4b33a9080..b07d10001e 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-1000.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-1000.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-500.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-500.svg
index f8d66bbc8b..248e7b2a55 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-500.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/collapse-combo-2-500.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/default.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/default.svg
index 27a41b58ba..a6c575d0bd 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/default.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-0.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-0.svg
index 95bb8dee7d..587e4d0f9f 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-0.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-0.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-1000.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-1000.svg
index fd43066aa6..ca8353fe80 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-1000.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-1000.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-500.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-500.svg
index 335fcfe2d5..f448a9418d 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-500.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand-combo/expand-combo-1-500.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand/collapse-combo-2.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand/collapse-combo-2.svg
index f4b33a9080..b07d10001e 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand/collapse-combo-2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand/collapse-combo-2.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand/default.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand/default.svg
index 27a41b58ba..a6c575d0bd 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand/default.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/behaviors/collapse-expand/expand-combo-1.svg b/packages/g6/__tests__/snapshots/behaviors/collapse-expand/expand-combo-1.svg
index fd43066aa6..090dfb2059 100644
--- a/packages/g6/__tests__/snapshots/behaviors/collapse-expand/expand-combo-1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/collapse-expand/expand-combo-1.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/default.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/default.svg
index fd43066aa6..ca8353fe80 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/default.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-after-drop-move.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-after-drop-move.svg
index e98fd8044e..ec6da805e6 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-after-drop-move.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-after-drop-move.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-after-drop-out.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-after-drop-out.svg
index c75fd4f717..72fe113d2f 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-after-drop-out.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-after-drop-out.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-before-drop-move.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-before-drop-move.svg
index 7d2c24d5b6..5da821b30c 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-before-drop-move.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-before-drop-move.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-before-drop-out.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-before-drop-out.svg
index 8590daa1a3..715bbea537 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-before-drop-out.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-1-before-drop-out.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-2-after-drop-into.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-2-after-drop-into.svg
index 1a0b3cec01..979b789dc7 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-2-after-drop-into.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-2-after-drop-into.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-2-before-drop-into.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-2-before-drop-into.svg
index fe0abdeb6c..4dd56d2887 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-2-before-drop-into.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-combo-2-before-drop-into.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-into.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-into.svg
index 4aa82d3105..7321fa0939 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-into.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-into.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-move.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-move.svg
index ef062e2d0b..c7128f0751 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-move.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-move.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-out.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-out.svg
index d1d74b90a0..4c6ccfc19b 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-out.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-after-drop-out.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-into.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-into.svg
index 4aa82d3105..7321fa0939 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-into.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-into.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-move.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-move.svg
index bb9703b53f..cd4a1e3a90 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-move.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-move.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-out.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-out.svg
index 99a6969a36..a8df408ce8 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-out.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-1-before-drop-out.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-2-after-drop-out.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-2-after-drop-out.svg
index b46a0c5a4a..4b502ab1c6 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-2-after-drop-out.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-2-after-drop-out.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-2-before-drop-out.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-2-before-drop-out.svg
index ae92435be6..3edf76c19b 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-2-before-drop-out.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element-combo/drag-node-2-before-drop-out.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/after-drag.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/after-drag.svg
index 169ecc367c..1fedcc3864 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/after-drag.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/after-drag.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/default.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/default.svg
index 5c15ba9ea7..2ddffe7f5e 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/default.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo-shadow-after-drag.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo-shadow-after-drag.svg
index 00008a8789..d6914c8968 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo-shadow-after-drag.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo-shadow-after-drag.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo-shadow.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo-shadow.svg
index 392047ef5c..3d57686c19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo-shadow.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo-shadow.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo.svg
index 5523ef4af1..87271e92f3 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/drag-combo.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-both.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-both.svg
index 2de70914d9..6d0cb8a5ba 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-both.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-both.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-in.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-in.svg
index 4fd872baf3..5411f5c1b4 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-in.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-in.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-out.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-out.svg
index 105bf96b0e..1e49c94e0c 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-out.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/hideEdge-out.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/shadow-after-drag.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/shadow-after-drag.svg
index 34e7930c8f..6e2a0ed5af 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/shadow-after-drag.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/shadow-after-drag.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/drag-element/shadow.svg b/packages/g6/__tests__/snapshots/behaviors/drag-element/shadow.svg
index 6af95223cb..dc0537f2ee 100644
--- a/packages/g6/__tests__/snapshots/behaviors/drag-element/shadow.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/drag-element/shadow.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/focus-element/default.svg b/packages/g6/__tests__/snapshots/behaviors/focus-element/default.svg
index 5c15ba9ea7..2ddffe7f5e 100644
--- a/packages/g6/__tests__/snapshots/behaviors/focus-element/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/focus-element/default.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-combo.svg b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-combo.svg
index d004433eab..630b2c5078 100644
--- a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-combo.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-combo.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-1.svg b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-1.svg
index b0dcd158b7..adf1b60dc8 100644
--- a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-1.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-2.svg b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-2.svg
index 9431637ab1..fddeab466f 100644
--- a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-2.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-3.svg b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-3.svg
index 1b975a25c0..ffa33750ae 100644
--- a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-3.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-4.svg b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-4.svg
index 89863c0a10..97e0cc0bbd 100644
--- a/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/focus-element/focus-node-4.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -36,7 +36,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/default.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/default.svg
index c2b4deb21b..9977576652 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/default.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/default.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-1.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-1.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-1.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-2.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-2.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-2.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-3.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-3.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-3.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-4.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-4.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-4.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-5.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-5.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-5.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-5.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-diff.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-diff.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-diff.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-diff.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-intersect.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-intersect.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-intersect.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-intersect.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-union.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-union.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-union.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-clear-mode-union.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-select-clear.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-select-clear.svg
index c2b4deb21b..9977576652 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-select-clear.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-select-clear.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-1.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-1.svg
index 25a503dc2d..2e10bf54b2 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-1.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-2.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-2.svg
index fc90fd19e3..faa64c5779 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-2.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-3.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-3.svg
index 5059da3aa2..df6a6249ee 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-3.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-4.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-4.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-4.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-5.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-5.svg
index 2185e49d83..69412ab196 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-5.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-5.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-diff.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-diff.svg
index 2185e49d83..69412ab196 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-diff.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-diff.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-intersect.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-intersect.svg
index 7a3a160208..ae2c871e19 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-intersect.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-intersect.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-union.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-union.svg
index 2185e49d83..69412ab196 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-union.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selected-mode-union.svg
@@ -5,10 +5,10 @@
-
+
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-1.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-1.svg
index 3da794b3e7..691663d9ae 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-1.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-1.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-2.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-2.svg
index 912fda4e1a..b24f100495 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-2.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-2.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-3.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-3.svg
index 696e191d9a..3f0a77a0bd 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-3.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-3.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-4.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-4.svg
index b4dbfe90ef..879f2d1344 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-4.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-4.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-5.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-5.svg
index f45f32fa58..28da09e50a 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-5.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-5.svg
@@ -5,10 +5,10 @@
-
+
-
+
@@ -121,7 +121,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-diff.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-diff.svg
index a25dbb0882..f9c6d90bb7 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-diff.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-diff.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-intersect.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-intersect.svg
index a25dbb0882..f9c6d90bb7 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-intersect.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-intersect.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-union.svg b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-union.svg
index a25dbb0882..f9c6d90bb7 100644
--- a/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-union.svg
+++ b/packages/g6/__tests__/snapshots/behaviors/lasso-select/lasso-selecting-mode-union.svg
@@ -5,7 +5,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/combo/circle-collapse-center.svg b/packages/g6/__tests__/snapshots/elements/combo/circle-collapse-center.svg
index 1b6030db05..6308bf30de 100644
--- a/packages/g6/__tests__/snapshots/elements/combo/circle-collapse-center.svg
+++ b/packages/g6/__tests__/snapshots/elements/combo/circle-collapse-center.svg
@@ -5,7 +5,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/combo/circle-marker-childCount.svg b/packages/g6/__tests__/snapshots/elements/combo/circle-marker-childCount.svg
index f4b33a9080..f5f1438680 100644
--- a/packages/g6/__tests__/snapshots/elements/combo/circle-marker-childCount.svg
+++ b/packages/g6/__tests__/snapshots/elements/combo/circle-marker-childCount.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/elements/combo/circle-marker-custom.svg b/packages/g6/__tests__/snapshots/elements/combo/circle-marker-custom.svg
index 9472d6d580..dd94fe2708 100644
--- a/packages/g6/__tests__/snapshots/elements/combo/circle-marker-custom.svg
+++ b/packages/g6/__tests__/snapshots/elements/combo/circle-marker-custom.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
2nodes
diff --git a/packages/g6/__tests__/snapshots/elements/combo/circle-marker-descendantCount.svg b/packages/g6/__tests__/snapshots/elements/combo/circle-marker-descendantCount.svg
index 63b05cb71d..8f04b06e0b 100644
--- a/packages/g6/__tests__/snapshots/elements/combo/circle-marker-descendantCount.svg
+++ b/packages/g6/__tests__/snapshots/elements/combo/circle-marker-descendantCount.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
4
diff --git a/packages/g6/__tests__/snapshots/elements/combo/circle-marker-nodeCount.svg b/packages/g6/__tests__/snapshots/elements/combo/circle-marker-nodeCount.svg
index 53da058531..7893ef33ed 100644
--- a/packages/g6/__tests__/snapshots/elements/combo/circle-marker-nodeCount.svg
+++ b/packages/g6/__tests__/snapshots/elements/combo/circle-marker-nodeCount.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
3
diff --git a/packages/g6/__tests__/snapshots/elements/combo/default.svg b/packages/g6/__tests__/snapshots/elements/combo/default.svg
index 8f8777c757..e18df3b4c9 100644
--- a/packages/g6/__tests__/snapshots/elements/combo/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/combo/default.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/combo/rect-collapse-center.svg b/packages/g6/__tests__/snapshots/elements/combo/rect-collapse-center.svg
index c0040ae638..e697bc0730 100644
--- a/packages/g6/__tests__/snapshots/elements/combo/rect-collapse-center.svg
+++ b/packages/g6/__tests__/snapshots/elements/combo/rect-collapse-center.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/arrow/default.svg b/packages/g6/__tests__/snapshots/elements/edges/arrow/default.svg
index 58e6a382ea..e68ddb6e66 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/arrow/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/arrow/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/cubic-horizontal/default.svg b/packages/g6/__tests__/snapshots/elements/edges/cubic-horizontal/default.svg
index 6520806158..65941d10cb 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/cubic-horizontal/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/cubic-horizontal/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -34,7 +34,7 @@
-
+
@@ -58,7 +58,7 @@
-
+
@@ -78,7 +78,7 @@
-
+
@@ -98,7 +98,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/cubic-vertical/default.svg b/packages/g6/__tests__/snapshots/elements/edges/cubic-vertical/default.svg
index f10bddf343..13de75a7ef 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/cubic-vertical/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/cubic-vertical/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -34,7 +34,7 @@
-
+
@@ -58,7 +58,7 @@
-
+
@@ -78,7 +78,7 @@
-
+
@@ -98,7 +98,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/cubic/default.svg b/packages/g6/__tests__/snapshots/elements/edges/cubic/default.svg
index cff85fa8d3..a45596f88c 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/cubic/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/cubic/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -34,7 +34,7 @@
-
+
@@ -58,7 +58,7 @@
-
+
@@ -78,7 +78,7 @@
-
+
@@ -98,7 +98,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/custom-arrow/default.svg b/packages/g6/__tests__/snapshots/elements/edges/custom-arrow/default.svg
index 71db9050c5..c3c7a9da27 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/custom-arrow/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/custom-arrow/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/line/default.svg b/packages/g6/__tests__/snapshots/elements/edges/line/default.svg
index 8d89f82123..858ebbb288 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/line/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/line/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -46,7 +46,7 @@
-
+
@@ -82,7 +82,7 @@
-
+
@@ -114,7 +114,7 @@
-
+
@@ -146,7 +146,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/loop-curve/default.svg b/packages/g6/__tests__/snapshots/elements/edges/loop-curve/default.svg
index f91b4b3a65..abfc64bb0f 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/loop-curve/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/loop-curve/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/loop-polyline/default.svg b/packages/g6/__tests__/snapshots/elements/edges/loop-polyline/default.svg
index 549c3b2222..9a9f9a6711 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/loop-polyline/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/loop-polyline/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/port/default.svg b/packages/g6/__tests__/snapshots/elements/edges/port/default.svg
index b551d23828..ddc5e1b37b 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/port/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/port/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -32,7 +32,7 @@
-
+
@@ -54,7 +54,7 @@
-
+
@@ -76,7 +76,7 @@
-
+
@@ -98,7 +98,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -142,7 +142,7 @@
-
+
@@ -164,7 +164,7 @@
-
+
@@ -186,7 +186,7 @@
-
+
@@ -208,7 +208,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/quadratic/default.svg b/packages/g6/__tests__/snapshots/elements/edges/quadratic/default.svg
index 150dd9828e..ae180f5ba8 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/quadratic/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/quadratic/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -34,7 +34,7 @@
-
+
@@ -58,7 +58,7 @@
-
+
@@ -78,7 +78,7 @@
-
+
@@ -98,7 +98,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/edges/size/default.svg b/packages/g6/__tests__/snapshots/elements/edges/size/default.svg
index 74569a6351..992e4a42cb 100644
--- a/packages/g6/__tests__/snapshots/elements/edges/size/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/edges/size/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/port/port_hidden.svg b/packages/g6/__tests__/snapshots/elements/port/port_hidden.svg
index 463590b63d..c9f95f9483 100644
--- a/packages/g6/__tests__/snapshots/elements/port/port_hidden.svg
+++ b/packages/g6/__tests__/snapshots/elements/port/port_hidden.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/port/port_linkToCenter.svg b/packages/g6/__tests__/snapshots/elements/port/port_linkToCenter.svg
index fb337a100f..919480d25a 100644
--- a/packages/g6/__tests__/snapshots/elements/port/port_linkToCenter.svg
+++ b/packages/g6/__tests__/snapshots/elements/port/port_linkToCenter.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/port/port_show.svg b/packages/g6/__tests__/snapshots/elements/port/port_show.svg
index 65f15766e0..6645ad87df 100644
--- a/packages/g6/__tests__/snapshots/elements/port/port_show.svg
+++ b/packages/g6/__tests__/snapshots/elements/port/port_show.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/position-combo/default.svg b/packages/g6/__tests__/snapshots/elements/position-combo/default.svg
index 7e33f92c0e..65e868930c 100644
--- a/packages/g6/__tests__/snapshots/elements/position-combo/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/position-combo/default.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -29,7 +29,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/visibility/default.svg b/packages/g6/__tests__/snapshots/elements/visibility/default.svg
index bc114ba7c3..6c0c024c8f 100644
--- a/packages/g6/__tests__/snapshots/elements/visibility/default.svg
+++ b/packages/g6/__tests__/snapshots/elements/visibility/default.svg
@@ -10,7 +10,7 @@
-
+
@@ -27,7 +27,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/visibility/hide-single.svg b/packages/g6/__tests__/snapshots/elements/visibility/hide-single.svg
index 5cdecce2bd..869715ea4f 100644
--- a/packages/g6/__tests__/snapshots/elements/visibility/hide-single.svg
+++ b/packages/g6/__tests__/snapshots/elements/visibility/hide-single.svg
@@ -10,7 +10,7 @@
-
+
@@ -27,7 +27,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/visibility/hide.svg b/packages/g6/__tests__/snapshots/elements/visibility/hide.svg
index 5542336204..92517daeea 100644
--- a/packages/g6/__tests__/snapshots/elements/visibility/hide.svg
+++ b/packages/g6/__tests__/snapshots/elements/visibility/hide.svg
@@ -10,7 +10,7 @@
-
+
@@ -27,7 +27,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/visibility/show-and-hide.svg b/packages/g6/__tests__/snapshots/elements/visibility/show-and-hide.svg
index 5cdecce2bd..869715ea4f 100644
--- a/packages/g6/__tests__/snapshots/elements/visibility/show-and-hide.svg
+++ b/packages/g6/__tests__/snapshots/elements/visibility/show-and-hide.svg
@@ -10,7 +10,7 @@
-
+
@@ -27,7 +27,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/visibility/show-single.svg b/packages/g6/__tests__/snapshots/elements/visibility/show-single.svg
index fc97a1ef89..701b07e135 100644
--- a/packages/g6/__tests__/snapshots/elements/visibility/show-single.svg
+++ b/packages/g6/__tests__/snapshots/elements/visibility/show-single.svg
@@ -10,7 +10,7 @@
-
+
@@ -27,7 +27,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/elements/visibility/show.svg b/packages/g6/__tests__/snapshots/elements/visibility/show.svg
index 2e20478855..0ecaee36c4 100644
--- a/packages/g6/__tests__/snapshots/elements/visibility/show.svg
+++ b/packages/g6/__tests__/snapshots/elements/visibility/show.svg
@@ -10,7 +10,7 @@
-
+
@@ -27,7 +27,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/circular/configuration-translate-division.svg b/packages/g6/__tests__/snapshots/layouts/circular/configuration-translate-division.svg
index 45d23bbbf5..8b620d01f2 100644
--- a/packages/g6/__tests__/snapshots/layouts/circular/configuration-translate-division.svg
+++ b/packages/g6/__tests__/snapshots/layouts/circular/configuration-translate-division.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,7 +180,7 @@
-
+
@@ -190,7 +190,7 @@
-
+
@@ -200,7 +200,7 @@
-
+
@@ -210,7 +210,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -230,7 +230,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -260,7 +260,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -280,7 +280,7 @@
-
+
@@ -290,7 +290,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
@@ -320,7 +320,7 @@
-
+
@@ -330,7 +330,7 @@
-
+
@@ -340,7 +340,7 @@
-
+
@@ -350,7 +350,7 @@
-
+
@@ -360,7 +360,7 @@
-
+
@@ -370,7 +370,7 @@
-
+
@@ -380,7 +380,7 @@
-
+
@@ -390,7 +390,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -420,7 +420,7 @@
-
+
@@ -430,7 +430,7 @@
-
+
@@ -440,7 +440,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
@@ -460,7 +460,7 @@
-
+
@@ -470,7 +470,7 @@
-
+
@@ -480,7 +480,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -500,7 +500,7 @@
-
+
@@ -510,7 +510,7 @@
-
+
@@ -520,7 +520,7 @@
-
+
@@ -530,7 +530,7 @@
-
+
@@ -540,7 +540,7 @@
-
+
@@ -550,7 +550,7 @@
-
+
@@ -560,7 +560,7 @@
-
+
@@ -570,7 +570,7 @@
-
+
@@ -580,7 +580,7 @@
-
+
@@ -590,7 +590,7 @@
-
+
@@ -600,7 +600,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/circular/configuration-translate.svg b/packages/g6/__tests__/snapshots/layouts/circular/configuration-translate.svg
index d8739f828b..586bf322c0 100644
--- a/packages/g6/__tests__/snapshots/layouts/circular/configuration-translate.svg
+++ b/packages/g6/__tests__/snapshots/layouts/circular/configuration-translate.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,7 +180,7 @@
-
+
@@ -190,7 +190,7 @@
-
+
@@ -200,7 +200,7 @@
-
+
@@ -210,7 +210,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -230,7 +230,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -260,7 +260,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -280,7 +280,7 @@
-
+
@@ -290,7 +290,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
@@ -320,7 +320,7 @@
-
+
@@ -330,7 +330,7 @@
-
+
@@ -340,7 +340,7 @@
-
+
@@ -350,7 +350,7 @@
-
+
@@ -360,7 +360,7 @@
-
+
@@ -370,7 +370,7 @@
-
+
@@ -380,7 +380,7 @@
-
+
@@ -390,7 +390,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -420,7 +420,7 @@
-
+
@@ -430,7 +430,7 @@
-
+
@@ -440,7 +440,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
@@ -460,7 +460,7 @@
-
+
@@ -470,7 +470,7 @@
-
+
@@ -480,7 +480,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -500,7 +500,7 @@
-
+
@@ -510,7 +510,7 @@
-
+
@@ -520,7 +520,7 @@
-
+
@@ -530,7 +530,7 @@
-
+
@@ -540,7 +540,7 @@
-
+
@@ -550,7 +550,7 @@
-
+
@@ -560,7 +560,7 @@
-
+
@@ -570,7 +570,7 @@
-
+
@@ -580,7 +580,7 @@
-
+
@@ -590,7 +590,7 @@
-
+
@@ -600,7 +600,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/circular/degree.svg b/packages/g6/__tests__/snapshots/layouts/circular/degree.svg
index 665a615ca6..30f6788197 100644
--- a/packages/g6/__tests__/snapshots/layouts/circular/degree.svg
+++ b/packages/g6/__tests__/snapshots/layouts/circular/degree.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,7 +180,7 @@
-
+
@@ -190,7 +190,7 @@
-
+
@@ -200,7 +200,7 @@
-
+
@@ -210,7 +210,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -230,7 +230,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -260,7 +260,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -280,7 +280,7 @@
-
+
@@ -290,7 +290,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
@@ -320,7 +320,7 @@
-
+
@@ -330,7 +330,7 @@
-
+
@@ -340,7 +340,7 @@
-
+
@@ -350,7 +350,7 @@
-
+
@@ -360,7 +360,7 @@
-
+
@@ -370,7 +370,7 @@
-
+
@@ -380,7 +380,7 @@
-
+
@@ -390,7 +390,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -420,7 +420,7 @@
-
+
@@ -430,7 +430,7 @@
-
+
@@ -440,7 +440,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
@@ -460,7 +460,7 @@
-
+
@@ -470,7 +470,7 @@
-
+
@@ -480,7 +480,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -500,7 +500,7 @@
-
+
@@ -510,7 +510,7 @@
-
+
@@ -520,7 +520,7 @@
-
+
@@ -530,7 +530,7 @@
-
+
@@ -540,7 +540,7 @@
-
+
@@ -550,7 +550,7 @@
-
+
@@ -560,7 +560,7 @@
-
+
@@ -570,7 +570,7 @@
-
+
@@ -580,7 +580,7 @@
-
+
@@ -590,7 +590,7 @@
-
+
@@ -600,7 +600,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/circular/division.svg b/packages/g6/__tests__/snapshots/layouts/circular/division.svg
index ec614f0708..ec7013958f 100644
--- a/packages/g6/__tests__/snapshots/layouts/circular/division.svg
+++ b/packages/g6/__tests__/snapshots/layouts/circular/division.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,7 +180,7 @@
-
+
@@ -190,7 +190,7 @@
-
+
@@ -200,7 +200,7 @@
-
+
@@ -210,7 +210,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -230,7 +230,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -260,7 +260,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -280,7 +280,7 @@
-
+
@@ -290,7 +290,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
@@ -320,7 +320,7 @@
-
+
@@ -330,7 +330,7 @@
-
+
@@ -340,7 +340,7 @@
-
+
@@ -350,7 +350,7 @@
-
+
@@ -360,7 +360,7 @@
-
+
@@ -370,7 +370,7 @@
-
+
@@ -380,7 +380,7 @@
-
+
@@ -390,7 +390,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -420,7 +420,7 @@
-
+
@@ -430,7 +430,7 @@
-
+
@@ -440,7 +440,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
@@ -460,7 +460,7 @@
-
+
@@ -470,7 +470,7 @@
-
+
@@ -480,7 +480,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -500,7 +500,7 @@
-
+
@@ -510,7 +510,7 @@
-
+
@@ -520,7 +520,7 @@
-
+
@@ -530,7 +530,7 @@
-
+
@@ -540,7 +540,7 @@
-
+
@@ -550,7 +550,7 @@
-
+
@@ -560,7 +560,7 @@
-
+
@@ -570,7 +570,7 @@
-
+
@@ -580,7 +580,7 @@
-
+
@@ -590,7 +590,7 @@
-
+
@@ -600,7 +600,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/circular/spiral.svg b/packages/g6/__tests__/snapshots/layouts/circular/spiral.svg
index ce1446130c..0422ee0c80 100644
--- a/packages/g6/__tests__/snapshots/layouts/circular/spiral.svg
+++ b/packages/g6/__tests__/snapshots/layouts/circular/spiral.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,7 +180,7 @@
-
+
@@ -190,7 +190,7 @@
-
+
@@ -200,7 +200,7 @@
-
+
@@ -210,7 +210,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -230,7 +230,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -260,7 +260,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -280,7 +280,7 @@
-
+
@@ -290,7 +290,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
@@ -320,7 +320,7 @@
-
+
@@ -330,7 +330,7 @@
-
+
@@ -340,7 +340,7 @@
-
+
@@ -350,7 +350,7 @@
-
+
@@ -360,7 +360,7 @@
-
+
@@ -370,7 +370,7 @@
-
+
@@ -380,7 +380,7 @@
-
+
@@ -390,7 +390,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -420,7 +420,7 @@
-
+
@@ -430,7 +430,7 @@
-
+
@@ -440,7 +440,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
@@ -460,7 +460,7 @@
-
+
@@ -470,7 +470,7 @@
-
+
@@ -480,7 +480,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -500,7 +500,7 @@
-
+
@@ -510,7 +510,7 @@
-
+
@@ -520,7 +520,7 @@
-
+
@@ -530,7 +530,7 @@
-
+
@@ -540,7 +540,7 @@
-
+
@@ -550,7 +550,7 @@
-
+
@@ -560,7 +560,7 @@
-
+
@@ -570,7 +570,7 @@
-
+
@@ -580,7 +580,7 @@
-
+
@@ -590,7 +590,7 @@
-
+
@@ -600,7 +600,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/combo-layout/combined.svg b/packages/g6/__tests__/snapshots/layouts/combo-layout/combined.svg
index d8fc3b9620..8c64b28a70 100644
--- a/packages/g6/__tests__/snapshots/layouts/combo-layout/combined.svg
+++ b/packages/g6/__tests__/snapshots/layouts/combo-layout/combined.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -29,7 +29,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/dagre/antv-flow-combo.svg b/packages/g6/__tests__/snapshots/layouts/dagre/antv-flow-combo.svg
index dfbadd2ebc..a80795a720 100644
--- a/packages/g6/__tests__/snapshots/layouts/dagre/antv-flow-combo.svg
+++ b/packages/g6/__tests__/snapshots/layouts/dagre/antv-flow-combo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -29,7 +29,7 @@
-
+
@@ -47,7 +47,7 @@
-
+
@@ -57,7 +57,7 @@
-
+
@@ -67,7 +67,7 @@
-
+
@@ -77,7 +77,7 @@
-
+
@@ -87,7 +87,7 @@
-
+
@@ -97,7 +97,7 @@
-
+
@@ -107,7 +107,7 @@
-
+
@@ -117,7 +117,7 @@
-
+
@@ -127,7 +127,7 @@
-
+
@@ -137,7 +137,7 @@
-
+
@@ -147,7 +147,7 @@
-
+
@@ -157,7 +157,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/dagre/antv-flow.svg b/packages/g6/__tests__/snapshots/layouts/dagre/antv-flow.svg
index d30bd9d9b3..fb77c67bb0 100644
--- a/packages/g6/__tests__/snapshots/layouts/dagre/antv-flow.svg
+++ b/packages/g6/__tests__/snapshots/layouts/dagre/antv-flow.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/radial-layout/prevent-overlap-unstrict.svg b/packages/g6/__tests__/snapshots/layouts/radial-layout/prevent-overlap-unstrict.svg
index 4fe9d292bd..1429d5f0c1 100644
--- a/packages/g6/__tests__/snapshots/layouts/radial-layout/prevent-overlap-unstrict.svg
+++ b/packages/g6/__tests__/snapshots/layouts/radial-layout/prevent-overlap-unstrict.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,7 +180,7 @@
-
+
@@ -190,7 +190,7 @@
-
+
@@ -200,7 +200,7 @@
-
+
@@ -210,7 +210,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -230,7 +230,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -260,7 +260,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -280,7 +280,7 @@
-
+
@@ -290,7 +290,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
@@ -320,7 +320,7 @@
-
+
@@ -330,7 +330,7 @@
-
+
@@ -340,7 +340,7 @@
-
+
@@ -350,7 +350,7 @@
-
+
@@ -360,7 +360,7 @@
-
+
@@ -370,7 +370,7 @@
-
+
@@ -380,7 +380,7 @@
-
+
@@ -390,7 +390,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -420,7 +420,7 @@
-
+
@@ -430,7 +430,7 @@
-
+
@@ -440,7 +440,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
@@ -460,7 +460,7 @@
-
+
@@ -470,7 +470,7 @@
-
+
@@ -480,7 +480,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -500,7 +500,7 @@
-
+
@@ -510,7 +510,7 @@
-
+
@@ -520,7 +520,7 @@
-
+
@@ -530,7 +530,7 @@
-
+
@@ -540,7 +540,7 @@
-
+
@@ -550,7 +550,7 @@
-
+
@@ -560,7 +560,7 @@
-
+
@@ -570,7 +570,7 @@
-
+
@@ -580,7 +580,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/radial-layout/prevent-overlap.svg b/packages/g6/__tests__/snapshots/layouts/radial-layout/prevent-overlap.svg
index f327cc33ef..71fb5f2b95 100644
--- a/packages/g6/__tests__/snapshots/layouts/radial-layout/prevent-overlap.svg
+++ b/packages/g6/__tests__/snapshots/layouts/radial-layout/prevent-overlap.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,7 +180,7 @@
-
+
@@ -190,7 +190,7 @@
-
+
@@ -200,7 +200,7 @@
-
+
@@ -210,7 +210,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -230,7 +230,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -260,7 +260,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -280,7 +280,7 @@
-
+
@@ -290,7 +290,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
@@ -320,7 +320,7 @@
-
+
@@ -330,7 +330,7 @@
-
+
@@ -340,7 +340,7 @@
-
+
@@ -350,7 +350,7 @@
-
+
@@ -360,7 +360,7 @@
-
+
@@ -370,7 +370,7 @@
-
+
@@ -380,7 +380,7 @@
-
+
@@ -390,7 +390,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -420,7 +420,7 @@
-
+
@@ -430,7 +430,7 @@
-
+
@@ -440,7 +440,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
@@ -460,7 +460,7 @@
-
+
@@ -470,7 +470,7 @@
-
+
@@ -480,7 +480,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -500,7 +500,7 @@
-
+
@@ -510,7 +510,7 @@
-
+
@@ -520,7 +520,7 @@
-
+
@@ -530,7 +530,7 @@
-
+
@@ -540,7 +540,7 @@
-
+
@@ -550,7 +550,7 @@
-
+
@@ -560,7 +560,7 @@
-
+
@@ -570,7 +570,7 @@
-
+
@@ -580,7 +580,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/layouts/radial-layout/sort.svg b/packages/g6/__tests__/snapshots/layouts/radial-layout/sort.svg
index 774f675511..32c481cebd 100644
--- a/packages/g6/__tests__/snapshots/layouts/radial-layout/sort.svg
+++ b/packages/g6/__tests__/snapshots/layouts/radial-layout/sort.svg
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -60,7 +60,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
@@ -100,7 +100,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -120,7 +120,7 @@
-
+
@@ -130,7 +130,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -150,7 +150,7 @@
-
+
@@ -160,7 +160,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,7 +180,7 @@
-
+
@@ -190,7 +190,7 @@
-
+
@@ -200,7 +200,7 @@
-
+
@@ -210,7 +210,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -230,7 +230,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -250,7 +250,7 @@
-
+
@@ -260,7 +260,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -280,7 +280,7 @@
-
+
@@ -290,7 +290,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -310,7 +310,7 @@
-
+
@@ -320,7 +320,7 @@
-
+
@@ -330,7 +330,7 @@
-
+
@@ -340,7 +340,7 @@
-
+
@@ -350,7 +350,7 @@
-
+
@@ -360,7 +360,7 @@
-
+
@@ -370,7 +370,7 @@
-
+
@@ -380,7 +380,7 @@
-
+
@@ -390,7 +390,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
@@ -410,7 +410,7 @@
-
+
@@ -420,7 +420,7 @@
-
+
@@ -430,7 +430,7 @@
-
+
@@ -440,7 +440,7 @@
-
+
@@ -450,7 +450,7 @@
-
+
@@ -460,7 +460,7 @@
-
+
@@ -470,7 +470,7 @@
-
+
@@ -480,7 +480,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -500,7 +500,7 @@
-
+
@@ -510,7 +510,7 @@
-
+
@@ -520,7 +520,7 @@
-
+
@@ -530,7 +530,7 @@
-
+
@@ -540,7 +540,7 @@
-
+
@@ -550,7 +550,7 @@
-
+
@@ -560,7 +560,7 @@
-
+
@@ -570,7 +570,7 @@
-
+
@@ -580,7 +580,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData-redo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData-redo.svg
index c65a82f916..98c5b61dba 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData-redo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData-redo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData-undo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData-undo.svg
index 27a41b58ba..9ea99242ed 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData-undo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData-undo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData.svg
index c65a82f916..98c5b61dba 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/addData.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse-redo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse-redo.svg
index f4b33a9080..f5f1438680 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse-redo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse-redo.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse-undo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse-undo.svg
index 27a41b58ba..ce912c02bb 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse-undo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse-undo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse.svg
index f4b33a9080..f5f1438680 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/collapse.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData-redo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData-redo.svg
index b924667877..3ee287a8a8 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData-redo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData-redo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData-undo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData-undo.svg
index 27a41b58ba..9ea99242ed 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData-undo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData-undo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData.svg
index b924667877..3ee287a8a8 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/deleteData.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand-redo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand-redo.svg
index fd43066aa6..090dfb2059 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand-redo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand-redo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand-undo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand-undo.svg
index 27a41b58ba..ce912c02bb 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand-undo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand-undo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand.svg
index fd43066aa6..090dfb2059 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/expand.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement-redo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement-redo.svg
index 056c2c9d3b..3bb494ed0c 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement-redo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement-redo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement-undo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement-undo.svg
index 2e7e7ed821..edf3db4dbd 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement-undo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement-undo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement.svg
index 056c2c9d3b..3bb494ed0c 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/hideElement.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex-redo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex-redo.svg
index 954424d654..72c1b52c69 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex-redo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex-redo.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
2
@@ -24,7 +24,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex-undo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex-undo.svg
index 2e7e7ed821..edf3db4dbd 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex-undo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex-undo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex.svg
index 954424d654..72c1b52c69 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementZIndex.svg
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
2
@@ -24,7 +24,7 @@
-
+
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState-redo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState-redo.svg
index 800fc10ee5..17de6e7cf8 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState-redo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState-redo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState-undo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState-undo.svg
index 27a41b58ba..ce912c02bb 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState-undo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState-undo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState.svg
index 800fc10ee5..17de6e7cf8 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/setElementsState.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData-redo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData-redo.svg
index 4550a07e26..074a8273ff 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData-redo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData-redo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData-undo.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData-undo.svg
index 27a41b58ba..9ea99242ed 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData-undo.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData-undo.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData.svg b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData.svg
index 4550a07e26..074a8273ff 100644
--- a/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData.svg
+++ b/packages/g6/__tests__/snapshots/plugins/history/plugin-history/updateData.svg
@@ -5,7 +5,7 @@
-
+
@@ -17,7 +17,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
2
diff --git a/packages/g6/__tests__/snapshots/plugins/timebar/backward-1-time-modify.svg b/packages/g6/__tests__/snapshots/plugins/timebar/backward-1-time-modify.svg
index 8d81ebd5ea..0c8b4c8b40 100644
--- a/packages/g6/__tests__/snapshots/plugins/timebar/backward-1-time-modify.svg
+++ b/packages/g6/__tests__/snapshots/plugins/timebar/backward-1-time-modify.svg
@@ -1,6 +1,6 @@