PitchKit
API Reference@pitchkit/reactFunctions

Flow()

function Flow<T>(__namedParameters): Element;

Defined in: packages/react/src/Flow.tsx:26

Bins pass/movement data by start location (computeFlowBins) and draws one arrow per occupied bin, from the bin center toward the mean end point, colored and sized by that bin's volume — mplsoccer's flow. Unlike every other layer here, the rendered marks are aggregates rather than one-per-datum, so tooltip takes a FlowBin, not a T.

Type Parameters

Type Parameter
T

Parameters

ParameterType
__namedParametersFlowProps<T>

Returns

Element

On this page