{t('Flow width metric')}
}
>
{t('Choose how flow widths are calculated.')}
setMetric(value as FlowMetric)}
className='shrink-0'
>
{FLOW_METRIC_OPTIONS.map((option) => {
const Icon = option.icon
return (
{t(option.labelKey)}
)
})}
{t('Display limit')}
setTopNodeLimit(Number(value))}
className='shrink-0'
>
{FLOW_TOP_LIMIT_OPTIONS.map((limit) => (
{t('Top {{count}}', { count: limit })}
))}
{t('Overflow items')}
setOverflowMode(value as FlowOverflowMode)
}
className='shrink-0'
>
{FLOW_OVERFLOW_MODE_OPTIONS.map((option) => (
{t(option.labelKey)}
))}