setFromPortIdForLinkData method

void setFromPortIdForLinkData(
  1. Object linkdata,
  2. String portname
)

Change the information that the given link data uses to identify the particular "port" that the link is coming from. @param {ObjectData} linkdata a JavaScript object represented by a link. @param {string} portname This may be the empty string if the link should no longer be associated with any particular "port". @see #linkFromPortIdProperty @see #getFromPortIdForLinkData

Implementation

void setFromPortIdForLinkData(
  _i2.Object linkdata,
  _i2.String portname,
) {
  _i4.callMethod(
    this,
    'setFromPortIdForLinkData',
    [
      linkdata,
      portname,
    ],
  );
}