perf: remove invalid logic

This commit is contained in:
TomHuangCN 2018-07-09 14:59:22 +08:00
parent a7a27a06ae
commit 92f569845f
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -10,7 +10,6 @@ const Global = require('../../global');
Shape.registerEdge('common', {
draw(item) {
const keyShape = this.drawKeyShape(item);
keyShape.isKeyShape = true;
this.drawLabel(item);
return keyShape;
},