fix: export plugins and they can be called by G6.Minimap and so on.

This commit is contained in:
Yanyan-Wang 2020-02-07 19:20:36 +08:00 committed by Yanyan Wang
parent 4312e556e0
commit 00c7a770cb

View File

@ -6,6 +6,7 @@ import Shape from './shape';
import Layout from './layout';
import Global from './global';
import Util from './util';
import Plugins from './plugins';
export default {
version,
@ -17,5 +18,9 @@ export default {
registerBehavior: Behaviors.registerBehavior,
registerLayout: Layout.registerLayout,
Layout,
Global
Global,
Minimap: Plugins.Minimap,
Grid: Plugins.Grid,
EdgeBundling: Plugins.Bundling,
Menu: Plugins.Menu
}