UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

10 lines (9 loc) 335 B
import type { RouterDefinition } from './index'; import type { PaddingOptions } from './util'; export interface OneSideRouterOptions extends PaddingOptions { side?: 'left' | 'top' | 'right' | 'bottom'; } /** * Routes the edge always to/from a certain side */ export declare const oneSide: RouterDefinition<OneSideRouterOptions>;