Preventing non-port connection change and reverting

Hi,

How can i prevent changing the connector end-point to non-port point and how to redo that action if happens.


Attached a sample.


i.e. :

In the sample, changing connector_1 from node_2 (port_top)  to an empty point or any point which is not a port,

i want it to revert back to starting node and port (node_2, port_top)


Thanks in advance.


Attachment: diagram2_ee043a31.zip

4 Replies 1 reply marked as answer

SG Shyam G Syncfusion Team May 28, 2022 09:57 AM UTC

Hi Halit,


Please use connectionChange event to achieve your requirement and provided the modified sample below.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/diagram-21754223144


Regards,

Shyam G



HA Halit May 31, 2022 10:06 AM UTC

Thanks now I'm able to restrict non-port connections But it is inconsistent. 

Attached samples to show off.


Attachment: diagram3_a9baaced.zip


SG Shyam G Syncfusion Team June 1, 2022 02:46 PM UTC

Hi Halit,


We will validate and provide you with more details on June 3, 2022.


Regards,

Shyam G



SJ Sivaranjith Jeyabalan Syncfusion Team June 3, 2022 09:09 AM UTC

Hi Halit,

 We used targetPointChange event to achieve your requirement and provided the modified sample.


Attachment: sample_3083435e.zip

Marked as answer
Loader.
Up arrow icon