# BPMN Modeler start location

**URL:** <https://forum.bpmn.io/t/bpmn-modeler-start-location/11180>\
**Category:** Modeler\
**Created:** [June 13, 2024, 10:31am UTC](https://forum.bpmn.io/t/bpmn-modeler-start-location/11180 "2024-06-13T10:31:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aws\_rayyan](https://forum.bpmn.io/user_avatar/forum.bpmn.io/aws_rayyan/32/5152_2.png) [@Aws\_rayyan](https://forum.bpmn.io/u/Aws_rayyan)\
**Post date:** [June 13, 2024, 10:31am UTC](https://forum.bpmn.io/t/bpmn-modeler-start-location/11180/1 "2024-06-13T10:31:38Z")

</div>

First of all, thank you for your library and your great support.

My problem is as follows: I use the modeller to create diagrams and save them in the database, and after that, when the users go to that record, I redisplay the diagram to them. However, when the user visits the page, this is how it looks like:  
 ![image](https://forum.bpmn.io/uploads/default/original/2X/3/311de946b7c3520001df3963eb533aaf6930665e.png)

The diagram is not centred.  
So, is there any way I can use it to move the view to another location programmatically? For example, given the ID of an element, can I move the diagram view such that this element is in the centre?

cheers

---

<div class="post-metadata">

**Author:** ![barmac](https://forum.bpmn.io/user_avatar/forum.bpmn.io/barmac/32/974_2.png) [@barmac](https://forum.bpmn.io/u/barmac)\
**Post date:** [June 13, 2024, 11:23am UTC](https://forum.bpmn.io/t/bpmn-modeler-start-location/11180/2 "2024-06-13T11:23:25Z")

</div>

Check out the `canvas#zoom` API that we use a lot in the examples, e.g. [bpmn-js-examples/url-viewer/index.html at 56aae33da52796ae6998f3b23b61acd6ee703b5c · bpmn-io/bpmn-js-examples · GitHub](https://github.com/bpmn-io/bpmn-js-examples/blob/56aae33da52796ae6998f3b23b61acd6ee703b5c/url-viewer/index.html#L80)

---

<div class="post-metadata">

**Author:** ![barmac](https://forum.bpmn.io/user_avatar/forum.bpmn.io/barmac/32/974_2.png) [@barmac](https://forum.bpmn.io/u/barmac)\
**Post date:** [July 9, 2025, 10:10am UTC](https://forum.bpmn.io/t/bpmn-modeler-start-location/11180/3 "2025-07-09T10:10:31Z")

</div>

Closed on July 9, 2025, 10:10am UTC

Closing old topics.
