How do i remove a specific link, not all links?

I tried myDiagram.model.removeLinkData(removeLinkObj).

The removeLinkObj object is {from: ‘-2a’, to: ‘-5a’ } .

However it isn’t working like its suppose to.

That should work, but the removeLinkObj must be an exact reference to the link in model data.

You can check whether the link data object is present in the model by calling GraphLinksModel.containsLinkData.

A post was split to a new topic: Trying to remove a link