Hello,
In my extension I use hookSelection() method for deleting unwanted lines between Custom Shapes. And it works good when I create a new line. But I faced a problem when I change endpoints of the existing line.
Lets say there is a line between shape A and shape B. Shape A can only be connected with shape B, and it can be only as upstream connection for the line, otherwise it should be deleted(removed from the page). When I move line endpoint from the shape B to some other shapes, the line is not removed. But when I unfocus the line and focus it again, it gets deleted.
Is there any ideas or tips on how to make an existing line be removed from a page specifically when its endpoints change?
Thanks in advance!