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) 800 B
import { IPoint } from '@foblex/2d'; import { FConnectionBase } from '../../../f-connection'; import { Injector } from '@angular/core'; export declare class BaseConnectionDragHandler { fConnection: FConnectionBase; private readonly _fMediator; private readonly _fComponentsStore; private _fOutputWithRect; private _fInputWithRect; private get _fOutput(); private get _fInput(); private _sourceDifference; private _targetDifference; constructor(_injector: Injector, fConnection: FConnectionBase); private _initialize; setSourceDifference(difference: IPoint): void; setTargetDifference(difference: IPoint): void; protected redraw(): void; private _recalculateConnection; private _redrawConnection; private _connectorNotFoundPrefix; }