removeLabelKeyForLinkData method

void removeLabelKeyForLinkData(
  1. Object linkdata,
  2. dynamic key
)

Removes a node key value that identifies a node data acting as a former label node on the given link data.

Removing a reference to a node data from the collection of link label keys does not automatically remove any node data from the model.

This method only works if #linkLabelKeysProperty has been set to something other than an empty string. @param {ObjectData} linkdata a JavaScript object represented by a link. @param {string|number} key a number or string that is the key of the label node being removed from the link. @see #addLabelKeyForLinkData @see #setLabelKeysForLinkData

Implementation

void removeLabelKeyForLinkData(
  _i2.Object linkdata,
  _i2.dynamic key,
) {
  _i4.callMethod(
    this,
    'removeLabelKeyForLinkData',
    [
      linkdata,
      key,
    ],
  );
}