How to delete Links Between nodes based on comparing FROM and TO node's data

Hi ,

In my requirement i want to delete links between nodes
based on the other end node data i want to delete respective link between that nodes but i dont want to delete all links between them only one which doesnt satisfy FROM node data in TO node then i need to delete that respective link. How can i do this in Gojs…??

can we delete links based on their keys ???

Thanks & Regards,
Ganesh.

You can find all of the links that directly connect two Nodes by calling either Node | GoJS API or Node | GoJS API, depending on whether or not you care about the direction.

If you have set GraphLinksModel | GoJS API, then you can call GraphLinksModel | GoJS API.

Thank you walter…