Home > @i2analyze/notebook-sdk > app > ITrackedMutations > createEdge
app.ITrackedMutations.createEdge() method
Gets an object with methods for hinting the appearance of a new link record's edge.
Signature:
createEdge(record: IPendingRecord): IEdgeEditor;
Introduced: version 1.10
Parameters
| Parameter | Type | Description |
|---|---|---|
| record | IPendingRecord | The pending link record whose edge is to be hinted. |
Returns:
An object with methods for hinting the appearance of the edge.
Remarks
The record must be a pending record that was created earlier in the same mutation by a call to app.ITrackedMutations.addLinkRecord(). The hints are applied to the edge as the server creates it, so that the edge does not first appear with its default appearance and then change. If you do not call this method for a record, the server creates an edge with the default appearance.