fix: import g-base

This commit is contained in:
AlbertAZ1992 2021-03-23 19:30:04 +08:00 committed by Yanyan Wang
parent c5f2e633f0
commit 892e46f2e1
4 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@
"@antv/algorithm": "^0.0.6",
"@antv/dom-util": "^2.0.1",
"@antv/event-emitter": "~0.1.0",
"@antv/g-base": "^0.5.6-beta.1",
"@antv/g-base": "0.5.6-beta.1",
"@antv/g-canvas": "^0.5.2",
"@antv/g-math": "^0.1.1",
"@antv/g-mobile": "0.0.1-beta.7",

View File

@ -5,7 +5,7 @@
* @LastEditTime: 2019-08-22 18:41:45
* @Description: Behavior
*/
import { Point } from '@antv/g-base/lib/types';
import { Point } from '@antv/g-base';
import { deepMix, clone } from '@antv/util';
import { G6Event, IG6GraphEvent, Item, NodeConfig, INode, ICombo } from '@antv/g6-core';
import { IGraph } from '../interface/graph';

View File

@ -1,6 +1,6 @@
import { each } from '@antv/util';
import { INode, ICombo } from '@antv/g6-core';
import { Point } from '@antv/g-base/lib/types';
import { Point } from '@antv/g-base';
export interface PolyPoint {
x: number;

View File

@ -1,5 +1,5 @@
import { Canvas as GMobileCanvas } from '@antv/g-mobile';
import { ICanvas, IGroup, Point } from '@antv/g-base';
import { IGroup } from '@antv/g-base';
import { mat3 } from '@antv/matrix-util';
import { clone, deepMix, each, isString, isNumber } from '@antv/util';
import { IGraph, DataUrlType } from '../interface/graph';