Home > @i2analyze/notebook-sdk > app > ITrackedMutations > addLinkType
app.ITrackedMutations.addLinkType() method
Creates a custom link type that is added to the chart on committal.
Signature:
addLinkType(typeTemplate: schema.IChartLinkTypeData): schema.IPendingItemType;
Introduced: version 1.6
Parameters
| Parameter | Type | Description |
|---|---|---|
| typeTemplate | schema.IChartLinkTypeData | The data for creating the custom link type. |
Returns:
The new, pending item type.