UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

8 lines (7 loc) 317 B
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;