mirror of
https://gitee.com/antv/g6.git
synced 2024-11-30 10:48:24 +08:00
fix: drag shadow caused by localRefresh.
This commit is contained in:
parent
25a3cb41ce
commit
c19fdd3f8e
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,4 +1,14 @@
|
|||||||
# ChangeLog
|
# 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
|
#### 3.3.6
|
||||||
- feat: support edge weight for dagre layout;
|
- 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;
|
- feat: automatically add draggable to keyShape, users do not need to assign it when custom a node or an edge;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antv/g6",
|
"name": "@antv/g6",
|
||||||
"version": "3.3.6",
|
"version": "3.3.7",
|
||||||
"description": "A Graph Visualization Framework in JavaScript",
|
"description": "A Graph Visualization Framework in JavaScript",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"antv",
|
"antv",
|
||||||
@ -71,8 +71,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antv/dom-util": "^2.0.1",
|
"@antv/dom-util": "^2.0.1",
|
||||||
"@antv/event-emitter": "~0.1.0",
|
"@antv/event-emitter": "~0.1.0",
|
||||||
"@antv/g-base": "^0.3.22",
|
"@antv/g-base": "^0.3.29",
|
||||||
"@antv/g-canvas": "^0.3.25",
|
"@antv/g-canvas": "^0.3.29",
|
||||||
"@antv/g-math": "^0.1.1",
|
"@antv/g-math": "^0.1.1",
|
||||||
"@antv/hierarchy": "^0.6.1",
|
"@antv/hierarchy": "^0.6.1",
|
||||||
"@antv/matrix-util": "^2.0.4",
|
"@antv/matrix-util": "^2.0.4",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
export default {
|
export default {
|
||||||
version: '3.3.6',
|
version: '3.3.7',
|
||||||
rootContainerClassName: 'root-container',
|
rootContainerClassName: 'root-container',
|
||||||
nodeContainerClassName: 'node-container',
|
nodeContainerClassName: 'node-container',
|
||||||
edgeContainerClassName: 'edge-container',
|
edgeContainerClassName: 'edge-container',
|
||||||
|
@ -141,7 +141,6 @@ const DecisionTree = () => {
|
|||||||
type: 'animate-line',
|
type: 'animate-line',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
graph.get('canvas').set('localRefresh', false);
|
|
||||||
|
|
||||||
const translate = (x, y) => {
|
const translate = (x, y) => {
|
||||||
let moveX = x;
|
let moveX = x;
|
||||||
|
Loading…
Reference in New Issue
Block a user