mirror of
https://gitee.com/antv/g6.git
synced 2024-11-29 18:28:19 +08:00
fix: export g-base ICanvas, ShapeBase as IShape, IGroup types file
This commit is contained in:
parent
18cc8add44
commit
7f1be825d4
@ -7,17 +7,17 @@ import {
|
||||
Marker,
|
||||
Shape,
|
||||
} from '@antv/g6-core';
|
||||
import './element';
|
||||
import './behavior';
|
||||
import { IGroup, ShapeBase as IShape, ICanvas } from '@antv/g-base';
|
||||
import * as Algorithm from '@antv/algorithm';
|
||||
import Graph from './graph/graph';
|
||||
import TreeGraph from './graph/tree-graph';
|
||||
import { Layout, registerLayout } from './layout';
|
||||
import Global from './global';
|
||||
import Util from './util';
|
||||
import Plugin from './plugin';
|
||||
import * as Algorithm from '@antv/algorithm';
|
||||
import './element';
|
||||
import './behavior';
|
||||
|
||||
// const registerLayout = Layout.registerLayout;
|
||||
const Minimap = Plugin.Minimap;
|
||||
const Grid = Plugin.Grid;
|
||||
const Bundling = Plugin.Bundling;
|
||||
@ -53,6 +53,10 @@ export {
|
||||
Arrow,
|
||||
Marker,
|
||||
Shape,
|
||||
// 对外包括 G-Base 的几个类型定义
|
||||
ICanvas,
|
||||
IGroup,
|
||||
IShape,
|
||||
};
|
||||
|
||||
export default {
|
||||
|
Loading…
Reference in New Issue
Block a user