@hadyfayed/filament-workflow-canvas
Version:
Visual workflow builder and canvas component for Filament applications
12 lines • 627 B
TypeScript
import { Edge } from 'reactflow';
import { IConnectionManager } from '../interfaces/IWorkflowManager';
export declare class ConnectionManagerService implements IConnectionManager {
private validConnections;
validateConnection(sourceType: string, targetType: string): boolean;
createConnection(source: string, target: string): Edge;
getValidTargets(sourceType: string): string[];
getConnectionRules(): Record<string, string[]>;
addConnectionRule(sourceType: string, targetTypes: string[]): void;
removeConnectionRule(sourceType: string): void;
}
//# sourceMappingURL=ConnectionManagerService.d.ts.map