refactor(core): make handles optional in addEdges

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-18 17:04:57 +01:00
committed by Braks
parent 5334e73829
commit fad79112c8
+2 -2
View File
@@ -28,9 +28,9 @@ export interface Connection {
/** Target node id */
target: string
/** Source handle id */
sourceHandle: string | null
sourceHandle?: string | null
/** Target handle id */
targetHandle: string | null
targetHandle?: string | null
}
export type Connector = (