mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-09 16:45:49 +00:00
ba42e9edde
* remove `BpmnGlobalConnect` provider * use `connection.start` rule to determine whether an element can start a connection Closes #565 Closes #870 BREAKING CHANGE: * `BpmnGlobalConnect` got removed. Add `connection.start` rule to specify whether connection should be allowed.
24 lines
758 B
JavaScript
24 lines
758 B
JavaScript
import PaletteModule from 'diagram-js/lib/features/palette';
|
|
import CreateModule from 'diagram-js/lib/features/create';
|
|
import SpaceToolModule from 'diagram-js/lib/features/space-tool';
|
|
import LassoToolModule from 'diagram-js/lib/features/lasso-tool';
|
|
import HandToolModule from 'diagram-js/lib/features/hand-tool';
|
|
import GlobalConnectModule from 'diagram-js/lib/features/global-connect';
|
|
import translate from 'diagram-js/lib/i18n/translate';
|
|
|
|
import PaletteProvider from './PaletteProvider';
|
|
|
|
export default {
|
|
__depends__: [
|
|
PaletteModule,
|
|
CreateModule,
|
|
SpaceToolModule,
|
|
LassoToolModule,
|
|
HandToolModule,
|
|
GlobalConnectModule,
|
|
translate
|
|
],
|
|
__init__: [ 'paletteProvider' ],
|
|
paletteProvider: [ 'type', PaletteProvider ]
|
|
};
|