FlowLayer
Defined in: packages/core/src/scene/types.ts:201
Aggregated movement/pass data, binned by start location into a grid and
rendered as one arrow per occupied bin, sized/colored by that bin's
volume (mplsoccer's flow).
Type Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
binsX? | readonly | number | - | packages/core/src/scene/types.ts:208 |
binsY? | readonly | number | - | packages/core/src/scene/types.ts:209 |
className? | readonly | string | Applied as every arrow's class attribute; styling escape hatch (PRD §8.7). | packages/core/src/scene/types.ts:219 |
colorMax? | readonly | string | Color at the highest bin count in the layer's data. | packages/core/src/scene/types.ts:213 |
colorMin? | readonly | string | Color at the lowest bin count in the layer's data. | packages/core/src/scene/types.ts:211 |
data | readonly | readonly T[] | - | packages/core/src/scene/types.ts:203 |
strokeWidthMax? | readonly | number | Arrow stroke width at the highest bin count. | packages/core/src/scene/types.ts:217 |
strokeWidthMin? | readonly | number | Arrow stroke width at the lowest bin count. | packages/core/src/scene/types.ts:215 |
type | readonly | "flow" | - | packages/core/src/scene/types.ts:202 |
x | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:204 |
x2 | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:206 |
y | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:205 |
y2 | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:207 |