UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering.

5 lines (4 loc) 276 B
import { Point } from '../../geometry'; export declare function offset(p1: Point, p2: Point, offset?: number | Point.PointLike): Point; export declare function getStrokeWidth(magnet: SVGElement): number; export declare function findShapeNode(magnet: Element): Element | null;