@antv/x6
Version:
JavaScript diagramming library that uses SVG and HTML for rendering
8 lines (7 loc) • 317 B
TypeScript
import { Point, Rectangle } from '@antv/x6-geometry';
import { PortLayout } from './index';
export declare function normalizePoint(bbox: Rectangle, args?: {
x?: string | number;
y?: string | number;
}): Point;
export declare function toResult<T>(point: Point, angle?: number, rawArgs?: T): PortLayout.Result;