add NodeConnection

This commit is contained in:
peterkogo
2025-01-07 12:20:54 +01:00
parent 4fc8e08128
commit e37712bbb9
3 changed files with 11 additions and 6 deletions
+5
View File
@@ -33,10 +33,15 @@ export type Connection = {
targetHandle: string | null;
};
// TODO: remove in next version
export type HandleConnection = Connection & {
edgeId: string;
};
export type NodeConnection = Connection & {
edgeId: string;
};
export enum ConnectionMode {
Strict = 'strict',
Loose = 'loose',