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 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
} }