ngx-svg-graphics
Version:
Small svg library to link components or svg elements with arrows and allow to drag components.
8 lines (7 loc) • 388 B
TypeScript
import { BoundingBox } from "../models/bounding-box";
import { Point } from "@angular/cdk/drag-drop";
export declare class PathLayouter {
static bestPoints(p1: BoundingBox, p2: BoundingBox): Point[];
static determineOverlapX(x1: number, w1: number, x2: number, w2: number): number[];
static getPointsInOneDimension(x1: number, w1: number, x2: number, w2: number): number[];
}