liuyu
5 小时以前 82a74ba0402ab546ba524d23ce62198c4d00d2f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// /**
//  * A palette that allows you to create BPMN _and_ custom elements.
//  */
// import AutoPlace from 'bpmn-js/lib/features/auto-place/BpmnAutoPlace.js';
// import { getYmNewShapePosition } from '../autoPlaceUtil';
// function YmAutoPlace(eventBus: any) {
//   eventBus.on('autoPlace', function (context: any) {
//     var shape = context.shape,
//       source = context.source;
//     return getYmNewShapePosition(source, shape);
//   });
// }
//
// YmAutoPlace.$inject = ['eventBus'];
//
// export default YmAutoPlace;