mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-16 20:15:16 +00:00
bb9dc16cac
This fixes the existing DI creation methods in `BpmnFactory` and simplifies the related `ElementFactory` code that relied on it. In the past args got ignored and passing attrs to the created DI was not possible, now it is. BREAKING CHANGE: With this change the following `BpmnFactory` API methods got reworked to take (businessObject, attrs) as an input: * `BpmnFactory#createDiEdge` * `BpmnFactory#createDiShape` * `BpmnFactory#createDiPlane`