UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering.

8 lines (7 loc) 314 B
import { Point, Rectangle } from '../../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;