I tried myDiagram.model.removeLinkData(removeLinkObj).
The removeLinkObj object is {from: ‘-2a’, to: ‘-5a’ } .
However it isn’t working like its suppose to.
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.