update package version

This commit is contained in:
zhanning.bzn 2019-09-09 17:37:51 +08:00
parent 3af1b32d0d
commit c73a1923b6
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@antv/g6",
"version": "3.0.5-beta.11",
"version": "3.0.5-beta.12",
"description": "graph visualization frame work",
"main": "build/g6.js",
"homepage": "https://github.com/antvis/g6",

View File

@ -3,7 +3,7 @@
*/
module.exports = {
version: '3.0.5-beta.11',
version: '3.0.5-beta.12',
rootContainerClassName: 'root-container',
nodeContainerClassName: 'node-container',
edgeContainerClassName: 'edge-container',

View File

@ -642,8 +642,8 @@ class CustomGroup {
self.setGroupOriginBBox(id, keyShape.getBBox());
}
return {
width: w + ratio * (width - w + paddingValue + noCustomNodes.length * 10),
height: h + ratio * (height - h + paddingValue + noCustomNodes.length * 10)
width: w + ratio * (width - w + paddingValue),
height: h + ratio * (height - h + paddingValue)
};
}
}, 500, 'easeCubic');