Is there any way to prevent the deletion?

It’s my first time using this dhtmlx diagram and I’m not sure how to use the feature.

I want to prevent the deletion in editor.
I want to prevent deletion when I press the delete key or in the toolbar of an item.
Is there any way to prevent it?

I only want to use the moving function.
I don’t want to use anything like creation, deletion, or modification.

Please, try to use the beforeRemove event of the dataCollection:

to prevent the item deleting