mirror of
https://gitee.com/antv/g6.git
synced 2024-12-14 17:40:49 +08:00
perf: remove invalid logic
This commit is contained in:
parent
a7a27a06ae
commit
92f569845f
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antv/g6",
|
"name": "@antv/g6",
|
||||||
"version": "2.0.4-beta.1",
|
"version": "2.0.4-beta.2",
|
||||||
"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",
|
||||||
|
@ -10,7 +10,6 @@ const Global = require('../../global');
|
|||||||
Shape.registerEdge('common', {
|
Shape.registerEdge('common', {
|
||||||
draw(item) {
|
draw(item) {
|
||||||
const keyShape = this.drawKeyShape(item);
|
const keyShape = this.drawKeyShape(item);
|
||||||
keyShape.isKeyShape = true;
|
|
||||||
this.drawLabel(item);
|
this.drawLabel(item);
|
||||||
return keyShape;
|
return keyShape;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user