Hello everyone,
I need to populate a diagram created from a default XML that only contains a ‘process’ element. The data to create shapes/connections comes from a json object. I’ve managed to add shapes through the modeling service with the “appendShape” function. Although, to achieve this result, my default XML must have a startEvent so that I can get it with the 'ElementRegistry" service and provide it as the ‘source’ parameter to the ‘appendShape’ function.
How can I create a startEvent on a diagram containing only the process element?