Events fired while deleting lines and connecting lines


Hi, I searched through the api document but I couldn’t find any events that fires while a connection is created or deleted. Please advice how to handle event when two shapes are connected and when a connection is deleted in default mode in diagram editor.


Unfortunately, currently, there are no such events in the dhx.DiagramEditor.
I’ve sent your request to the dev team, so the probable solution may appear in future updates.



An update on your request.You may use the events of the diagram dataCollection to control the creation/deleting/updating of any item in your diagram.
Something like: