fix rootGroup

This commit is contained in:
huangtong.ht 2018-08-02 10:33:34 +08:00
parent 0c5d80b557
commit 2ab65201f2
3 changed files with 3 additions and 5 deletions

View File

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

View File

@ -6,6 +6,7 @@ require('./extend/g/html');
require('./extend/g/canvas'); require('./extend/g/canvas');
require('./extend/g/group'); require('./extend/g/group');
require('./extend/g/shape'); require('./extend/g/shape');
require('./extend/g/root-group');
require('./extend/g/html'); require('./extend/g/html');
const Base = require('./base'); const Base = require('./base');
@ -733,9 +734,6 @@ class Graph extends Base {
item.getEdges().forEach(edge => { item.getEdges().forEach(edge => {
this._tryShowEdge(edge); this._tryShowEdge(edge);
}); });
// item.getInnerEdges().forEach(edge => {
// edge.show();
// });
item.deepEach(child => { item.deepEach(child => {
child.show(); child.show();
}); });

View File

@ -1 +1 @@
module.exports = '2.0.5-beta.16'; module.exports = '2.0.5-beta.17';