mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 04:38:55 +08:00
fix: export plugins and they can be called by G6.Minimap and so on.
This commit is contained in:
parent
4312e556e0
commit
00c7a770cb
@ -6,6 +6,7 @@ import Shape from './shape';
|
|||||||
import Layout from './layout';
|
import Layout from './layout';
|
||||||
import Global from './global';
|
import Global from './global';
|
||||||
import Util from './util';
|
import Util from './util';
|
||||||
|
import Plugins from './plugins';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
version,
|
version,
|
||||||
@ -17,5 +18,9 @@ export default {
|
|||||||
registerBehavior: Behaviors.registerBehavior,
|
registerBehavior: Behaviors.registerBehavior,
|
||||||
registerLayout: Layout.registerLayout,
|
registerLayout: Layout.registerLayout,
|
||||||
Layout,
|
Layout,
|
||||||
Global
|
Global,
|
||||||
|
Minimap: Plugins.Minimap,
|
||||||
|
Grid: Plugins.Grid,
|
||||||
|
EdgeBundling: Plugins.Bundling,
|
||||||
|
Menu: Plugins.Menu
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user