mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-13 18:46:05 +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.
30 lines
1000 B
JavaScript
30 lines
1000 B
JavaScript
import AlignElementsModule from 'diagram-js/lib/features/align-elements';
|
|
import EditorActionsModule from 'diagram-js/lib/features/editor-actions';
|
|
import HandToolModule from 'diagram-js/lib/features/hand-tool';
|
|
import LassoToolModule from 'diagram-js/lib/features/lasso-tool';
|
|
import SpaceToolModule from 'diagram-js/lib/features/space-tool';
|
|
import GlobalConnectModule from 'diagram-js/lib/features/global-connect';
|
|
import DirectEditingModule from 'diagram-js-direct-editing';
|
|
|
|
import CopyPasteModule from '../copy-paste';
|
|
import DistributeElementsModule from '../distribute-elements';
|
|
import SearchModule from '../search';
|
|
|
|
import BpmnEditorActions from './BpmnEditorActions';
|
|
|
|
export default {
|
|
__depends__: [
|
|
AlignElementsModule,
|
|
EditorActionsModule,
|
|
HandToolModule,
|
|
LassoToolModule,
|
|
SpaceToolModule,
|
|
DirectEditingModule,
|
|
GlobalConnectModule,
|
|
CopyPasteModule,
|
|
DistributeElementsModule,
|
|
SearchModule
|
|
],
|
|
editorActions: [ 'type', BpmnEditorActions ]
|
|
};
|