mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-09 08:41:59 +00:00
4bb270f192
A newly introduced TextRenderer is responsible for text rendering and text related bounds computation. This removes a bunch of code duplication, too.
12 lines
288 B
JavaScript
12 lines
288 B
JavaScript
import BpmnRenderer from './BpmnRenderer';
|
|
import TextRenderer from './TextRenderer';
|
|
|
|
import PathMap from './PathMap';
|
|
|
|
export default {
|
|
__init__: [ 'bpmnRenderer' ],
|
|
bpmnRenderer: [ 'type', BpmnRenderer ],
|
|
textRenderer: [ 'type', TextRenderer ],
|
|
pathMap: [ 'type', PathMap ]
|
|
};
|