cerebrate/webroot/js/node_modules/mermaid/dist/utils/lineWithOffset.d.ts

6 lines
357 B
TypeScript

import type { EdgeData, Point } from '../types.js';
export declare const getLineFunctionsWithOffset: (edge: Pick<EdgeData, 'arrowTypeStart' | 'arrowTypeEnd'>) => {
x: (d: Point | [number, number], i: number, data: (Point | [number, number])[]) => number;
y: (d: Point | [number, number], i: number, data: (Point | [number, number])[]) => number;
};