getLabelKeysForLinkData method

Array getLabelKeysForLinkData(
  1. Object linkdata
)

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

Implementation

_i7.Array<_i2.dynamic> getLabelKeysForLinkData(_i2.Object linkdata) =>
    _i4.callMethod(
      this,
      'getLabelKeysForLinkData',
      [linkdata],
    );