@foblex/flow
Version:
An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.
24 lines (23 loc) • 1.12 kB
TypeScript
import { ElementRef, OnInit } from '@angular/core';
import { IHasConnectionText } from '../i-has-connection-text';
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
import { BrowserService } from '@foblex/platform';
import { IHasHostElement } from '../../../i-has-host-element';
import * as i0 from "@angular/core";
export declare class FConnectionTextPathDirective implements IHasHostElement, OnInit {
private elementReference;
private base;
private fBrowser;
get linkToConnection(): string;
get hostElement(): SVGTextPathElement;
symbolWidth: number;
fontSize: string;
constructor(elementReference: ElementRef<SVGTextPathElement>, base: IHasConnectionText & IHasConnectionFromTo, fBrowser: BrowserService);
ngOnInit(): void;
getBBox(): DOMRect;
redraw(): void;
private getFontStyles;
private getSymbolWidth;
static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionTextPathDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<FConnectionTextPathDirective, "textPath[f-connection-text-path]", never, {}, {}, never, never, false, never>;
}