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.

33 lines (32 loc) 1.52 kB
import { AfterContentInit, OnDestroy, OnInit } from '@angular/core'; import { FFlowBase } from './f-flow-base'; import { IFFlowState, ICurrentSelection } from '../domain'; import { IPoint, IRect } from '@foblex/2d'; import * as i0 from "@angular/core"; export declare class FFlowComponent extends FFlowBase implements OnInit, AfterContentInit, OnDestroy { private readonly _destroyRef; private readonly _fMediator; private readonly _browserService; private readonly _elementReference; fId: import("@angular/core").InputSignal<string>; get hostElement(): HTMLElement; fLoaded: import("@angular/core").OutputEmitterRef<string>; private _isLoaded; ngOnInit(): void; ngAfterContentInit(): void; private _listenCountChanges; private _listenDataChanges; private _emitLoaded; redraw(): void; reset(): void; getNodesBoundingBox(): IRect | null; getSelection(): ICurrentSelection; getPositionInFlow(position: IPoint): IRect; getState(): IFFlowState; selectAll(): void; select(nodes: string[], connections: string[]): void; clearSelection(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<FFlowComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FFlowComponent, "f-flow", never, { "fId": { "alias": "fFlowId"; "required": false; "isSignal": true; }; }, { "fLoaded": "fLoaded"; }, never, ["[fDefinitions]", "f-background", "f-line-alignment", "f-canvas", "f-selection-area", "f-minimap"], true, never>; }