index.js 673 B

123456789101112131415161718192021
  1. import DirectEditingModule from 'diagram-js-direct-editing';
  2. import ContextPadModule from 'diagram-js/lib/features/context-pad';
  3. import SelectionModule from 'diagram-js/lib/features/selection';
  4. import ConnectModule from 'diagram-js/lib/features/connect';
  5. import CreateModule from 'diagram-js/lib/features/create';
  6. import PopupMenuModule from '../popup-menu';
  7. import ContextPadProvider from './ContextPadProvider';
  8. export default {
  9. __depends__: [
  10. DirectEditingModule,
  11. ContextPadModule,
  12. SelectionModule,
  13. ConnectModule,
  14. CreateModule,
  15. PopupMenuModule
  16. ],
  17. __init__: [ 'contextPadProvider' ],
  18. contextPadProvider: [ 'type', ContextPadProvider ]
  19. };