@antv/x6
Version:
JavaScript diagramming library that uses SVG and HTML for rendering
12 lines (11 loc) • 396 B
TypeScript
import type { ConnectionPointBaseOptions, ConnectionPointDefinition } from './index';
type Align = 'top' | 'right' | 'bottom' | 'left';
export interface AnchorOptions extends ConnectionPointBaseOptions {
align?: Align;
alignOffset?: number;
}
/**
* Places the connection point at the edge's endpoint.
*/
export declare const anchor: ConnectionPointDefinition<AnchorOptions>;
export {};