how can I save custom shapes together with the bpmn elements as xml?
The goal is to have the CustomElemente and BPMN elements in an XML.
So far, I have it so regulated to save the bpmn elements as xml and the CustomElemente as JSON. This should now be changed.
(Alternatively, packing all the elements into a JSON would also be a solution. How do you get the BPMN elements as JSON? Something like getBpmnElements () I did not find.)