From c73a1923b6f2cabdf19ff645e87a483684cbf3d4 Mon Sep 17 00:00:00 2001 From: "zhanning.bzn" Date: Mon, 9 Sep 2019 17:37:51 +0800 Subject: [PATCH] update package version --- package.json | 2 +- src/global.js | 2 +- src/graph/controller/customGroup.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f7d7047d28..73d49abee5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/global.js b/src/global.js index c48d5f30e6..baebef3230 100755 --- a/src/global.js +++ b/src/global.js @@ -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', diff --git a/src/graph/controller/customGroup.js b/src/graph/controller/customGroup.js index b1310c6978..99aa9ee1f9 100644 --- a/src/graph/controller/customGroup.js +++ b/src/graph/controller/customGroup.js @@ -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');