Extends bpmn-js with custom behavior

Hello,

I would like to extend the behavior of the BPMN-js editor. In my case, I want to add a grid to strictly snap elements to that grid, in both cases, by adding a new element and dragging an existing element.

The behavior of dragging an element should be something like this :

What is the entry point and how can I tackle this extension.

Regards,
Abdeladim

We’ve working on a grid feature which will be included in the next release.

For more details check out: https://github.com/camunda/camunda-modeler/issues/1019

Thanks for the fast reply,

Get it for the grid, but generally how can I extend the editor/elements behavior my self, Is there any entry point where I can start :slight_smile:

Here you go: https://github.com/bpmn-io/bpmn-js-examples

Do you have a roadmap for releasing the grid.

You can expect it at the end of Q2.

Thank you so much ! :slightly_smiling_face: