HeatFunction<TSupplyChainItem extends SupplyChainItem, TSupplyChainConnection extends SupplyChainConnection>

A function that maps a supply chain item to a numerical “heat” value used in the heatmap visualization. The heatmap feature is automatically used when a heat map function is provided.

Type
(
item:
| TSupplyChainItem
| TSupplyChainConnection
| FoldingConnection<TSupplyChainConnection>,
supplyChainModel: SupplyChainModel
) => number