Hide links

Is there any way to just hide linking between these two i don`t want to delete and re link, something like when i click on checkbox or button i just wanted to hide mapping between selected object

You could set the GraphObject.visible or GraphObject.opacity property for the link depending on your use case. Remember to use a transaction when making changes to the diagram.