class Geometry · Computations

DeclutterCirclesOptions

Options for Declutter.circles.

All fields are optional. Numbers can be given as plain numbers or as reactive values; the value they hold when the function runs is used.

Properties

paddingoptional

padding?: number | Real

The smallest gap between two shown circles (default 0), in screen units.

zoomoptional

zoom?: "x" | "y" | "both"

The direction the zoom stretches: "both" (default, the positions scale along x and y), "x" (only x scales, e.g. a timeline or a scatter zoomed along x) or "y". With "x", two circles apart along y never hide each other, however much the zoom moves them together along x.