@antv/x6
Version:
JavaScript diagramming library that uses SVG and HTML for rendering.
8 lines (7 loc) • 310 B
TypeScript
import { Point } from '../../geometry';
import { EdgeView } from '../../view';
export interface ResolveOptions {
fixedAt?: number | string;
}
export declare function resolve<S extends Function, T>(fn: S): T;
export declare function getPointAtEdge(edgeView: EdgeView, value: string | number): Point | null;