diff --git a/CHANGELOG.md b/CHANGELOG.md index d83864b5a2..b2d71c74a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,14 @@ # ChangeLog +#### 3.3.7 +- feat: beforeaddchild and afteraddchild emit for TreeGraph; +- feat: built-in nodes' labels can be captured; +- fix: drag shadow caused by localRefresh, update the g-canvas version; +- fix: abnormal polyline bendding; +- fix: collapse-expand trigger problem; +- fix: update nodes with empty string label; +- fix: abnormal rendering when a graph has image nodes and other type nodes;. + + #### 3.3.6 - feat: support edge weight for dagre layout; - feat: automatically add draggable to keyShape, users do not need to assign it when custom a node or an edge; diff --git a/package.json b/package.json index 23b83a6d2b..029fd8cc00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g6", - "version": "3.3.6", + "version": "3.3.7", "description": "A Graph Visualization Framework in JavaScript", "keywords": [ "antv", @@ -71,8 +71,8 @@ "dependencies": { "@antv/dom-util": "^2.0.1", "@antv/event-emitter": "~0.1.0", - "@antv/g-base": "^0.3.22", - "@antv/g-canvas": "^0.3.25", + "@antv/g-base": "^0.3.29", + "@antv/g-canvas": "^0.3.29", "@antv/g-math": "^0.1.1", "@antv/hierarchy": "^0.6.1", "@antv/matrix-util": "^2.0.4", diff --git a/src/global.ts b/src/global.ts index bad66df600..69b3522600 100644 --- a/src/global.ts +++ b/src/global.ts @@ -1,5 +1,5 @@ export default { - version: '3.3.6', + version: '3.3.7', rootContainerClassName: 'root-container', nodeContainerClassName: 'node-container', edgeContainerClassName: 'edge-container', diff --git a/stories/Case/component/decision-tree.tsx b/stories/Case/component/decision-tree.tsx index 3a54be4e1a..d8c7dceffa 100644 --- a/stories/Case/component/decision-tree.tsx +++ b/stories/Case/component/decision-tree.tsx @@ -141,7 +141,6 @@ const DecisionTree = () => { type: 'animate-line', }, }); - graph.get('canvas').set('localRefresh', false); const translate = (x, y) => { let moveX = x;