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