UNPKG

ngx-svg-graphics

Version:

Small svg library to link components or svg elements with arrows and allow to drag components.

25 lines (24 loc) 1.13 kB
import { AfterViewInit, ChangeDetectorRef, OnChanges } from '@angular/core'; import { BoundingBox } from "../../../models/bounding-box"; import * as i0 from "@angular/core"; export declare class ArrowBetweenBoxesComponent implements OnChanges, AfterViewInit { private cdr; start: BoundingBox; end: BoundingBox; arrowType?: string; text?: string; style?: string; x1: number; y1: number; x2: number; y2: number; id: string; positioned: boolean; constructor(cdr: ChangeDetectorRef); ngAfterViewInit(): void; ngOnChanges(): void; private computePositions; private applyBestPoints; static ɵfac: i0.ɵɵFactoryDeclaration<ArrowBetweenBoxesComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ArrowBetweenBoxesComponent, "[arrow-between-boxes]", never, { "start": { "alias": "start"; "required": false; }; "end": { "alias": "end"; "required": false; }; "arrowType": { "alias": "arrowType"; "required": false; }; "text": { "alias": "text"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, {}, never, never, true, never>; }