UNPKG

@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.

23 lines (22 loc) 1.11 kB
import { ElementRef } from "@angular/core"; import { ILine } from '@foblex/2d'; import { FConnectionTextPathDirective } from './f-connection-text-path.directive'; import { IHasConnectionText } from '../i-has-connection-text'; import { IHasConnectionFromTo } from '../i-has-connection-from-to'; import { IConnectionText } from './i-connection-text'; import * as i0 from "@angular/core"; export declare class FConnectionTextComponent implements IConnectionText { private elementReference; private base; get textId(): string; get hostElement(): SVGTextElement; get text(): string; textPathDirective: FConnectionTextPathDirective; constructor(elementReference: ElementRef<SVGTextElement>, base: IHasConnectionText & IHasConnectionFromTo); redraw(line: ILine): void; private calculateDy; private static isTextReverse; private static getTextStartOffset; static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionTextComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionTextComponent, "text[f-connection-text]", never, {}, {}, never, never, false, never>; }