FlowLayer
Defined in: packages/core/src/scene/types.ts:282
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:289 |
binsY? | readonly | number | - | packages/core/src/scene/types.ts:290 |
className? | readonly | string | Applied as every arrow's class attribute; styling escape hatch (docs/architecture.md#theming-and-styling). | packages/core/src/scene/types.ts:300 |
colorMax? | readonly | string | Color at the highest bin count in the layer's data. | packages/core/src/scene/types.ts:294 |
colorMin? | readonly | string | Color at the lowest bin count in the layer's data. | packages/core/src/scene/types.ts:292 |
data | readonly | readonly T[] | - | packages/core/src/scene/types.ts:284 |
strokeWidthMax? | readonly | number | Arrow stroke width at the highest bin count. | packages/core/src/scene/types.ts:298 |
strokeWidthMin? | readonly | number | Arrow stroke width at the lowest bin count. | packages/core/src/scene/types.ts:296 |
type | readonly | "flow" | - | packages/core/src/scene/types.ts:283 |
x | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:285 |
x2 | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:287 |
y | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:286 |
y2 | readonly | Accessor<T, number> | - | packages/core/src/scene/types.ts:288 |