index.js 608 B

123456789101112131415161718192021
  1. import ChangeSupportModule from 'diagram-js/lib/features/change-support';
  2. import ResizeModule from 'diagram-js/lib/features/resize';
  3. import DirectEditingModule from 'diagram-js-direct-editing';
  4. import LabelEditingProvider from './LabelEditingProvider';
  5. import LabelEditingPreview from './LabelEditingPreview';
  6. export default {
  7. __depends__: [
  8. ChangeSupportModule,
  9. ResizeModule,
  10. DirectEditingModule
  11. ],
  12. __init__: [
  13. 'labelEditingProvider',
  14. 'labelEditingPreview'
  15. ],
  16. labelEditingProvider: [ 'type', LabelEditingProvider ],
  17. labelEditingPreview: [ 'type', LabelEditingPreview ]
  18. };