mermaid
Version:
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
6 lines (5 loc) • 306 B
TypeScript
import type { D3Selection } from '../../../types.js';
export declare function insertPolygonShape<T extends SVGGraphicsElement>(parent: D3Selection<T>, w: number, h: number, points: {
x: number;
y: number;
}[]): import("d3-selection").Selection<SVGPolygonElement, unknown, Element | null, unknown>;