util.d.ts 317 B

1234567
  1. import { Point, Rectangle } from '@antv/x6-geometry';
  2. import { PortLayout } from './index';
  3. export declare function normalizePoint(bbox: Rectangle, args?: {
  4. x?: string | number;
  5. y?: string | number;
  6. }): Point;
  7. export declare function toResult<T>(point: Point, angle?: number, rawArgs?: T): PortLayout.Result;