fix(nodes): correctly calculate xyzpos from parent

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 983c86c938
commit 0e82420142
4 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export interface NodeProps<T = any> {
dragging?: boolean
isValidTargetPos?: ValidConnectionFunc
isValidSourcePos?: ValidConnectionFunc
parentNode?: GraphNode<T>[]
parentNode?: any
isParent?: boolean
children?: Node<T>[]
}