fix: create store instance for every revue flow instance

This commit is contained in:
Braks
2021-07-11 09:32:51 +02:00
parent 041fe114ef
commit ec45cd74e9
6 changed files with 36 additions and 26 deletions
-1
View File
@@ -34,7 +34,6 @@ export function getHandlePosition(position: Position, node: Node, handle: any |
const width = handle?.width || node.__rf.width;
const height = handle?.height || node.__rf.height;
console.log(handle?.x, handle?.y);
switch (position) {
case Position.Top:
return {