Generate the DI information automatically
Author: zhengyang1988Created Aug 22, 2018Updated Jan 20, 2026
Labelsenhancementpr welcomebacklogspring cleaning
When opening an bpmn file without DI information(the bpmndi:BPMNDiagram section), there will be an error. If the editor or viewer can generate the DI information automatically and display the diagram correctly, that will be great.
Expected Behavior

Actual Behavior

Steps to reproduce the Behavior
open a bpmn file without DI information. You can manually delete the bpmndi:BPMNDiagram element and all its descendants from a bpmn file generated by the bpmn editor
Source: bpmn-io/bpmn-js