Skip to Content
GitHub X LinkedIn

Introduction

  • Welcome
  • Getting Started
  • Licensing

Features

  • Custom Items
  • Custom Connections
  • Connection Labels
  • Tooltips
  • Context Menu
  • Search
  • Events
  • Built-In Components
  • Heatmap
  • Export Capabilities
  • Hook & SupplyChainProvider

Main Components

  • <SupplyChain/>
  • <SupplyChainProvider/>

Components

  • <Controls/>
  • <Overview/>
  • <RenderSupplyChainGroup/>
  • <RenderSupplyChainItem/>
  • <RenderSupplyChainTooltip/>

Hooks

  • useSupplyChainContext()

Types

  • Arrow
  • ConnectionLabelProvider
  • ConnectionStyle
  • ConnectionStyleProvider
  • ContextMenuItem
  • ContextMenuItemAction
  • ContextMenuItemProvider
  • ContextMenuProps
  • ControlButton
  • ControlsButtonProvider
  • ControlsProps
  • EdgeRoutingStyle
  • ExportSettings
  • FoldingConnection
  • GridPositioningFunction
  • HeatFunction
  • ItemFocusedListener
  • ItemHoveredListener
  • ItemSelectedListener
  • LayoutDirection
  • OverviewProps
  • Position
  • PrintSettings
  • RenderContextMenuProps
  • RenderControlsProps
  • RenderGroupProps
  • RenderItemProps
  • RenderTooltipProps
  • SearchFunction
  • SimpleConnectionLabel
  • SupplyChainBaseItem
  • SupplyChainConnection
  • SupplyChainData
  • SupplyChainItem
  • SupplyChainItemId
  • SupplyChainLayoutOptions
  • SupplyChainModel
  • SupplyChainProps
  • UserSupplyChainConnection
  • UserSupplyChainItem

Functions

  • SupplyChainContextMenuItems
  • SupplyChainControlButtons
  • initializeWebWorker
  • registerLicense

Introduction

  • Welcome
  • Getting Started
  • Licensing

Features

  • Custom Items
  • Custom Connections
  • Connection Labels
  • Tooltips
  • Context Menu
  • Search
  • Events
  • Built-In Components
  • Heatmap
  • Export Capabilities
  • Hook & SupplyChainProvider

Main Components

  • <SupplyChain/>
  • <SupplyChainProvider/>

Components

  • <Controls/>
  • <Overview/>
  • <RenderSupplyChainGroup/>
  • <RenderSupplyChainItem/>
  • <RenderSupplyChainTooltip/>

Hooks

  • useSupplyChainContext()

Types

  • Arrow
  • ConnectionLabelProvider
  • ConnectionStyle
  • ConnectionStyleProvider
  • ContextMenuItem
  • ContextMenuItemAction
  • ContextMenuItemProvider
  • ContextMenuProps
  • ControlButton
  • ControlsButtonProvider
  • ControlsProps
  • EdgeRoutingStyle
  • ExportSettings
  • FoldingConnection
  • GridPositioningFunction
  • HeatFunction
  • ItemFocusedListener
  • ItemHoveredListener
  • ItemSelectedListener
  • LayoutDirection
  • OverviewProps
  • Position
  • PrintSettings
  • RenderContextMenuProps
  • RenderControlsProps
  • RenderGroupProps
  • RenderItemProps
  • RenderTooltipProps
  • SearchFunction
  • SimpleConnectionLabel
  • SupplyChainBaseItem
  • SupplyChainConnection
  • SupplyChainData
  • SupplyChainItem
  • SupplyChainItemId
  • SupplyChainLayoutOptions
  • SupplyChainModel
  • SupplyChainProps
  • UserSupplyChainConnection
  • UserSupplyChainItem

Functions

  • SupplyChainContextMenuItems
  • SupplyChainControlButtons
  • initializeWebWorker
  • registerLicense

ConnectionLabelProvider<TSupplyChainConnection extends SupplyChainConnection>

A function that provides text to display as a label on a connection.

Type
(
item:
| TSupplyChainConnection
| FoldingConnection<TSupplyChainConnection>,
supplyChainModel: SupplyChainModel
) =>
| SimpleConnectionLabel
| undefined
# ConnectionLabelProvider<TSupplyChainConnection extends SupplyChainConnection>