@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.
32 lines (31 loc) • 1.13 kB
TypeScript
import { IFDragHandler } from '../../f-drag-handler';
import { FConnectionBase } from '../../../f-connection';
import { IPoint } from '@foblex/2d';
import { Injector } from '@angular/core';
export declare class FReassignConnectionDragHandler implements IFDragHandler {
private _fConnection;
fEventType: string;
fData: any;
private readonly _fResult;
private readonly _fMediator;
private readonly _fComponentsStore;
private readonly _toConnectorRect;
private get _fSnapConnection();
private _fOutputWithRect;
private _fInputWithRect;
private _canBeConnectedInputs;
private get _fOutput();
private get _fInput();
constructor(_injector: Injector, _fConnection: FConnectionBase);
prepareDragSequence(): void;
private _getAndMarkCanBeConnectedInputs;
private _initializeSnapConnection;
onPointerMove(difference: IPoint): void;
private _drawConnection;
private _getLineToPointer;
private _drawSnapConnection;
private _getLineToClosestInput;
private _findClosestInput;
private _getClosestInputForSnapConnection;
onPointerUp(): void;
}