package.dist.utils.lineWithOffset.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
import type { EdgeData, Point } from '../types.js';
export declare const getLineFunctionsWithOffset: (edge: Pick) => {
x: (this: void, d: Point | [number, number], i: number, data: (Point | [number, number])[]) => number;
y: (this: void, d: Point | [number, number], i: number, data: (Point | [number, number])[]) => number;
};