fix: use g6 core pluginbase

This commit is contained in:
baizn 2020-12-22 14:12:03 +08:00 committed by Moyee
parent 79377ca806
commit 9903ff06f6
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import { AbstractGraph, GraphOptions } from '@antv/g6-core';
import { WaterMarkerConfig } from '../types';
import Global from '../global';
import { LayoutController, EventController } from './controller';
import PluginBase from '../plugin/base';
import { PluginBase } from '@antv/g6-plugins';
import { createDom } from '@antv/dom-util';
const SVG = 'svg';

View File

@ -1,10 +1,9 @@
import { IAbstractGraph, IG6GraphEvent, IShapeBase, Item, ShapeStyle } from '@antv/g6-core';
import { Event as GraphEvent, ICanvas } from '@antv/g-base';
import { PluginBase } from '@antv/g6-plugins';
import { WaterMarkerConfig, TreeGraphData } from '../types';
import PluginBase from '../plugin/base';
export type DataUrlType = 'image/png' | 'image/jpeg' | 'image/webp' | 'image/bmp';
export interface IGraph extends IAbstractGraph {