@antv/x6
Version:
JavaScript diagramming library that uses SVG and HTML for rendering
10 lines (9 loc) • 316 B
TypeScript
import { PaddingOptions } from './util';
import { Router } from './index';
export interface OneSideRouterOptions extends PaddingOptions {
side?: 'left' | 'top' | 'right' | 'bottom';
}
/**
* Routes the edge always to/from a certain side
*/
export declare const oneSide: Router.Definition<OneSideRouterOptions>;