anchor.d.ts 355 B

1234567891011
  1. import { ConnectionPoint } from './index';
  2. type Align = 'top' | 'right' | 'bottom' | 'left';
  3. export interface AnchorOptions extends ConnectionPoint.BaseOptions {
  4. align?: Align;
  5. alignOffset?: number;
  6. }
  7. /**
  8. * Places the connection point at the edge's endpoint.
  9. */
  10. export declare const anchor: ConnectionPoint.Definition<AnchorOptions>;
  11. export {};