From 92f569845fda26eb970c97a04a7e16f965cacd16 Mon Sep 17 00:00:00 2001 From: TomHuangCN <418466938@qq.com> Date: Mon, 9 Jul 2018 14:59:22 +0800 Subject: [PATCH] perf: remove invalid logic --- package.json | 2 +- src/shape/edges/common.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 367fcce13..ff35b2dde 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/shape/edges/common.js b/src/shape/edges/common.js index 3a084acd4..f6b94d2d0 100755 --- a/src/shape/edges/common.js +++ b/src/shape/edges/common.js @@ -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; },