Set initial position of the viewport

Hi,
I’m customising a Modeler instance.
First of all I’d need to move the initial position of the “start event” circle to top-center.
initPosition
(sorry for the bad drawing :slight_smile: )
How can I do it?
Thank you for any help you could provide.
Bests

Modeler displays the diagram’s (0, 0) point in the top-left corner per default. The position of the start event is defined in the diagram. So if you want to move it to the top, you need to change the respective bpmndi:BPMNShape's bounds.

For further assistance, please share a CodeSandbox that reproduces your issue in a way that we can inspect it.

1 Like

Thank you, changing the BPMNShape’s bounds solved my problem.

1 Like