2018-04-02 19:01:53 +00:00
|
|
|
import BehaviorModule from './behavior';
|
|
|
|
import RulesModule from '../rules';
|
2020-03-13 12:26:16 +00:00
|
|
|
import DiOrderingModule from '../di-ordering';
|
2018-04-02 19:01:53 +00:00
|
|
|
import OrderingModule from '../ordering';
|
|
|
|
import ReplaceModule from '../replace';
|
|
|
|
|
|
|
|
import CommandModule from 'diagram-js/lib/command';
|
|
|
|
import TooltipsModule from 'diagram-js/lib/features/tooltips';
|
|
|
|
import LabelSupportModule from 'diagram-js/lib/features/label-support';
|
|
|
|
import AttachSupportModule from 'diagram-js/lib/features/attach-support';
|
|
|
|
import SelectionModule from 'diagram-js/lib/features/selection';
|
|
|
|
import ChangeSupportModule from 'diagram-js/lib/features/change-support';
|
|
|
|
import SpaceToolModule from 'diagram-js/lib/features/space-tool';
|
|
|
|
|
|
|
|
import BpmnFactory from './BpmnFactory';
|
|
|
|
import BpmnUpdater from './BpmnUpdater';
|
|
|
|
import ElementFactory from './ElementFactory';
|
|
|
|
import Modeling from './Modeling';
|
|
|
|
import BpmnLayouter from './BpmnLayouter';
|
|
|
|
import CroppingConnectionDocking from 'diagram-js/lib/layout/CroppingConnectionDocking';
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
__init__: [
|
|
|
|
'modeling',
|
|
|
|
'bpmnUpdater'
|
|
|
|
],
|
2014-07-23 16:53:33 +00:00
|
|
|
__depends__: [
|
2018-04-02 19:01:53 +00:00
|
|
|
BehaviorModule,
|
|
|
|
RulesModule,
|
2020-03-13 12:26:16 +00:00
|
|
|
DiOrderingModule,
|
2018-04-02 19:01:53 +00:00
|
|
|
OrderingModule,
|
|
|
|
ReplaceModule,
|
|
|
|
CommandModule,
|
|
|
|
TooltipsModule,
|
|
|
|
LabelSupportModule,
|
|
|
|
AttachSupportModule,
|
|
|
|
SelectionModule,
|
|
|
|
ChangeSupportModule,
|
|
|
|
SpaceToolModule
|
2014-07-23 16:53:33 +00:00
|
|
|
],
|
2018-04-02 19:01:53 +00:00
|
|
|
bpmnFactory: [ 'type', BpmnFactory ],
|
|
|
|
bpmnUpdater: [ 'type', BpmnUpdater ],
|
|
|
|
elementFactory: [ 'type', ElementFactory ],
|
|
|
|
modeling: [ 'type', Modeling ],
|
|
|
|
layouter: [ 'type', BpmnLayouter ],
|
|
|
|
connectionDocking: [ 'type', CroppingConnectionDocking ]
|
|
|
|
};
|