Skip to content

DistanceMatrixOptions

Defined in: packages/components/src/components/DistanceMatrix/types.ts:7

Rendering options for DistanceMatrix.

Property Type Default value Description
showNumbers? boolean true Write each distance in its cell, once cells are large enough.
colorScheme? DistanceColorScheme "warm" -
cellWidth? number 44 Cell width at the default zoom, in pixels.
cellHeight? number 22 Cell height at the default zoom, in pixels.
showToolbar? boolean true Show the pan/zoom toolbar (DistanceMatrix only).
showLabels? boolean true Show the row names.
reorderableRows? boolean true Let rows (and with them, columns) be reordered by dragging their names.
darkMode? boolean whether <html> has the dark class Render for a dark background.