removeLinkData method
When you want to remove a link from the diagram, call this method with an existing link data object. This will remove that data object from the #linkDataArray and notify all listeners that a link data object has been removed from the collection.
If you do not have a reference to the particular data object that is in the #linkDataArray, you may need to search for it by iterating through that Array, or (more likely), by finding the desired Link in a Diagram and getting that link's Panel#data.
Removing a link data from a model does not automatically remove any associated label node data from the model.
This operation does nothing if the link data is not present in the #linkDataArray. @param {ObjectData} linkdata a JavaScript object represented by a link. @see #addLinkData
Implementation
void removeLinkData(_i2.Object linkdata) {
_i4.callMethod(
this,
'removeLinkData',
[linkdata],
);
}