@antv/x6
Version:
JavaScript diagramming library that uses SVG and HTML for rendering.
13 lines (12 loc) • 403 B
TypeScript
import { ResolveOptions } from './util';
import { NodeAnchor } from './index';
export interface MiddleSideEndpointOptions extends ResolveOptions {
rotate?: boolean;
padding?: number;
direction?: 'H' | 'V';
}
/**
* Places the anchor of the edge in the middle of the side of view bbox
* closest to the other endpoint.
*/
export declare const midSide: NodeAnchor.Definition<ResolveOptions>;