Skip to content

Type Alias: D3PCellShape ​

ts
type D3PCellShape = 
  | {
  height: number;
  tag: "rect";
  width: number;
  x: number;
  y: number;
}
  | {
  d: string;
  tag: "path";
  transform?: string;
};

Defined in: core/coords.ts:62

A cell between two values of each dimension, as an SVG element: a rectangle or a path.