Home > @i2analyze/notebook-sdk > app > IRecordEditor > setLinkDirection
app.IRecordEditor.setLinkDirection() method
Sets the direction of a link record.
Signature:
setLinkDirection(linkDirection: data.LinkDirection): this;
Introduced: version 1.1
Parameters
| Parameter | Type | Description | 
|---|---|---|
| linkDirection | data.LinkDirection | The link direction to set. | 
Returns:
this
This record, with the new link direction in place.
Remarks
Calling this method on a entity record will throw an error.