type MarkKind = 'bar' | 'point' | 'slice' | 'cell' | 'arc' | 'node' | 'edge'; /** * Per-mark metadata carried inertly in the SVG as `data-gc-*` attributes. `cx`/`cy` * are absolute pixel anchors so later interactivity phases can position/snap * without access to the chart's (inline) d3 scales. */ interface MarkMeta { kind: MarkKind; series?: string; index: number; label?: string; value: number | Record; cx: number; cy: number; } export type { MarkKind as M, MarkMeta as a };