I described the global wanted behavior in a recent topic:
Some questions about some specific needs and whether bpmn-js can ensure them.
But to make it brief, I want to have a startEvent and endEvent element that are irremovable (so I’m guessing I have to add them in my initial xml and give them an attribute and use a remove or delete action similar to this example?)
I only want 1 startEvent and 1 endEvent (the ones initially generated) and wouldn’t need anymore (I think removing eventStart and eventEnd from the context pad and palette would do the trick and the user wouldn’t be able to add any)