Events fired while deleting lines and connecting lines


#1

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.


#2

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.


#3

Hello.

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:
https://snippet.dhtmlx.com/tbhhqlyt