UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

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