setLabelKeysForLinkData method

void setLabelKeysForLinkData(
  1. Object linkdata,
  2. Array arr
)

Replaces an Array of node key values that identify node data acting as labels on the given link data.

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 {Array.<(string|number)>} arr an Array of node keys; an empty Array if the property was not present. @see #linkLabelKeysProperty @see #getLabelKeysForLinkData @see #addLabelKeyForLinkData @see #removeLabelKeyForLinkData

Implementation

void setLabelKeysForLinkData(
  _i2.Object linkdata,
  _i7.Array<_i2.dynamic> arr,
) {
  _i4.callMethod(
    this,
    'setLabelKeysForLinkData',
    [
      linkdata,
      arr,
    ],
  );
}